PyQt5 – Add Label to StatusBar
In this article we will see how to add label to a status bar. We can set text to status bar by using
Label and StatusBar ?
A label is a graphical control element which displays text on a form. It is usually a static control; having no interactivity. A label is generally used to identify a nearby text box or other widget. A status bar is a horizontal bar, usually at the bottom of the screen or window, showing information about a document being edited or a program running.
In order to do this we will do following steps :
1. Create a label
2. Add text to label
3. Create object of status bar
4. Add label to status bar