Changeset 846 for trunk/doc/src/widgets-and-layouts/gallery-cde.qdoc
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/doc/src/widgets-and-layouts/gallery-cde.qdoc
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 7 7 ** This file is part of the documentation of the Qt Toolkit. 8 8 ** 9 ** $QT_BEGIN_LICENSE: LGPL$9 ** $QT_BEGIN_LICENSE:FDL$ 10 10 ** Commercial Usage 11 11 ** Licensees holding valid Qt Commercial licenses may use this file in 12 12 ** accordance with the Qt Commercial License Agreement provided with the 13 ** Software or, alternatively, in accordance with the terms contained in 14 ** awritten agreement between you and Nokia.13 ** Software or, alternatively, in accordance with the terms contained in a 14 ** written agreement between you and Nokia. 15 15 ** 16 ** GNU Lesser General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU Lesser 18 ** General Public License version 2.1 as published by the Free Software 19 ** Foundation and appearing in the file LICENSE.LGPL included in the 20 ** packaging of this file. Please review the following information to 21 ** ensure the GNU Lesser General Public License version 2.1 requirements 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 ** 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 ** 28 ** GNU General Public License Usage 29 ** Alternatively, this file may be used under the terms of the GNU 30 ** General Public License version 3.0 as published by the Free Software 31 ** Foundation and appearing in the file LICENSE.GPL included in the 32 ** packaging of this file. Please review the following information to 33 ** ensure the GNU General Public License version 3.0 requirements will be 34 ** met: http://www.gnu.org/copyleft/gpl.html. 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. 35 21 ** 36 22 ** If you have questions regarding the use of this file, please contact … … 49 35 when configured to use the "cde" style. 50 36 51 \raw HTML 52 <h2 align="center">Buttons</h2> 37 \section2 Buttons 53 38 54 <table align="center" cellspacing="20%" width="100%"> 55 <colgroup span="2"> 56 <col width="40%" /> 57 <col width="40%" /> 58 </colgroup> 59 <tr> 60 <td align="center"> 61 \endraw 62 \inlineimage cde-pushbutton.png 63 \raw HTML 64 </td> 65 <td align="center"> 66 \endraw 67 \inlineimage cde-toolbutton.png 68 \raw HTML 69 </td> 70 </tr><tr> 71 <td halign="justify" valign="top"> 72 \endraw 73 The QPushButton widget provides a command button. 74 \raw HTML 75 </td> 76 <td halign="justify" valign="top"> 77 \endraw 78 \raw HTML 79 </td> 80 </tr> 81 <tr> 82 <td align="center"> 83 \endraw 84 \inlineimage cde-checkbox.png 85 \raw HTML 86 </td> 87 <td align="center"> 88 \endraw 89 \inlineimage cde-radiobutton.png 90 \raw HTML 91 </td> 92 </tr><tr> 93 <td halign="justify" valign="top"> 94 \endraw 95 The QCheckBox widget provides a checkbox with a text label.\raw HTML 96 </td> 97 <td halign="justify" valign="top"> 98 \endraw 99 The QRadioButton widget provides a radio button with a text or pixmap label.\raw HTML 100 </td> 101 </tr> 102 </table> 103 \endraw 104 \raw HTML 105 <h2 align="center">Containers</h2> 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 106 49 107 <table align="center" cellspacing="20%" width="100%"> 108 <colgroup span="2"> 109 <col width="40%" /> 110 <col width="40%" /> 111 </colgroup> 112 <tr> 113 <td align="center"> 114 \endraw 115 \inlineimage cde-groupbox.png 116 \raw HTML 117 </td> 118 <td align="center"> 119 \endraw 120 \inlineimage cde-tabwidget.png 121 \raw HTML 122 </td> 123 </tr><tr> 124 <td halign="justify" valign="top"> 125 \endraw 126 The QGroupBox widget provides a group box frame with a title.\raw HTML 127 </td> 128 <td halign="justify" valign="top"> 129 \endraw 130 The QTabWidget class provides a stack of tabbed widgets.\raw HTML 131 </td> 132 </tr> 133 <tr> 134 <td align="center"> 135 \endraw 136 \inlineimage cde-frame.png 137 \raw HTML 138 </td> 139 <td align="center"> 140 \endraw 141 \inlineimage cde-toolbox.png 142 \raw HTML 143 </td> 144 </tr><tr> 145 <td halign="justify" valign="top"> 146 \endraw 147 The QFrame widget provides a simple decorated container for other widgets.\raw HTML 148 </td> 149 <td halign="justify" valign="top"> 150 \endraw 151 The QToolBox class provides a column of tabbed widget items.\raw HTML 152 </td> 153 </tr> 154 </table> 155 \endraw 156 \raw HTML 157 <h2 align="center">Item Views</h2> 50 \section2 Containers 158 51 159 <table align="center" cellspacing="20%" width="100%"> 160 <colgroup span="2"> 161 <col width="40%" /> 162 <col width="40%" /> 163 </colgroup> 164 <tr> 165 <td align="center"> 166 \endraw 167 \inlineimage cde-listview.png 168 \raw HTML 169 </td> 170 <td align="center"> 171 \endraw 172 \inlineimage cde-treeview.png 173 \raw HTML 174 </td> 175 </tr><tr> 176 <td halign="justify" valign="top"> 177 \endraw 178 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.\raw HTML 179 </td> 180 <td halign="justify" valign="top"> 181 \endraw 182 The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.\raw HTML 183 </td> 184 </tr> 185 <tr> 186 <td align="center"> 187 \endraw 188 \inlineimage cde-tableview.png 189 \raw HTML 190 </td> 191 </tr><tr> 192 <td halign="justify" valign="top"> 193 \endraw 194 The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\raw HTML 195 </td> 196 </tr> 197 </table> 198 \endraw 199 \raw HTML 200 <h2 align="center">Display Widgets</h2> 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 201 63 202 <table align="center" cellspacing="20%" width="100%"> 203 <colgroup span="2"> 204 <col width="40%" /> 205 <col width="40%" /> 206 </colgroup> 207 <tr> 208 <td align="center"> 209 \endraw 210 \inlineimage cde-progressbar.png 211 \raw HTML 212 </td> 213 <td align="center"> 214 \endraw 215 \inlineimage cde-lcdnumber.png 216 \raw HTML 217 </td> 218 </tr><tr> 219 <td halign="justify" valign="top"> 220 \endraw 221 The QProgressBar widget provides a horizontal progress bar.\raw HTML 222 </td> 223 <td halign="justify" valign="top"> 224 \endraw 225 The QLCDNumber widget displays a number with LCD-like digits.\raw HTML 226 </td> 227 </tr> 228 <tr> 229 <td align="center"> 230 \endraw 231 \inlineimage cde-label.png 232 \raw HTML 233 </td> 234 </tr><tr> 235 <td halign="justify" valign="top"> 236 \endraw 237 The QLabel widget provides a text or image display.\raw HTML 238 </td> 239 </tr> 240 </table> 241 \endraw 242 \raw HTML 243 <h2 align="center">Input Widgets</h2> 64 \section2 Item Views 244 65 245 <table align="center" cellspacing="20%" width="100%"> 246 <colgroup span="2"> 247 <col width="40%" /> 248 <col width="40%" /> 249 </colgroup> 250 <tr> 251 <td align="center"> 252 \endraw 253 \inlineimage cde-slider.png 254 \raw HTML 255 </td> 256 <td align="center"> 257 \endraw 258 \inlineimage cde-lineedit.png 259 \raw HTML 260 </td> 261 </tr><tr> 262 <td halign="justify" valign="top"> 263 \endraw 264 The QSlider widget provides a vertical or horizontal slider.\raw HTML 265 </td> 266 <td halign="justify" valign="top"> 267 \endraw 268 The QLineEdit widget is a one-line text editor.\raw HTML 269 </td> 270 </tr> 271 <tr> 272 <td align="center"> 273 \endraw 274 \inlineimage cde-combobox.png 275 \raw HTML 276 </td> 277 <td align="center"> 278 \endraw 279 \inlineimage cde-doublespinbox.png 280 \raw HTML 281 </td> 282 </tr><tr> 283 <td halign="justify" valign="top"> 284 \endraw 285 The QComboBox widget is a combined button and pop-up list.\raw HTML 286 </td> 287 <td halign="justify" valign="top"> 288 \endraw 289 The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.\raw HTML 290 </td> 291 </tr> 292 <tr> 293 <td align="center"> 294 \endraw 295 \inlineimage cde-spinbox.png 296 \raw HTML 297 </td> 298 <td align="center"> 299 \endraw 300 \inlineimage cde-timeedit.png 301 \raw HTML 302 </td> 303 </tr><tr> 304 <td halign="justify" valign="top"> 305 \endraw 306 The QSpinBox class provides a spin box widget.\raw HTML 307 </td> 308 <td halign="justify" valign="top"> 309 \endraw 310 The QTimeEdit class provides a widget for editing times.\raw HTML 311 </td> 312 </tr> 313 <tr> 314 <td align="center"> 315 \endraw 316 \inlineimage cde-dateedit.png 317 \raw HTML 318 </td> 319 <td align="center"> 320 \endraw 321 \inlineimage cde-datetimeedit.png 322 \raw HTML 323 </td> 324 </tr><tr> 325 <td halign="justify" valign="top"> 326 \endraw 327 The QDateEdit class provides a widget for editing dates.\raw HTML 328 </td> 329 <td halign="justify" valign="top"> 330 \endraw 331 The QDateTimeEdit class provides a widget for editing dates and times.\raw HTML 332 </td> 333 </tr> 334 <tr> 335 <td align="center"> 336 \endraw 337 \inlineimage cde-textedit.png 338 \raw HTML 339 </td> 340 <td align="center"> 341 \endraw 342 \inlineimage cde-horizontalscrollbar.png 343 \raw HTML 344 </td> 345 </tr><tr> 346 <td halign="justify" valign="top"> 347 \endraw 348 The QTextEdit class provides a widget that is used to edit and 349 display both plain and rich text.\raw HTML 350 </td> 351 <td halign="justify" valign="top"> 352 \endraw 353 The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.\raw HTML 354 </td> 355 </tr> 356 <tr> 357 <td align="center"> 358 \endraw 359 \inlineimage cde-dial.png 360 \raw HTML 361 </td> 362 <td align="center"> 363 \endraw 364 \inlineimage cde-calendarwidget.png 365 \raw HTML 366 </td> 367 </tr><tr> 368 <td halign="justify" valign="top"> 369 \endraw 370 The QDial class provides a rounded range control (like a 371 speedometer or potentiometer).\raw HTML 372 </td> 373 <td halign="justify" valign="top"> 374 \endraw 375 The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.\raw HTML 376 </td> 377 </tr> 378 <tr> 379 <td align="center"> 380 \endraw 381 \inlineimage cde-fontcombobox.png 382 \raw HTML 383 </td> 384 </tr><tr> 385 <td halign="justify" valign="top"> 386 \endraw 387 The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.\raw HTML 388 </td> 389 </tr> 390 </table> 391 \endraw 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 392 133 */
Note:
See TracChangeset
for help on using the changeset viewer.