In this article, we will see how to create dashed border of status bar in PyQt5 application. Generally, when we create a status bar with a border, the border is continuous, but we can make a dashed border as well below is how normal and dashed borders are different.
In order to do we will use
Syntax : self.statusBar().setStyleSheet(“border :3px black; border-style : dashed”)
Argument : It take string as argument.
Action performed : It set dashed border.
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