Then, how to change this?
Thanks,
Jothy
Then, how to change this?
Thanks,
Jothy
I think one solution can be take the value in the multiple of 10 or 100, for example:
if you want to give value as 45.46 then set the range for QProgressBar to (0 to 10000) and then multiply value 45.46 with 100 and then give it to set value.
Qt Code:
pbar.setRange(0, 10000); pbar.setValue(4546);To copy to clipboard, switch view to plain text mode
Bookmarks