We can set message to a Status Bar by using
showMessage() method. In this article, we will see how to change the font and the size of StatusBar message. In order to do this we will use
Syntax : self.statusBar().setFont(QFont(font_name, font_size))
Argument : It take two argument :
1. Font name it can be ‘Arial’, ’Times’ etc.
2. Size to be set in integer.
Action performed : It changes the font and size of message
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course