aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickspinbox.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-04-13 20:30:26 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-04-13 19:11:26 +0000
commit5570ade79fec6d2e7b7381b6fe1869239832e05b (patch)
tree8ac10d6b47dd77709301f0c442de2f0dcfa17cd5 /src/quicktemplates2/qquickspinbox.cpp
parent68139b762e632192fe7a8a9a1380d5193f2bf366 (diff)
Doc: add 2-suffix to the image assets and snippets
Change-Id: Ib8050cb3baefe07d28c7e2dcec64af155d2d7c9b Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/quicktemplates2/qquickspinbox.cpp')
-rw-r--r--src/quicktemplates2/qquickspinbox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quicktemplates2/qquickspinbox.cpp b/src/quicktemplates2/qquickspinbox.cpp
index a18e2bde..b22ee198 100644
--- a/src/quicktemplates2/qquickspinbox.cpp
+++ b/src/quicktemplates2/qquickspinbox.cpp
@@ -58,7 +58,7 @@ static const int AUTO_REPEAT_INTERVAL = 100;
\ingroup input
\brief A spinbox control that allows the user to select from a set of preset values.
- \image qtquickcontrols-spinbox.png
+ \image qtquickcontrols2-spinbox.png
SpinBox allows the user to choose an integer value by clicking the up
or down indicator buttons, or by pressing up or down on the keyboard.
@@ -68,18 +68,18 @@ static const int AUTO_REPEAT_INTERVAL = 100;
By default, SpinBox provides discrete values in the range of \c [0-99]
with a \l stepSize of \c 1.
- \snippet qtquickcontrols-spinbox.qml 1
+ \snippet qtquickcontrols2-spinbox.qml 1
\section2 Custom Values
- \image qtquickcontrols-spinbox-textual.png
+ \image qtquickcontrols2-spinbox-textual.png
Even though SpinBox works on integer values, it can be customized to
accept arbitrary input values. The following snippet demonstrates how
\l validator, \l textFromValue and \l valueFromText can be used to
customize the default behavior.
- \snippet qtquickcontrols-spinbox-textual.qml 1
+ \snippet qtquickcontrols2-spinbox-textual.qml 1
\labs