-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Pyside GUI Application Development- Second Edition - Second Edition
By :
A status bar is a horizontal information area that is usually found at the bottom of windows in a GUI. Its primary job is to display information about the current status of the window. A status bar can also be divided into sections, each showing different information to the users.
In PySide, a status bar can be added to the QMainWindow class by calling the QMainWindow.setStatusBar(statusbar) function. It takes the input parameter object of type PySide.QtGui.QStatusBar. The property of the status bar is defined by this class, and an object of this class is returned to set a status bar. Setting this parameter to 0 will remove the status bar from the main window. A status bar can show information that can fall into any of the following three categories:
Change the font size
Change margin width
Change background colour