summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/src/widgets-and-layouts/gallery.qdoc
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-06-19 13:25:11 +0200
committerLiang Qi <liang.qi@qt.io>2017-06-19 16:12:34 +0200
commitce09ef431373f45d14ce0a6e7de24aee3666093d (patch)
tree7c998b21f02db55e233e7eeb1599663f1c6b51ca /src/widgets/doc/src/widgets-and-layouts/gallery.qdoc
parent7ad55ca65f42351e231f31f7a9253ae6eaf1ebb3 (diff)
parent97eec16e4ff6367c233f8ea6c4a343c286c3a514 (diff)
Merge remote-tracking branch 'origin/5.9' into dev
Conflicts: src/corelib/io/qprocess_unix.cpp src/corelib/io/qprocess_win.cpp src/plugins/platforms/android/qandroidplatformintegration.h src/plugins/platforms/windows/qwindowscontext.cpp src/plugins/platforms/windows/windows.pri src/tools/uic/cpp/cppwriteinitialization.cpp src/widgets/doc/src/widgets-and-layouts/gallery.qdoc Change-Id: I8d0834c77f350ea7540140c2c7f372814afc2d0f
Diffstat (limited to 'src/widgets/doc/src/widgets-and-layouts/gallery.qdoc')
-rw-r--r--src/widgets/doc/src/widgets-and-layouts/gallery.qdoc72
1 files changed, 53 insertions, 19 deletions
diff --git a/src/widgets/doc/src/widgets-and-layouts/gallery.qdoc b/src/widgets/doc/src/widgets-and-layouts/gallery.qdoc
index f8b6584f19..a82462a432 100644
--- a/src/widgets/doc/src/widgets-and-layouts/gallery.qdoc
+++ b/src/widgets/doc/src/widgets-and-layouts/gallery.qdoc
@@ -26,33 +26,67 @@
****************************************************************************/
/*!
- \group gallery
+ \page gallery.html
\title Qt Widget Gallery
\brief Qt widgets shown in different styles on various platforms.
Qt's support for widget styles and themes enables your application to fit in
- with the native desktop environment. Below, you can find links to the various
- widget styles that are supplied with Qt.
+ with the native desktop environment.
- \table
- \row
- \li \image windows-tabwidget.png Windows Style Widget Gallery
- \caption \l{Windows Style Widget Gallery}
+ The widgets examples show how some of the widgets available in Qt might
+ appear when configured to use the a particular style. Each style is only
+ available on the respective platfom, and provides native look and feel by
+ integrating to the platform theme. Thus, the final appearance varies
+ depending on the active theme.
- The Windows style is provided by QWindowsStyle.
- \li \image windowsvista-tabwidget.png Windows Vista Style Widget Gallery
- \caption \l{Windows Vista Style Widget Gallery}
+ \table
+ \row
+ \li The Windows style ("windows") is provided by QWindowsStyle.
+ \li \image windows-style.png Windows Style
+ \row
+ \li \image windows-vista-style.png Windows Vista Style
+ \li The Windows Vista style ("windowsvista") is provided by
+ QWindowsVistaStyle.
+ \row
+ \li The \macos style ("macintosh") is provided by QMacStyle.
+ \li \image macos-style.png \macos Style
+ \row
+ \li \image fusion-style.png Fusion Style
+ \li The Fusion style ("fusion") is provided by QFusionStyle.
+ \endtable
- The Windows Vista style is provided by QWindowsVistaStyle.
+ The Styles example displays the following widgets:
- \row
- \li \image macintosh-tabwidget.png Macintosh Style Widget Gallery
- \caption \l{Macintosh Style Widget Gallery}
+ \list
+ \li QCheckBox (1) provides a checkbox with a text label.
+ \li QRadioButton (2) provides a radio button with a text or pixmap
+ label.
+ \li QPushButton (3) provides a command button.
+ \li QTabWidget (4) provides a stack of tabbed widgets.
+ \li QTableWidget (5) provides a classic item-based table view.
+ \li QScrollBar (6) provides a vertical or horizontal scroll bar.
+ \li QProgressBar (7) provides a horizontal progress bar.
+ \li QDateTimeEdit (8) provides a widget for editing dates and times.
+ \li QSlider (9) provides a vertical or horizontal slider.
+ \li QDial (10) provides a rounded range control (like a speedometer
+ or potentiometer).
+ \endlist
- The Macintosh style is provided by QMacStyle.
- \li \image fusion-tabwidget.png Fusion Style Widget Gallery
- \caption \l{Fusion Style Widget Gallery}
+ The Calendar Widget example displays some additional widgets, here run on
+ Windows 10 and \macos:
- The Fusion style is provided by QFusionStyle.
- \endtable
+ \image windows-style2.png
+ \caption Calendar Widget example on Windows 10
+
+ \image macos-style2.png
+ \caption Calendar Widget example on \macos
+
+ \list
+ \li QGroupBox (1) provides a group box frame with a title.
+ \li QCalendarWidget (2) provides a monthly calendar widget
+ that can be used to select dates.
+ \li QLabel (3) provides a text or image display.
+ \li QDateEdit (4) provides a widget for editing dates.
+ \li QComboBox (5) provides a combined button and pop-up list.
+ \endlist
*/