1 | /****************************************************************************
|
---|
2 | **
|
---|
3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
---|
4 | ** All rights reserved.
|
---|
5 | ** Contact: Nokia Corporation ([email protected])
|
---|
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 [email protected].
|
---|
24 | ** $QT_END_LICENSE$
|
---|
25 | **
|
---|
26 | ****************************************************************************/
|
---|
27 |
|
---|
28 | /*!
|
---|
29 | \page gallery-cde.html
|
---|
30 |
|
---|
31 | \title CDE Style Widget Gallery
|
---|
32 | \ingroup gallery
|
---|
33 |
|
---|
34 | This page shows some of the widgets available in Qt
|
---|
35 | when configured to use the "cde" style.
|
---|
36 |
|
---|
37 | \section2 Buttons
|
---|
38 |
|
---|
39 | \table 100%
|
---|
40 | \row
|
---|
41 | \o \image cde-checkbox.png
|
---|
42 | \caption The QCheckBox widget provides a checkbox with a text label.
|
---|
43 | \o \image cde-radiobutton.png
|
---|
44 | \caption The QRadioButton widget provides a radio button with a text or pixmap label.
|
---|
45 | \o \image cde-pushbutton.png
|
---|
46 | \image cde-toolbutton.png
|
---|
47 | \caption The QPushButton widget provides a command button.
|
---|
48 | \endtable
|
---|
49 |
|
---|
50 | \section2 Containers
|
---|
51 |
|
---|
52 | \table 100%
|
---|
53 | \row
|
---|
54 | \o \image cde-groupbox.png
|
---|
55 | The The QGroupBox widget provides a group box frame with a title.
|
---|
56 | \o \image cde-tabwidget.png
|
---|
57 | The QTabWidget class provides a stack of tabbed widgets.
|
---|
58 | \o \image cde-frame.png
|
---|
59 | The QFrame widget provides a simple decorated container for other widgets.
|
---|
60 | \o \image cde-toolbox.png
|
---|
61 | The QToolBox class provides a column of tabbed widget items.
|
---|
62 | \endtable
|
---|
63 |
|
---|
64 | \section2 Item Views
|
---|
65 |
|
---|
66 | \table 100%
|
---|
67 | \row
|
---|
68 | \o \image cde-listview.png
|
---|
69 | 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.
|
---|
70 | \o \image cde-treeview.png
|
---|
71 | The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.
|
---|
72 | \o \image cde-tableview.png
|
---|
73 | The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\o
|
---|
74 | \o
|
---|
75 | \endtable
|
---|
76 |
|
---|
77 | \section2 Display Widgets
|
---|
78 |
|
---|
79 | \table 100%
|
---|
80 | \row
|
---|
81 | \o \image cde-progressbar.png
|
---|
82 | The QProgressBar widget provides a horizontal progress bar.
|
---|
83 | \o \image cde-label.png
|
---|
84 | The QLabel widget provides a text or image display.
|
---|
85 | \o \image cde-lcdnumber.png
|
---|
86 | The QLCDNumber widget displays a number with LCD-like digits.
|
---|
87 | \endtable
|
---|
88 |
|
---|
89 | \section2 Input Widgets
|
---|
90 |
|
---|
91 | \table 100%
|
---|
92 | \row
|
---|
93 | \o \image cde-lineedit.png
|
---|
94 | The QLineEdit widget is a one-line text editor.
|
---|
95 | \o \image cde-dateedit.png
|
---|
96 | The QDateEdit class provides a widget for editing dates.
|
---|
97 | \o \image cde-timeedit.png
|
---|
98 | The QTimeEdit class provides a widget for editing times.
|
---|
99 | \o \image cde-datetimeedit.png
|
---|
100 | The QDateTimeEdit class provides a widget for editing dates and times.
|
---|
101 | \endtable
|
---|
102 |
|
---|
103 | \table 100%
|
---|
104 | \row
|
---|
105 | \o \image cde-slider.png
|
---|
106 | The QSlider widget provides a vertical or horizontal slider.
|
---|
107 | \o \image cde-combobox.png
|
---|
108 | The QComboBox widget is a combined button and pop-up list.
|
---|
109 | \o \image cde-spinbox.png
|
---|
110 | The QSpinBox class provides a spin box widget.
|
---|
111 | \endtable
|
---|
112 |
|
---|
113 | \table 100%
|
---|
114 | \row
|
---|
115 | \o \image cde-fontcombobox.png
|
---|
116 | The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.
|
---|
117 | \o \image cde-doublespinbox.png
|
---|
118 | The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
|
---|
119 | \o \image cde-horizontalscrollbar.png
|
---|
120 | The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.
|
---|
121 | \endtable
|
---|
122 |
|
---|
123 | \table 100%
|
---|
124 | \row
|
---|
125 | \o \image cde-dial.png
|
---|
126 | The QDial class provides a rounded range control (like a speedometer or potentiometer).
|
---|
127 | \o \image cde-textedit.png
|
---|
128 | The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
|
---|
129 | \o \image cde-calendarwidget.png
|
---|
130 | The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
|
---|
131 | \endtable
|
---|
132 |
|
---|
133 | */
|
---|