In this article we will see how to create vertical progress bar. When we create a progress bar by default it is horizontal in order to make vertical layout we have to change the orientation of the progress bar.
In order to change the orientation of progress bar we will use
Syntax : bar.setOrientation(QtCore.Qt.Vertical)
Argument : It takes Qt.Orientation object
Action performed : It will change the orientation of progress 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.