aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/SpinBox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-01 15:07:51 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-01 20:19:12 +0000
commit07ab335947b4a5cadb2fd1e440ca7db38b82ba1b (patch)
tree69d2d8ad351caa978c86c6bc1c9aedbd8425c584 /src/imports/controls/SpinBox.qml
parent6f10ef6e167f4af68439f473842da3b5ea87e4a4 (diff)
Get rid of the remaining qdoc markers in the Default style
Change-Id: Id90911cbac46d2d68284abca08dc7165ace71113 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/SpinBox.qml')
-rw-r--r--src/imports/controls/SpinBox.qml10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/imports/controls/SpinBox.qml b/src/imports/controls/SpinBox.qml
index de1228d1..dee368e2 100644
--- a/src/imports/controls/SpinBox.qml
+++ b/src/imports/controls/SpinBox.qml
@@ -54,15 +54,12 @@ T.SpinBox {
leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0))
rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0))
- //! [validator]
validator: IntValidator {
locale: control.locale.name
bottom: Math.min(control.from, control.to)
top: Math.max(control.from, control.to)
}
- //! [validator]
- //! [contentItem]
contentItem: TextInput {
z: 2
text: control.textFromValue(control.value, control.locale)
@@ -90,9 +87,7 @@ T.SpinBox {
border.width: 2
}
}
- //! [contentItem]
- //! [up.indicator]
up.indicator: Rectangle {
x: control.mirrored ? 0 : parent.width - width
height: parent.height
@@ -115,9 +110,7 @@ T.SpinBox {
color: enabled ? "#353637" : "#bdbebf"
}
}
- //! [up.indicator]
- //! [down.indicator]
down.indicator: Rectangle {
x: control.mirrored ? parent.width - width : 0
height: parent.height
@@ -133,12 +126,9 @@ T.SpinBox {
color: enabled ? "#353637" : "#bdbebf"
}
}
- //! [down.indicator]
- //! [background]
background: Rectangle {
implicitWidth: 140
border.color: "#e0e0e0"
}
- //! [background]
}