PyQt5 – Add background image to Statusbar
In this article we will see how to set background image to a status bar. We can set background color by using
setStyleSheet() method, also we can set background image to a label by using
Syntax : self.statusBar().setStyleSheet(“background-image : url(image.png);”)
Argument : It takes string as argument.
Action performed: It sets the background image to a status bar.
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