summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qdatetimeedit.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/qdatetimeedit.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/qdatetimeedit.cpp')
-rw-r--r--src/widgets/widgets/qdatetimeedit.cpp33
1 files changed, 6 insertions, 27 deletions
diff --git a/src/widgets/widgets/qdatetimeedit.cpp b/src/widgets/widgets/qdatetimeedit.cpp
index 0eaa110bee..2e0a8a3cd7 100644
--- a/src/widgets/widgets/qdatetimeedit.cpp
+++ b/src/widgets/widgets/qdatetimeedit.cpp
@@ -76,6 +76,8 @@ QT_BEGIN_NAMESPACE
\ingroup basicwidgets
\inmodule QtWidgets
+ \image windows-datetimeedit.png
+
QDateTimeEdit allows the user to edit dates by using the keyboard or
the arrow keys to increase and decrease date and time values. The
arrow keys can be used to move from section to section within the
@@ -103,15 +105,6 @@ QT_BEGIN_NAMESPACE
calendar pop-up by calling the setCalendarWidget() function. The existing
calendar widget can be retrieved with calendarWidget().
- \table 100%
- \row \li \inlineimage windowsvista-datetimeedit.png Screenshot of a Windows Vista style date time editing widget
- \li A date time editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}.
- \row \li \inlineimage macintosh-datetimeedit.png Screenshot of a Macintosh style date time editing widget
- \li A date time editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}.
- \row \li \inlineimage fusion-datetimeedit.png Screenshot of a Fusion style date time editing widget
- \li A date time editing widget shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}.
- \endtable
-
\sa QDateEdit, QTimeEdit, QDate, QTime
*/
@@ -1505,6 +1498,8 @@ void QDateTimeEdit::mousePressEvent(QMouseEvent *event)
\ingroup basicwidgets
\inmodule QtWidgets
+ \image windows-timeedit.png
+
Many of the properties and functions provided by QTimeEdit are implemented in
QDateTimeEdit. These are the relevant properties of this class:
@@ -1518,15 +1513,6 @@ void QDateTimeEdit::mousePressEvent(QMouseEvent *event)
to format the time displayed in the widget.
\endlist
- \table 100%
- \row \li \inlineimage windowsvista-timeedit.png Screenshot of a Windows Vista style time editing widget
- \li A time editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}.
- \row \li \inlineimage macintosh-timeedit.png Screenshot of a Macintosh style time editing widget
- \li A time editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}.
- \row \li \inlineimage fusion-timeedit.png Screenshot of a Fusion style time editing widget
- \li A time editing widget shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}.
- \endtable
-
\sa QDateEdit, QDateTimeEdit
*/
@@ -1582,6 +1568,8 @@ QTimeEdit::~QTimeEdit()
\ingroup basicwidgets
\inmodule QtWidgets
+ \image windows-dateedit.png
+
Many of the properties and functions provided by QDateEdit are implemented in
QDateTimeEdit. These are the relevant properties of this class:
@@ -1595,15 +1583,6 @@ QTimeEdit::~QTimeEdit()
to format the date displayed in the widget.
\endlist
- \table 100%
- \row \li \inlineimage windowsvista-dateedit.png Screenshot of a Windows Vista style date editing widget
- \li A date editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}.
- \row \li \inlineimage macintosh-dateedit.png Screenshot of a Macintosh style date editing widget
- \li A date editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}.
- \row \li \inlineimage fusion-dateedit.png Screenshot of a Fusion style date editing widget
- \li A date editing widget shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}.
- \endtable
-
\sa QTimeEdit, QDateTimeEdit
*/