PyQt5 – resetFormat() method for Progress Bar
We know we can set formats using
setFormat method, formatting allows us to set the formatting like percentage or the text to the Progress Bar.
resetFormat method is used to clear all the formatting of progress bar and set it back to default which are ‘%p%’ i.e percentage value + percentage symbol.
Syntax : bar.resetFormat()
Argument : It takes no argument.
Action performed : It will clear all the previous formatting of that progress bar and set it to default.
Below is the implementation of this method.