Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.2
-
57f5f462f (dev), 38f167d3c (6.7), 682518e18 (6.6), 085a0e3f6 (tqtc/lts-6.5)
-
DaVinci 92
Description
There was a nice example for customizing indeterminate state for Controls 1:
https://doc.qt.io/qt-5/qml-qtquick-controls-styles-progressbarstyle.html#details
On Controls 2 side, there is no mention of indeterminate state, but maybe that could be added:
https://doc.qt.io/qt-6/qtquickcontrols-customize.html#customizing-progressbar
The Controls 1 example almost works as is, maybe this could be added:
contentItem: Item { anchors.fill: parent anchors.margins: 1 visible: control.indeterminate clip: true Row { Repeater { Rectangle { color: index % 2 ? "steelblue" : "lightsteelblue" width: 20 ; height: control.height } model: control.width / 20 + 2 } XAnimator on x { from: 0 ; to: -40 loops: Animation.Infinite running: control.indeterminate } } } }
Attachments
For Gerrit Dashboard: QTBUG-116306 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
523971,3 | Doc: Add an example customization for an indeterminate ProgressBar | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
527845,2 | Doc: Add an example customization for an indeterminate ProgressBar | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
527883,2 | Doc: Add an example customization for an indeterminate ProgressBar | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
527915,2 | Doc: Add an example customization for an indeterminate ProgressBar | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |