aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/ProgressBar.qml
Commit message (Collapse)AuthorAgeFilesLines
* ProgressBar: use contentItem instead of indicatorJ-P Nurmi2016-03-211-9/+6
| | | | | Change-Id: I8bd21b32b6f3d333c119d77b629b46fe411c06eb Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material ProgressBar: implement indeterminate animatorJ-P Nurmi2016-01-281-29/+11
| | | | | | | | | | | | | | | | | | | The indicator is now a single QQuickItem, and runs in the render thread, so keeps animating even if the app is busy. Before: RESULT : tst_CreationTime::material():"ProgressBar": 0.30 msecs per iteration (total: 79, iterations: 256) After: RESULT : tst_CreationTime::material():"ProgressBar": 0.18 msecs per iteration (total: 93, iterations: 512) Change-Id: I3ec0982da9a02751725692c72da10a01d2afbfdc Task-number: QTBUG-50161 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material ProgressBar: remove paddingJ-P Nurmi2016-01-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Other styles don't have padding either. No padding makes it possible to put a ProgressBar at the bottom of a ToolBar or other AppWindow header, which is common in mobile apps these days. ApplicationWindow { visible: true header: ToolBar { ProgressBar { value: 0.5 width: parent.width anchors.bottom: parent.bottom background.visible: false } } } } Change-Id: Ia43c5bfd0b58dafd5ff0ad4c65fa95f156622aa4 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Material: sync ProgressBar height with AndroidJ-P Nurmi2016-01-071-2/+2
| | | | | Change-Id: I4e7864e39fcf6dc8f3f0f821e2c9129a472967ba Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add Material styleMitch Curtis2015-11-121-0/+102
Change-Id: I93662a53b42858a5b65154c5ede334182e738dde Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>