diff options
author | Frerich Raabe <raabe@kde.org> | 2014-09-16 03:14:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-09-16 03:41:12 +0200 |
commit | 9f882f9de741d76b8f45b0dc23d4fe65d6e09d78 (patch) | |
tree | 506caec59585b1e056b8509d203fa356e1368f10 /tutorial | |
parent | b716176cec88f5fa604b637a947b44b9ff165d5a (diff) | |
download | qt3-9f882f9de741d76b8f45b0dc23d4fe65d6e09d78.tar.gz qt3-9f882f9de741d76b8f45b0dc23d4fe65d6e09d78.zip |
Add repaint optimization to TQProgressBar
This optimization makes TQProgressBar::setProgress() only repaint itself
if stepping to the new progress would cause a graphical change. This means
that for a width W and a total number of steps S, it will repaint itself
'W' times (every 'S/W' steps) instead of 'S' times (every step) as it is
right now.
Diffstat (limited to 'tutorial')
0 files changed, 0 insertions, 0 deletions