summaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@kde.org>2014-09-16 03:14:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-09-16 03:41:12 +0200
commit9f882f9de741d76b8f45b0dc23d4fe65d6e09d78 (patch)
tree506caec59585b1e056b8509d203fa356e1368f10 /tutorial
parentb716176cec88f5fa604b637a947b44b9ff165d5a (diff)
downloadqt3-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