summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qspinbox.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-05-31 10:32:39 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-06-01 10:08:36 +0000
commit22a52d1d640f4ee6c68e8ef5da4573770efdb90a (patch)
treef704ab91f747bab48fb674a95ac8824486588be0 /src/widgets/widgets/qspinbox.cpp
parent96d6e031635f6d838ae0109d2a91b852a65bbc60 (diff)
Doc: Remove references to screenshots illustrating different styles
... from widget class descriptions. Use one screenshot from Windows instead. The styles change and the screenshots become outdated very fast, so it is easier to update just one screenshot now and then. The styles can still be seen in the style gallery topics. The image files will be removed in a follow-up commit after all references to them have been removed. Change-Id: Id326c141f4884a2e4f67a4fe8681d8c65f8b24ba Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/widgets/widgets/qspinbox.cpp')
-rw-r--r--src/widgets/widgets/qspinbox.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/widgets/widgets/qspinbox.cpp b/src/widgets/widgets/qspinbox.cpp
index 0daa624ae8..508cb05cfc 100644
--- a/src/widgets/widgets/qspinbox.cpp
+++ b/src/widgets/widgets/qspinbox.cpp
@@ -112,6 +112,8 @@ public:
\ingroup basicwidgets
\inmodule QtWidgets
+ \image windows-spinbox.png
+
QSpinBox is designed to handle integers and discrete sets of
values (e.g., month names); use QDoubleSpinBox for floating point
values.
@@ -151,15 +153,6 @@ public:
choice in addition to the range of numeric values. See
setSpecialValueText() for how to do this with QSpinBox.
- \table 100%
- \row \li \inlineimage windowsvista-spinbox.png Screenshot of a Windows Vista spin box
- \li A spin box shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}.
- \row \li \inlineimage fusion-spinbox.png Screenshot of a Fusion spin box
- \li A spin box shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}.
- \row \li \inlineimage macintosh-spinbox.png Screenshot of a Macintosh spin box
- \li A spin box shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}.
- \endtable
-
\section1 Subclassing QSpinBox
If using prefix(), suffix(), and specialValueText() don't provide