- 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-windowsvista.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 "windowsvista" 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 windowsvista-pushbutton.png 63 \raw HTML 64 </td> 65 <td align="center"> 66 \endraw 67 \inlineimage windowsvista-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.\raw HTML 74 </td> 75 <td halign="justify" valign="top"> 76 \endraw 77 The QToolButton class provides a quick-access button to commands 78 or options, usually used inside a QToolBar.\raw HTML 79 </td> 80 </tr> 81 <tr> 82 <td align="center"> 83 \endraw 84 \inlineimage windowsvista-checkbox.png 85 \raw HTML 86 </td> 87 <td align="center"> 88 \endraw 89 \inlineimage windowsvista-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 windowsvista-pushbutton.png 42 \caption The QPushButton widget provides a command button. 43 \o \image windowsvista-toolbutton.png 44 \caption The QToolButton class provides a quick-access button to commands 45 or options, usually used inside a QToolBar. 46 \endtable 106 47 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 windowsvista-groupbox.png 116 \raw HTML 117 </td> 118 <td align="center"> 119 \endraw 120 \inlineimage windowsvista-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 windowsvista-frame.png 137 \raw HTML 138 </td> 139 <td align="center"> 140 \endraw 141 \inlineimage windowsvista-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> 48 \table 100% 49 \row 50 \o \image windowsvista-checkbox.png 51 \caption The QCheckBox widget provides a checkbox with a text label. 52 \o \image windowsvista-radiobutton.png 53 \caption The QRadioButton widget provides a radio button with a text or pixmap label. 54 \endtable 158 55 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 windowsvista-listview.png 168 \raw HTML 169 </td> 170 <td align="center"> 171 \endraw 172 \inlineimage windowsvista-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 windowsvista-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> 56 \section2 Containers 201 57 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 windowsvista-progressbar.png 211 \raw HTML 212 </td> 213 <td align="center"> 214 \endraw 215 \inlineimage windowsvista-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 windowsvista-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> 58 \table 100% 59 \row 60 \o \image windowsvista-groupbox.png 61 The The QGroupBox widget provides a group box frame with a title. 62 \o \image windowsvista-tabwidget.png 63 The QTabWidget class provides a stack of tabbed widgets. 64 \o \image windowsvista-frame.png 65 The QFrame widget provides a simple decorated container for other widgets. 66 \o \image windowsvista-toolbox.png 67 The QToolBox class provides a column of tabbed widget items. 68 \endtable 244 69 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 windowsvista-slider.png 254 \raw HTML 255 </td> 256 <td align="center"> 257 \endraw 258 \inlineimage windowsvista-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 windowsvista-combobox.png 275 \raw HTML 276 </td> 277 <td align="center"> 278 \endraw 279 \inlineimage windowsvista-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 windowsvista-spinbox.png 296 \raw HTML 297 </td> 298 <td align="center"> 299 \endraw 300 \inlineimage windowsvista-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 windowsvista-dateedit.png 317 \raw HTML 318 </td> 319 <td align="center"> 320 \endraw 321 \inlineimage windowsvista-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 windowsvista-textedit.png 338 \raw HTML 339 </td> 340 <td align="center"> 341 \endraw 342 \inlineimage windowsvista-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 windowsvista-dial.png 360 \raw HTML 361 </td> 362 <td align="center"> 363 \endraw 364 \inlineimage windowsvista-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 windowsvista-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 70 \section2 Item Views 71 72 \table 100% 73 \row 74 \o \image windowsvista-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 windowsvista-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 windowsvista-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 windowsvista-progressbar.png 88 The QProgressBar widget provides a horizontal progress bar. 89 \o \image windowsvista-label.png 90 The QLabel widget provides a text or image display. 91 \o \image windowsvista-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 windowsvista-lineedit.png 100 The QLineEdit widget is a one-line text editor. 101 \o \image windowsvista-dateedit.png 102 The QDateEdit class provides a widget for editing dates. 103 \o \image windowsvista-timeedit.png 104 The QTimeEdit class provides a widget for editing times. 105 \o \image windowsvista-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 windowsvista-slider.png 112 The QSlider widget provides a vertical or horizontal slider. 113 \o \image windowsvista-combobox.png 114 The QComboBox widget is a combined button and pop-up list. 115 \o \image windowsvista-spinbox.png 116 The QSpinBox class provides a spin box widget. 117 \endtable 118 119 \table 100% 120 \row 121 \o \image windowsvista-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 windowsvista-doublespinbox.png 124 The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered. 125 \o \image windowsvista-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 windowsvista-dial.png 132 The QDial class provides a rounded range control (like a speedometer or potentiometer). 133 \o \image windowsvista-textedit.png 134 The QTextEdit class provides a widget that is used to edit and display both plain and rich text. 135 \o \image windowsvista-calendarwidget.png 136 The QCalendarWidget class provides a monthly calendar widget that can be used to select dates. 137 \endtable 392 138 */
Note:
See TracChangeset
for help on using the changeset viewer.