diff options
author | Thomas Moenicke <thomas.moenicke@nokia.com> | 2010-07-19 13:18:24 +0300 |
---|---|---|
committer | Sergiy Dubovik <sergiy.dubovik@nokia.com> | 2010-07-27 14:04:49 +0300 |
commit | de592229dfc4a627e0d0ef328c56b108c1fc830c (patch) | |
tree | 9ba7715caeb5c743a7d74eecec04c9b44e4b84b7 /demos | |
parent | 9bfb1a416a9a63bc1eb0c72f6b17bca4a9e84c15 (diff) |
Changes: improving progress bar speed using composition mode, using a mask image defined in SVG
RevBy: Sergiy
Details: see also meegotouch-theme changes
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widgetsgallery/progressbarpage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/widgetsgallery/progressbarpage.cpp b/demos/widgetsgallery/progressbarpage.cpp index 347914df..de34b1e2 100644 --- a/demos/widgetsgallery/progressbarpage.cpp +++ b/demos/widgetsgallery/progressbarpage.cpp @@ -55,7 +55,7 @@ void ProgressBarPage::createContent() bar1 = new MProgressIndicator(centralWidget(), MProgressIndicator::barType); // Since range's type is int, we want a fairly large number here, to get a smooth animation - bar1->setRange(0, 99999); + bar1->setRange(0, 400); bar1->setValue(0); containerPolicy->addItem(bar1); @@ -72,7 +72,7 @@ void ProgressBarPage::createContent() animation->setLoopCount(-1); // start and end value should match bar1's range animation->setStartValue(0); - animation->setEndValue(99999); + animation->setEndValue(400); // 10 ms to fill the bar animation->setDuration(10000); animation->start(); |