1/**************************************************************************** 2** 3** Copyright (C) 2016 The Qt Company Ltd. 4** Contact: https://www.qt.io/licensing/ 5** 6** This file is part of the documentation of the Qt Toolkit. 7** 8** $QT_BEGIN_LICENSE:FDL$ 9** Commercial License Usage 10** Licensees holding valid commercial Qt licenses may use this file in 11** accordance with the commercial license agreement provided with the 12** Software or, alternatively, in accordance with the terms contained in 13** a written agreement between you and The Qt Company. For licensing terms 14** and conditions see https://www.qt.io/terms-conditions. For further 15** information use the contact form at https://www.qt.io/contact-us. 16** 17** GNU Free Documentation License Usage 18** Alternatively, this file may be used under the terms of the GNU Free 19** Documentation License version 1.3 as published by the Free Software 20** Foundation and appearing in the file included in the packaging of 21** this file. Please review the following information to ensure 22** the GNU Free Documentation License version 1.3 requirements 23** will be met: https://www.gnu.org/licenses/fdl-1.3.html. 24** $QT_END_LICENSE$ 25** 26****************************************************************************/ 27 28/*! 29 \page gallery.html 30 \title Qt Widget Gallery 31 \brief Qt widgets shown in different styles on various platforms. 32 33 Qt's support for widget styles and themes enables your application to fit in 34 with the native desktop environment. 35 36 The widgets examples show how some of the widgets available in Qt might 37 appear when configured to use the a particular style. Each style is only 38 available on the respective platfom, and provides native look and feel by 39 integrating to the platform theme. Thus, the final appearance varies 40 depending on the active theme. 41 42 \table 43 \row 44 \li The Windows style ("windows") is provided by QWindowsStyle. 45 \li \image windows-style.png Windows Style 46 \row 47 \li \image windows-vista-style.png Windows Vista Style 48 \li The Windows Vista style ("windowsvista") is provided by 49 QWindowsVistaStyle. 50 \row 51 \li The \macos style ("macintosh") is provided by QMacStyle. 52 \li \image macos-style.png \macos Style 53 \row 54 \li \image fusion-style.png Fusion Style 55 \li The Fusion style ("fusion") is provided by QFusionStyle. 56 \endtable 57 58 The Styles example displays the following widgets: 59 60 \list 61 \li QCheckBox (1) provides a checkbox with a text label. 62 \li QRadioButton (2) provides a radio button with a text or pixmap 63 label. 64 \li QPushButton (3) provides a command button. 65 \li QTabWidget (4) provides a stack of tabbed widgets. 66 \li QTableWidget (5) provides a classic item-based table view. 67 \li QScrollBar (6) provides a vertical or horizontal scroll bar. 68 \li QProgressBar (7) provides a horizontal progress bar. 69 \li QDateTimeEdit (8) provides a widget for editing dates and times. 70 \li QSlider (9) provides a vertical or horizontal slider. 71 \li QDial (10) provides a rounded range control (like a speedometer 72 or potentiometer). 73 \endlist 74 75 The Calendar Widget example displays some additional widgets, here run on 76 Windows 10 and \macos: 77 78 \image windows-style2.png 79 \caption Calendar Widget example on Windows 10 80 81 \image macos-style2.png 82 \caption Calendar Widget example on \macos 83 84 \list 85 \li QGroupBox (1) provides a group box frame with a title. 86 \li QCalendarWidget (2) provides a monthly calendar widget 87 that can be used to select dates. 88 \li QLabel (3) provides a text or image display. 89 \li QDateEdit (4) provides a widget for editing dates. 90 \li QComboBox (5) provides a combined button and pop-up list. 91 \endlist 92*/ 93