aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/Tumbler.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/Tumbler.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/Tumbler.qml')
-rw-r--r--src/imports/controls/material/Tumbler.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/imports/controls/material/Tumbler.qml b/src/imports/controls/material/Tumbler.qml
index 67baa82a..7e914319 100644
--- a/src/imports/controls/material/Tumbler.qml
+++ b/src/imports/controls/material/Tumbler.qml
@@ -44,7 +44,6 @@ T.Tumbler {
implicitWidth: 60
implicitHeight: 200
- //! [delegate]
delegate: Text {
id: label
text: modelData
@@ -54,9 +53,7 @@ T.Tumbler {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
- //! [delegate]
- //! [contentItem]
contentItem: PathView {
id: pathView
model: control.model
@@ -78,5 +75,4 @@ T.Tumbler {
property real delegateHeight: control.availableHeight / control.visibleItemCount
}
- //! [contentItem]
}