The QStatusBar class provides a horizontal bar suitable for presenting status information.
The QStatusBar class provides a horizontal bar suitable for presenting status information. Each status indicator falls into one of three categories:
- Temporary - briefly occupies most of the status bar. Used to explain tool tip texts or menu entries, for example.
- Normal - occupies part of the status bar and may be hidden by temporary messages. Used to display the page and line number in a word processor, for example.
Permanent - is never hidden. Used for important mode indications, for example, some applications put a Caps Lock indicator in the status bar.
QStatusBar can display all three types of indicators.
Typically, a request for the status bar functionality occurs in relation to a QMainWindow
object. The related functions are
showMessage()
clearMessage()
currentMessage()