aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2
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/quicktemplates2
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/quicktemplates2')
-rw-r--r--src/quicktemplates2/qquickspinbox.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickspinbox.cpp b/src/quicktemplates2/qquickspinbox.cpp
index 2939a0ea..466f1b89 100644
--- a/src/quicktemplates2/qquickspinbox.cpp
+++ b/src/quicktemplates2/qquickspinbox.cpp
@@ -420,7 +420,16 @@ void QQuickSpinBox::setEditable(bool editable)
This property holds the input text validator for editable spinboxes. By
default, SpinBox uses \l IntValidator to accept input of integer numbers.
- \snippet SpinBox.qml validator
+ \code
+ SpinBox {
+ id: control
+ validator: IntValidator {
+ locale: control.locale.name
+ bottom: Math.min(control.from, control.to)
+ top: Math.max(control.from, control.to)
+ }
+ }
+ \endcode
\sa editable, textFromValue, valueFromText, {Control::locale}{locale}
*/