aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2016-08-01 16:45:56 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2016-08-02 12:16:20 +0000
commite336afdb67d572087dda352b485ac309756639af (patch)
treee3ee56b81baa3b27ddbc6c60d8802362c8366405 /examples
parentf206e33f6ed88a6389543d5c603db8dba3ce8d43 (diff)
Example: Made the SpinBox editable
The text on the SpinBoxPage mentions that the control value can be changed using the keyboard, which is possible only if the control is 'editable'. Task-number: QTBUG-55033 Change-Id: I5a01321d4677a298608f7fb88960301eb8bf1518 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/gallery/pages/SpinBoxPage.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quickcontrols2/gallery/pages/SpinBoxPage.qml b/examples/quickcontrols2/gallery/pages/SpinBoxPage.qml
index 16bed853..febc869a 100644
--- a/examples/quickcontrols2/gallery/pages/SpinBoxPage.qml
+++ b/examples/quickcontrols2/gallery/pages/SpinBoxPage.qml
@@ -63,6 +63,7 @@ Pane {
value: 50
width: itemWidth
anchors.horizontalCenter: parent.horizontalCenter
+ editable: true
}
}
}