When we create progress bar in PyQt5 by default the progress i.e the loading goes from left to right, but PyQt5 allows us to change its direction as well with the help of
setInvertedAppearance method. It takes bool as argument and make the progress bar inverted.
Below is how normal progress bar and inverted progress bar looks like
Syntax : bar.setInvertedAppearance(True)
Argument : It takes bool as argument.
Action performed : It set set the progress bar to inverted appearance.
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.