aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/ProgressBar.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-06-08 12:01:13 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-06-08 10:23:34 +0000
commiteabf8dc7850601c6c3a750db9856378653d937f4 (patch)
tree2773507dfa4592dbbede6b40cce25fd96202aa52 /src/imports/controls/material/ProgressBar.qml
parent00dfd9e5cc99371152be44e48ce88f3a69757022 (diff)
Material: remove qdoc markers
The original plan was to include the default implementation (of all styles, if we could make the snippets collapsiple) in the customization docs. Since the default implementations tend to include internal types, in the end we went the other way and wrote dedicated example snippets for the customization docs. Therefore these markers no longer server a purpose, but just add unnecessary extra bytes for the QML parser to read. Change-Id: Ic511d7ce7a032429626ee75517d69d21b21412a3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/ProgressBar.qml')
-rw-r--r--src/imports/controls/material/ProgressBar.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/imports/controls/material/ProgressBar.qml b/src/imports/controls/material/ProgressBar.qml
index d5e28700..eb8bf3ce 100644
--- a/src/imports/controls/material/ProgressBar.qml
+++ b/src/imports/controls/material/ProgressBar.qml
@@ -47,7 +47,6 @@ T.ProgressBar {
implicitHeight: Math.max(background ? background.implicitHeight : 0,
contentItem.implicitHeight + topPadding + bottomPadding)
- //! [contentItem]
contentItem: ProgressStrip {
id: strip
implicitHeight: 4
@@ -62,9 +61,7 @@ T.ProgressBar {
running: control.visible && control.indeterminate
}
}
- //! [contentItem]
- //! [background]
background: Rectangle {
implicitWidth: 200
implicitHeight: 4
@@ -75,5 +72,4 @@ T.ProgressBar {
color: Qt.rgba(control.Material.accentColor.r, control.Material.accentColor.g, control.Material.accentColor.b, 0.25)
}
- //! [background]
}