| 1 | /**************************************************************************** | 
|---|
| 2 | ** | 
|---|
| 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). | 
|---|
| 4 | ** All rights reserved. | 
|---|
| 5 | ** Contact: Nokia Corporation (qt-info@nokia.com) | 
|---|
| 6 | ** | 
|---|
| 7 | ** This file is part of the documentation of the Qt Toolkit. | 
|---|
| 8 | ** | 
|---|
| 9 | ** $QT_BEGIN_LICENSE:FDL$ | 
|---|
| 10 | ** Commercial Usage | 
|---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in | 
|---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the | 
|---|
| 13 | ** Software or, alternatively, in accordance with the terms contained in a | 
|---|
| 14 | ** written agreement between you and Nokia. | 
|---|
| 15 | ** | 
|---|
| 16 | ** GNU Free Documentation License | 
|---|
| 17 | ** Alternatively, this file may be used under the terms of the GNU Free | 
|---|
| 18 | ** Documentation License version 1.3 as published by the Free Software | 
|---|
| 19 | ** Foundation and appearing in the file included in the packaging of this | 
|---|
| 20 | ** file. | 
|---|
| 21 | ** | 
|---|
| 22 | ** If you have questions regarding the use of this file, please contact | 
|---|
| 23 | ** Nokia at qt-info@nokia.com. | 
|---|
| 24 | ** $QT_END_LICENSE$ | 
|---|
| 25 | ** | 
|---|
| 26 | ****************************************************************************/ | 
|---|
| 27 |  | 
|---|
| 28 | /*! | 
|---|
| 29 | \page gallery-windows.html | 
|---|
| 30 |  | 
|---|
| 31 | \title Windows Style Widget Gallery | 
|---|
| 32 | \ingroup gallery | 
|---|
| 33 |  | 
|---|
| 34 | This page shows some of the widgets available in Qt | 
|---|
| 35 | when configured to use the "windows" style. | 
|---|
| 36 |  | 
|---|
| 37 | \section2 Buttons | 
|---|
| 38 |  | 
|---|
| 39 | \table 100% | 
|---|
| 40 | \row | 
|---|
| 41 | \o \image windows-pushbutton.png | 
|---|
| 42 | \caption The QPushButton widget provides a command button. | 
|---|
| 43 | \o \image windows-toolbutton.png | 
|---|
| 44 | \caption The QToolButton class provides a quick-access button to commands | 
|---|
| 45 | or options, usually used inside a QToolBar. | 
|---|
| 46 | \endtable | 
|---|
| 47 |  | 
|---|
| 48 | \table 100% | 
|---|
| 49 | \row | 
|---|
| 50 | \o \image windows-checkbox.png | 
|---|
| 51 | \caption The QCheckBox widget provides a checkbox with a text label. | 
|---|
| 52 | \o \image windows-radiobutton.png | 
|---|
| 53 | \caption The QRadioButton widget provides a radio button with a text or pixmap label. | 
|---|
| 54 | \endtable | 
|---|
| 55 |  | 
|---|
| 56 | \section2 Containers | 
|---|
| 57 |  | 
|---|
| 58 | \table 100% | 
|---|
| 59 | \row | 
|---|
| 60 | \o \image windows-groupbox.png | 
|---|
| 61 | The The QGroupBox widget provides a group box frame with a title. | 
|---|
| 62 | \o \image windows-tabwidget.png | 
|---|
| 63 | The QTabWidget class provides a stack of tabbed widgets. | 
|---|
| 64 | \o \image windows-frame.png | 
|---|
| 65 | The QFrame widget provides a simple decorated container for other widgets. | 
|---|
| 66 | \o \image windows-toolbox.png | 
|---|
| 67 | The QToolBox class provides a column of tabbed widget items. | 
|---|
| 68 | \endtable | 
|---|
| 69 |  | 
|---|
| 70 | \section2 Item Views | 
|---|
| 71 |  | 
|---|
| 72 | \table 100% | 
|---|
| 73 | \row | 
|---|
| 74 | \o \image windows-listview.png | 
|---|
| 75 | The QListView class provides a default model/view implementation of a list/icon view. The QListWidget class provides a classic item-based list/icon view. | 
|---|
| 76 | \o \image windows-treeview.png | 
|---|
| 77 | The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view. | 
|---|
| 78 | \o \image windows-tableview.png | 
|---|
| 79 | The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\o | 
|---|
| 80 | \o | 
|---|
| 81 | \endtable | 
|---|
| 82 |  | 
|---|
| 83 | \section2 Display Widgets | 
|---|
| 84 |  | 
|---|
| 85 | \table 100% | 
|---|
| 86 | \row | 
|---|
| 87 | \o \image windows-progressbar.png | 
|---|
| 88 | The QProgressBar widget provides a horizontal progress bar. | 
|---|
| 89 | \o \image windows-label.png | 
|---|
| 90 | The QLabel widget provides a text or image display. | 
|---|
| 91 | \o \image windows-lcdnumber.png | 
|---|
| 92 | The QLCDNumber widget displays a number with LCD-like digits. | 
|---|
| 93 | \endtable | 
|---|
| 94 |  | 
|---|
| 95 | \section2 Input Widgets | 
|---|
| 96 |  | 
|---|
| 97 | \table 100% | 
|---|
| 98 | \row | 
|---|
| 99 | \o \image windows-lineedit.png | 
|---|
| 100 | The QLineEdit widget is a one-line text editor. | 
|---|
| 101 | \o \image windows-dateedit.png | 
|---|
| 102 | The QDateEdit class provides a widget for editing dates. | 
|---|
| 103 | \o \image windows-timeedit.png | 
|---|
| 104 | The QTimeEdit class provides a widget for editing times. | 
|---|
| 105 | \o \image windows-datetimeedit.png | 
|---|
| 106 | The QDateTimeEdit class provides a widget for editing dates and times. | 
|---|
| 107 | \endtable | 
|---|
| 108 |  | 
|---|
| 109 | \table 100% | 
|---|
| 110 | \row | 
|---|
| 111 | \o \image windows-slider.png | 
|---|
| 112 | The QSlider widget provides a vertical or horizontal slider. | 
|---|
| 113 | \o \image windows-combobox.png | 
|---|
| 114 | The QComboBox widget is a combined button and pop-up list. | 
|---|
| 115 | \o \image windows-spinbox.png | 
|---|
| 116 | The QSpinBox class provides a spin box widget. | 
|---|
| 117 | \endtable | 
|---|
| 118 |  | 
|---|
| 119 | \table 100% | 
|---|
| 120 | \row | 
|---|
| 121 | \o \image windows-fontcombobox.png | 
|---|
| 122 | The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts. | 
|---|
| 123 | \o \image windows-doublespinbox.png | 
|---|
| 124 | The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered. | 
|---|
| 125 | \o \image windows-horizontalscrollbar.png | 
|---|
| 126 | The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation. | 
|---|
| 127 | \endtable | 
|---|
| 128 |  | 
|---|
| 129 | \table 100% | 
|---|
| 130 | \row | 
|---|
| 131 | \o \image windows-dial.png | 
|---|
| 132 | The QDial class provides a rounded range control (like a speedometer or potentiometer). | 
|---|
| 133 | \o \image windows-textedit.png | 
|---|
| 134 | The QTextEdit class provides a widget that is used to edit and display both plain and rich text. | 
|---|
| 135 | \o \image windows-calendarwidget.png | 
|---|
| 136 | The QCalendarWidget class provides a monthly calendar widget that can be used to select dates. | 
|---|
| 137 | \endtable | 
|---|
| 138 | */ | 
|---|