Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/doc/src/widgets-and-layouts/focus.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    8369    using the keyboard. (Sometimes in data-entry applications Enter
    8470    does the same as \key{Tab}; this can easily be achieved in Qt by
    85     implementing an \l{Events and Event Filters}{event filter}.)
     71    implementing an \l{The Event System}{event filter}.)
    8672
    8773    Pressing \key Tab, in all window systems in common use today,
  • trunk/doc/src/widgets-and-layouts/gallery-cde.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "cde" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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
    10649
    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
    15851
    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
    20163
    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
    24465
    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
    392133*/
  • trunk/doc/src/widgets-and-layouts/gallery-cleanlooks.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "cleanlooks" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 cleanlooks-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage cleanlooks-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 cleanlooks-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage cleanlooks-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 cleanlooks-pushbutton.png
     42   \caption The QPushButton widget provides a command button.
     43\o \image cleanlooks-toolbutton.png
     44   \caption The QToolButton class provides a quick-access button to commands
     45    or options, usually used inside a QToolBar.
     46\endtable
    10647
    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 cleanlooks-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage cleanlooks-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 cleanlooks-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage cleanlooks-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 cleanlooks-checkbox.png
     51   \caption The QCheckBox widget provides a checkbox with a text label.
     52\o \image cleanlooks-radiobutton.png
     53   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     54\endtable
    15855
    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 cleanlooks-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage cleanlooks-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 cleanlooks-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
    20157
    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 cleanlooks-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage cleanlooks-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 cleanlooks-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 cleanlooks-groupbox.png
     61   The The QGroupBox widget provides a group box frame with a title.
     62\o \image cleanlooks-tabwidget.png
     63   The QTabWidget class provides a stack of tabbed widgets.
     64\o \image cleanlooks-frame.png
     65   The QFrame widget provides a simple decorated container for other widgets.
     66\o \image cleanlooks-toolbox.png
     67   The QToolBox class provides a column of tabbed widget items.
     68\endtable
    24469
    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 cleanlooks-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage cleanlooks-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 cleanlooks-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage cleanlooks-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 cleanlooks-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage cleanlooks-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 cleanlooks-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage cleanlooks-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 cleanlooks-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage cleanlooks-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 cleanlooks-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage cleanlooks-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 cleanlooks-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 cleanlooks-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 cleanlooks-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 cleanlooks-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 cleanlooks-progressbar.png
     88   The QProgressBar widget provides a horizontal progress bar.
     89\o \image cleanlooks-label.png
     90   The QLabel widget provides a text or image display.
     91\o \image cleanlooks-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 cleanlooks-lineedit.png
     100   The QLineEdit widget is a one-line text editor.
     101\o \image cleanlooks-dateedit.png
     102   The QDateEdit class provides a widget for editing dates.
     103\o \image cleanlooks-timeedit.png
     104   The QTimeEdit class provides a widget for editing times.
     105\o \image cleanlooks-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 cleanlooks-slider.png
     112   The QSlider widget provides a vertical or horizontal slider.
     113\o \image cleanlooks-combobox.png
     114   The QComboBox widget is a combined button and pop-up list.
     115\o \image cleanlooks-spinbox.png
     116   The QSpinBox class provides a spin box widget.
     117\endtable
     118
     119\table 100%
     120\row
     121\o \image cleanlooks-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 cleanlooks-doublespinbox.png
     124   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     125\o \image cleanlooks-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 cleanlooks-dial.png
     132   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     133\o \image cleanlooks-textedit.png
     134   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     135\o \image cleanlooks-calendarwidget.png
     136   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     137\endtable
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-gtk.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    5238  applications appear in other styles.
    5339
    54 \raw HTML
    55 <h2 align="center">Buttons</h2>
     40\section2 Buttons
    5641
    57 <table align="center" cellspacing="20%" width="100%">
    58 <colgroup span="2">
    59   <col width="40%" />
    60   <col width="40%" />
    61 </colgroup>
    62 <tr>
    63 <td align="center">
    64 \endraw
    65 \inlineimage gtk-pushbutton.png
    66 \raw HTML
    67 </td>
    68 <td align="center">
    69 \endraw
    70 \inlineimage gtk-toolbutton.png
    71 \raw HTML
    72 </td>
    73 </tr><tr>
    74 <td align="justify" valign="top">
    75 \endraw
    76 The QPushButton widget provides a command button.\raw HTML
    77 </td>
    78 <td align="justify" valign="top">
    79 \endraw
    80 The QToolButton class provides a quick-access button to commands
    81        or options, usually used inside a QToolBar.\raw HTML
    82 </td>
    83 </tr>
    84 <tr>
    85 <td align="center">
    86 \endraw
    87 \inlineimage gtk-checkbox.png
    88 \raw HTML
    89 </td>
    90 <td align="center">
    91 \endraw
    92 \inlineimage gtk-radiobutton.png
    93 \raw HTML
    94 </td>
    95 </tr><tr>
    96 <td align="justify" valign="top">
    97 \endraw
    98 The QCheckBox widget provides a checkbox with a text label.\raw HTML
    99 </td>
    100 <td align="justify" valign="top">
    101 \endraw
    102 The QRadioButton widget provides a radio button with a text or pixmap label.\raw HTML
    103 </td>
    104 </tr>
    105 </table>
    106 \endraw
    107 \raw HTML
    108 <h2 align="center">Containers</h2>
     42\table 100%
     43\row
     44\o \image gtk-pushbutton.png
     45   \caption The QPushButton widget provides a command button.
     46\o \image gtk-toolbutton.png
     47   \caption The QToolButton class provides a quick-access button to commands
     48    or options, usually used inside a QToolBar.
     49\endtable
    10950
    110 <table align="center" cellspacing="20%" width="100%">
    111 <colgroup span="2">
    112   <col width="40%" />
    113   <col width="40%" />
    114 </colgroup>
    115 <tr>
    116 <td align="center">
    117 \endraw
    118 \inlineimage gtk-groupbox.png
    119 \raw HTML
    120 </td>
    121 <td align="center">
    122 \endraw
    123 \inlineimage gtk-tabwidget.png
    124 \raw HTML
    125 </td>
    126 </tr><tr>
    127 <td align="justify" valign="top">
    128 \endraw
    129 The QGroupBox widget provides a group box frame with a title.\raw HTML
    130 </td>
    131 <td align="justify" valign="top">
    132 \endraw
    133 The QTabWidget class provides a stack of tabbed widgets.\raw HTML
    134 </td>
    135 </tr>
    136 <tr>
    137 <td align="center">
    138 \endraw
    139 \inlineimage gtk-toolbox.png
    140 \raw HTML
    141 </td>
    142 <td align="center">
    143 \endraw
    144 \inlineimage gtk-frame.png
    145 \raw HTML
    146 </td>
    147 </tr><tr>
    148 <td align="justify" valign="top">
    149 \endraw
    150 The QToolBox class provides a column of tabbed widget items.\raw HTML
    151 </td>
    152 <td align="justify" valign="top">
    153 \endraw
    154 The QFrame widget provides a simple decorated container for other widgets.\raw HTML
    155 </td>
    156 </tr>
    157 </table>
    158 \endraw
    159 \raw HTML
    160 <h2 align="center">Item Views</h2>
     51\table 100%
     52\row
     53\o \image gtk-checkbox.png
     54   \caption The QCheckBox widget provides a checkbox with a text label.
     55\o \image gtk-radiobutton.png
     56   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     57\endtable
    16158
    162 <table align="center" cellspacing="20%" width="100%">
    163 <colgroup span="2">
    164   <col width="40%" />
    165   <col width="40%" />
    166 </colgroup>
    167 <tr>
    168 <td align="center">
    169 \endraw
    170 \inlineimage gtk-listview.png
    171 \raw HTML
    172 </td>
    173 <td align="center">
    174 \endraw
    175 \inlineimage gtk-treeview.png
    176 \raw HTML
    177 </td>
    178 </tr><tr>
    179 <td align="justify" valign="top">
    180 \endraw
    181 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
    182 </td>
    183 <td align="justify" valign="top">
    184 \endraw
    185 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
    186 </td>
    187 </tr>
    188 <tr>
    189 <td align="center">
    190 \endraw
    191 \inlineimage gtk-tableview.png
    192 \raw HTML
    193 </td>
    194 </tr><tr>
    195 <td align="justify" valign="top">
    196 \endraw
    197 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
    198 </td>
    199 <td align="justify" valign="top">
    200 \endraw
    201 \raw HTML
    202 </td>
    203 </tr>
    204 </table>
    205 \endraw
    206 \raw HTML
    207 <h2 align="center">Display Widgets</h2>
     59\section2 Containers
    20860
    209 <table align="center" cellspacing="20%" width="100%">
    210 <colgroup span="2">
    211   <col width="40%" />
    212   <col width="40%" />
    213 </colgroup>
    214 <tr>
    215 <td align="center">
    216 \endraw
    217 \inlineimage gtk-progressbar.png
    218 \raw HTML
    219 </td>
    220 <td align="center">
    221 \endraw
    222 \inlineimage gtk-lcdnumber.png
    223 \raw HTML
    224 </td>
    225 </tr><tr>
    226 <td align="justify" valign="top">
    227 \endraw
    228 The QProgressBar widget provides a horizontal progress bar.\raw HTML
    229 </td>
    230 <td align="justify" valign="top">
    231 \endraw
    232 The QLCDNumber widget displays a number with LCD-like digits.\raw HTML
    233 </td>
    234 </tr>
    235 <tr>
    236 <td align="center">
    237 \endraw
    238 \inlineimage gtk-label.png
    239 \raw HTML
    240 </td>
    241 </tr><tr>
    242 <td halign="justify" valign="top">
    243 \endraw
    244 The QLabel widget provides a text or image display.\raw HTML
    245 </td>
    246 </tr>
    247 </table>
    248 \endraw
    249 \raw HTML
    250 <h2 align="center">Input Widgets</h2>
     61\table 100%
     62\row
     63\o \image gtk-groupbox.png
     64   The The QGroupBox widget provides a group box frame with a title.
     65\o \image gtk-tabwidget.png
     66   The QTabWidget class provides a stack of tabbed widgets.
     67\o \image gtk-frame.png
     68   The QFrame widget provides a simple decorated container for other widgets.
     69\o \image gtk-toolbox.png
     70   The QToolBox class provides a column of tabbed widget items.
     71\endtable
    25172
    252 <table align="center" cellspacing="20%" width="100%">
    253 <colgroup span="2">
    254   <col width="40%" />
    255   <col width="40%" />
    256 </colgroup>
    257 <tr>
    258 <td align="center">
    259 \endraw
    260 \inlineimage gtk-slider.png
    261 \raw HTML
    262 </td>
    263 <td align="center">
    264 \endraw
    265 \inlineimage gtk-lineedit.png
    266 \raw HTML
    267 </td>
    268 </tr><tr>
    269 <td align="justify" valign="top">
    270 \endraw
    271 The QSlider widget provides a vertical or horizontal slider.\raw HTML
    272 </td>
    273 <td align="justify" valign="top">
    274 \endraw
    275 The QLineEdit widget is a one-line text editor.\raw HTML
    276 </td>
    277 </tr>
    278 <tr>
    279 <td align="center">
    280 \endraw
    281 \inlineimage gtk-combobox.png
    282 \raw HTML
    283 </td>
    284 <td align="center">
    285 \endraw
    286 \inlineimage gtk-doublespinbox.png
    287 \raw HTML
    288 </td>
    289 </tr><tr>
    290 <td align="justify" valign="top">
    291 \endraw
    292 The QComboBox widget is a combined button and pop-up list.\raw HTML
    293 </td>
    294 <td align="justify" valign="top">
    295 \endraw
    296 The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.\raw HTML
    297 </td>
    298 </tr>
    299 <tr>
    300 <td align="center">
    301 \endraw
    302 \inlineimage gtk-spinbox.png
    303 \raw HTML
    304 </td>
    305 <td align="center">
    306 \endraw
    307 \inlineimage gtk-timeedit.png
    308 \raw HTML
    309 </td>
    310 </tr><tr>
    311 <td align="justify" valign="top">
    312 \endraw
    313 The QSpinBox class provides a spin box widget.\raw HTML
    314 </td>
    315 <td align="justify" valign="top">
    316 \endraw
    317 The QTimeEdit class provides a widget for editing times.\raw HTML
    318 </td>
    319 </tr>
    320 <tr>
    321 <td align="center">
    322 \endraw
    323 \inlineimage gtk-dateedit.png
    324 \raw HTML
    325 </td>
    326 <td align="center">
    327 \endraw
    328 \inlineimage gtk-datetimeedit.png
    329 \raw HTML
    330 </td>
    331 </tr><tr>
    332 <td align="justify" valign="top">
    333 \endraw
    334 The QDateEdit class provides a widget for editing dates.\raw HTML
    335 </td>
    336 <td align="justify" valign="top">
    337 \endraw
    338 The QDateTimeEdit class provides a widget for editing dates and times.\raw HTML
    339 </td>
    340 </tr>
    341 <tr>
    342 <td align="center">
    343 \endraw
    344 \inlineimage gtk-textedit.png
    345 \raw HTML
    346 </td>
    347 <td align="center">
    348 \endraw
    349 \inlineimage gtk-horizontalscrollbar.png
    350 \raw HTML
    351 </td>
    352 </tr><tr>
    353 <td align="justify" valign="top">
    354 \endraw
    355 The QTextEdit class provides a widget that is used to edit and
    356      display both plain and rich text.\raw HTML
    357 </td>
    358 <td align="justify" valign="top">
    359 \endraw
    360 The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.\raw HTML
    361 </td>
    362 </tr>
    363 <tr>
    364 <td align="center">
    365 \endraw
    366 \inlineimage gtk-dial.png
    367 \raw HTML
    368 </td>
    369 <td align="center">
    370 \endraw
    371 \inlineimage gtk-calendarwidget.png
    372 \raw HTML
    373 </td>
    374 </tr><tr>
    375 <td align="justify" valign="top">
    376 \endraw
    377 The QDial class provides a rounded range control (like a
    378        speedometer or potentiometer).\raw HTML
    379 </td>
    380 <td align="justify" valign="top">
    381 \endraw
    382 The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.\raw HTML
    383 </td>
    384 </tr>
    385 <tr>
    386 <td align="center">
    387 \endraw
    388 \inlineimage gtk-fontcombobox.png
    389 \raw HTML
    390 </td>
    391 </tr><tr>
    392 <td halign="justify" valign="top">
    393 \endraw
    394 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
    395 </td>
    396 </tr>
    397 </table>
    398 \endraw
     73\section2 Item Views
     74
     75\table 100%
     76\row
     77\o \image gtk-listview.png
     78   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.
     79\o \image gtk-treeview.png
     80   The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.
     81\o \image gtk-tableview.png
     82   The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\o
     83\o
     84\endtable
     85
     86\section2 Display Widgets
     87
     88\table 100%
     89\row
     90\o \image gtk-progressbar.png
     91   The QProgressBar widget provides a horizontal progress bar.
     92\o \image gtk-label.png
     93   The QLabel widget provides a text or image display.
     94\o \image gtk-lcdnumber.png
     95   The QLCDNumber widget displays a number with LCD-like digits.
     96\endtable
     97
     98\section2 Input Widgets
     99
     100\table 100%
     101\row
     102\o \image gtk-lineedit.png
     103   The QLineEdit widget is a one-line text editor.
     104\o \image gtk-dateedit.png
     105   The QDateEdit class provides a widget for editing dates.
     106\o \image gtk-timeedit.png
     107   The QTimeEdit class provides a widget for editing times.
     108\o \image gtk-datetimeedit.png
     109   The QDateTimeEdit class provides a widget for editing dates and times.
     110\endtable
     111
     112\table 100%
     113\row
     114\o \image gtk-slider.png
     115   The QSlider widget provides a vertical or horizontal slider.
     116\o \image gtk-combobox.png
     117   The QComboBox widget is a combined button and pop-up list.
     118\o \image gtk-spinbox.png
     119   The QSpinBox class provides a spin box widget.
     120\endtable
     121
     122\table 100%
     123\row
     124\o \image gtk-fontcombobox.png
     125   The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.
     126\o \image gtk-doublespinbox.png
     127   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     128\o \image gtk-horizontalscrollbar.png
     129   The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.
     130\endtable
     131
     132\table 100%
     133\row
     134\o \image gtk-dial.png
     135   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     136\o \image gtk-textedit.png
     137   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     138\o \image gtk-calendarwidget.png
     139   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     140\endtable
    399141*/
  • trunk/doc/src/widgets-and-layouts/gallery-macintosh.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "macintosh" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 macintosh-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage macintosh-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 macintosh-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage macintosh-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 macintosh-pushbutton.png
     42   \caption The QPushButton widget provides a command button.
     43\o \image macintosh-toolbutton.png
     44   \caption The QToolButton class provides a quick-access button to commands
     45    or options, usually used inside a QToolBar.
     46\endtable
    10647
    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 macintosh-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage macintosh-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 macintosh-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage macintosh-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 macintosh-checkbox.png
     51   \caption The QCheckBox widget provides a checkbox with a text label.
     52\o \image macintosh-radiobutton.png
     53   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     54\endtable
    15855
    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 macintosh-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage macintosh-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 macintosh-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
    20157
    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 macintosh-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage macintosh-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 macintosh-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 macintosh-groupbox.png
     61   The The QGroupBox widget provides a group box frame with a title.
     62\o \image macintosh-tabwidget.png
     63   The QTabWidget class provides a stack of tabbed widgets.
     64\o \image macintosh-frame.png
     65   The QFrame widget provides a simple decorated container for other widgets.
     66\o \image macintosh-toolbox.png
     67   The QToolBox class provides a column of tabbed widget items.
     68\endtable
    24469
    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 macintosh-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage macintosh-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 macintosh-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage macintosh-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 macintosh-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage macintosh-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 macintosh-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage macintosh-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 macintosh-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage macintosh-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 macintosh-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage macintosh-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 macintosh-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 macintosh-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 macintosh-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 macintosh-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 macintosh-progressbar.png
     88   The QProgressBar widget provides a horizontal progress bar.
     89\o \image macintosh-label.png
     90   The QLabel widget provides a text or image display.
     91\o \image macintosh-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 macintosh-lineedit.png
     100   The QLineEdit widget is a one-line text editor.
     101\o \image macintosh-dateedit.png
     102   The QDateEdit class provides a widget for editing dates.
     103\o \image macintosh-timeedit.png
     104   The QTimeEdit class provides a widget for editing times.
     105\o \image macintosh-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 macintosh-slider.png
     112   The QSlider widget provides a vertical or horizontal slider.
     113\o \image macintosh-combobox.png
     114   The QComboBox widget is a combined button and pop-up list.
     115\o \image macintosh-spinbox.png
     116   The QSpinBox class provides a spin box widget.
     117\endtable
     118
     119\table 100%
     120\row
     121\o \image macintosh-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 macintosh-doublespinbox.png
     124   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     125\o \image macintosh-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 macintosh-dial.png
     132   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     133\o \image macintosh-textedit.png
     134   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     135\o \image macintosh-calendarwidget.png
     136   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     137\endtable
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-motif.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "motif" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 motif-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage motif-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 motif-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage motif-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 motif-pushbutton.png
     42   \caption The QPushButton widget provides a command button.
     43\o \image motif-toolbutton.png
     44   \caption The QToolButton class provides a quick-access button to commands
     45    or options, usually used inside a QToolBar.
     46\endtable
    10647
    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 motif-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage motif-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 motif-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage motif-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 motif-checkbox.png
     51   \caption The QCheckBox widget provides a checkbox with a text label.
     52\o \image motif-radiobutton.png
     53   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     54\endtable
    15855
    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 motif-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage motif-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 motif-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
    20157
    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 motif-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage motif-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 motif-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 motif-groupbox.png
     61   The The QGroupBox widget provides a group box frame with a title.
     62\o \image motif-tabwidget.png
     63   The QTabWidget class provides a stack of tabbed widgets.
     64\o \image motif-frame.png
     65   The QFrame widget provides a simple decorated container for other widgets.
     66\o \image motif-toolbox.png
     67   The QToolBox class provides a column of tabbed widget items.
     68\endtable
    24469
    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 motif-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage motif-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 motif-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage motif-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 motif-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage motif-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 motif-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage motif-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 motif-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage motif-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 motif-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage motif-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 motif-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 motif-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 motif-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 motif-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 motif-progressbar.png
     88   The QProgressBar widget provides a horizontal progress bar.
     89\o \image motif-label.png
     90   The QLabel widget provides a text or image display.
     91\o \image motif-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 motif-lineedit.png
     100   The QLineEdit widget is a one-line text editor.
     101\o \image motif-dateedit.png
     102   The QDateEdit class provides a widget for editing dates.
     103\o \image motif-timeedit.png
     104   The QTimeEdit class provides a widget for editing times.
     105\o \image motif-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 motif-slider.png
     112   The QSlider widget provides a vertical or horizontal slider.
     113\o \image motif-combobox.png
     114   The QComboBox widget is a combined button and pop-up list.
     115\o \image motif-spinbox.png
     116   The QSpinBox class provides a spin box widget.
     117\endtable
     118
     119\table 100%
     120\row
     121\o \image motif-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 motif-doublespinbox.png
     124   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     125\o \image motif-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 motif-dial.png
     132   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     133\o \image motif-textedit.png
     134   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     135\o \image motif-calendarwidget.png
     136   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     137\endtable
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-plastique.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "plastique" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 plastique-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage plastique-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 plastique-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage plastique-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 plastique-pushbutton.png
     42   \caption The QPushButton widget provides a command button.
     43\o \image plastique-toolbutton.png
     44   \caption The QToolButton class provides a quick-access button to commands
     45    or options, usually used inside a QToolBar.
     46\endtable
    10647
    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 plastique-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage plastique-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 plastique-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage plastique-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 plastique-checkbox.png
     51   \caption The QCheckBox widget provides a checkbox with a text label.
     52\o \image plastique-radiobutton.png
     53   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     54\endtable
    15855
    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 plastique-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage plastique-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 plastique-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
    20157
    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 plastique-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage plastique-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 plastique-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 plastique-groupbox.png
     61   The The QGroupBox widget provides a group box frame with a title.
     62\o \image plastique-tabwidget.png
     63   The QTabWidget class provides a stack of tabbed widgets.
     64\o \image plastique-frame.png
     65   The QFrame widget provides a simple decorated container for other widgets.
     66\o \image plastique-toolbox.png
     67   The QToolBox class provides a column of tabbed widget items.
     68\endtable
    24469
    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 plastique-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage plastique-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 plastique-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage plastique-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 plastique-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage plastique-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 plastique-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage plastique-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 plastique-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage plastique-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 plastique-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage plastique-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 plastique-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 plastique-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 plastique-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 plastique-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 plastique-progressbar.png
     88   The QProgressBar widget provides a horizontal progress bar.
     89\o \image plastique-label.png
     90   The QLabel widget provides a text or image display.
     91\o \image plastique-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 plastique-lineedit.png
     100   The QLineEdit widget is a one-line text editor.
     101\o \image plastique-dateedit.png
     102   The QDateEdit class provides a widget for editing dates.
     103\o \image plastique-timeedit.png
     104   The QTimeEdit class provides a widget for editing times.
     105\o \image plastique-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 plastique-slider.png
     112   The QSlider widget provides a vertical or horizontal slider.
     113\o \image plastique-combobox.png
     114   The QComboBox widget is a combined button and pop-up list.
     115\o \image plastique-spinbox.png
     116   The QSpinBox class provides a spin box widget.
     117\endtable
     118
     119\table 100%
     120\row
     121\o \image plastique-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 plastique-doublespinbox.png
     124   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     125\o \image plastique-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 plastique-dial.png
     132   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     133\o \image plastique-textedit.png
     134   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     135\o \image plastique-calendarwidget.png
     136   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     137\endtable
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-windows.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "windows" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 windows-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage windows-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 windows-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage windows-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 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
    10647
    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 windows-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage windows-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 windows-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage windows-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 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
    15855
    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 windows-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage windows-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 windows-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
    20157
    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 windows-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage windows-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 windows-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 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
    24469
    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 windows-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage windows-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 windows-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage windows-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 windows-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage windows-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 windows-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage windows-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 windows-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage windows-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 windows-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage windows-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 windows-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 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
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-windowsvista.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "windowsvista" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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
    10647
    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
    15855
    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
    20157
    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
    24469
    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
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  when configured to use the "windowsxp" style.
    5036
    51 \raw HTML
    52 <h2 align="center">Buttons</h2>
     37\section2 Buttons
    5338
    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 windowsxp-pushbutton.png
    63 \raw HTML
    64 </td>
    65 <td align="center">
    66 \endraw
    67 \inlineimage windowsxp-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 windowsxp-checkbox.png
    85 \raw HTML
    86 </td>
    87 <td align="center">
    88 \endraw
    89 \inlineimage windowsxp-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 windowsxp-pushbutton.png
     42   \caption The QPushButton widget provides a command button.
     43\o \image windowsxp-toolbutton.png
     44   \caption The QToolButton class provides a quick-access button to commands
     45    or options, usually used inside a QToolBar.
     46\endtable
    10647
    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 windowsxp-groupbox.png
    116 \raw HTML
    117 </td>
    118 <td align="center">
    119 \endraw
    120 \inlineimage windowsxp-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 windowsxp-frame.png
    137 \raw HTML
    138 </td>
    139 <td align="center">
    140 \endraw
    141 \inlineimage windowsxp-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 windowsxp-checkbox.png
     51   \caption The QCheckBox widget provides a checkbox with a text label.
     52\o \image windowsxp-radiobutton.png
     53   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
     54\endtable
    15855
    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 windowsxp-listview.png
    168 \raw HTML
    169 </td>
    170 <td align="center">
    171 \endraw
    172 \inlineimage windowsxp-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 windowsxp-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
    20157
    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 windowsxp-progressbar.png
    211 \raw HTML
    212 </td>
    213 <td align="center">
    214 \endraw
    215 \inlineimage windowsxp-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 windowsxp-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 windowsxp-groupbox.png
     61   The The QGroupBox widget provides a group box frame with a title.
     62\o \image windowsxp-tabwidget.png
     63   The QTabWidget class provides a stack of tabbed widgets.
     64\o \image windowsxp-frame.png
     65   The QFrame widget provides a simple decorated container for other widgets.
     66\o \image windowsxp-toolbox.png
     67   The QToolBox class provides a column of tabbed widget items.
     68\endtable
    24469
    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 windowsxp-slider.png
    254 \raw HTML
    255 </td>
    256 <td align="center">
    257 \endraw
    258 \inlineimage windowsxp-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 windowsxp-combobox.png
    275 \raw HTML
    276 </td>
    277 <td align="center">
    278 \endraw
    279 \inlineimage windowsxp-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 windowsxp-spinbox.png
    296 \raw HTML
    297 </td>
    298 <td align="center">
    299 \endraw
    300 \inlineimage windowsxp-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 windowsxp-dateedit.png
    317 \raw HTML
    318 </td>
    319 <td align="center">
    320 \endraw
    321 \inlineimage windowsxp-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 windowsxp-textedit.png
    338 \raw HTML
    339 </td>
    340 <td align="center">
    341 \endraw
    342 \inlineimage windowsxp-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 windowsxp-dial.png
    360 \raw HTML
    361 </td>
    362 <td align="center">
    363 \endraw
    364 \inlineimage windowsxp-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 windowsxp-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 windowsxp-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 windowsxp-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 windowsxp-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 windowsxp-progressbar.png
     88   The QProgressBar widget provides a horizontal progress bar.
     89\o \image windowsxp-label.png
     90   The QLabel widget provides a text or image display.
     91\o \image windowsxp-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 windowsxp-lineedit.png
     100   The QLineEdit widget is a one-line text editor.
     101\o \image windowsxp-dateedit.png
     102   The QDateEdit class provides a widget for editing dates.
     103\o \image windowsxp-timeedit.png
     104   The QTimeEdit class provides a widget for editing times.
     105\o \image windowsxp-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 windowsxp-slider.png
     112   The QSlider widget provides a vertical or horizontal slider.
     113\o \image windowsxp-combobox.png
     114   The QComboBox widget is a combined button and pop-up list.
     115\o \image windowsxp-spinbox.png
     116   The QSpinBox class provides a spin box widget.
     117\endtable
     118
     119\table 100%
     120\row
     121\o \image windowsxp-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 windowsxp-doublespinbox.png
     124   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
     125\o \image windowsxp-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 windowsxp-dial.png
     132   The QDial class provides a rounded range control (like a speedometer or potentiometer).
     133\o \image windowsxp-textedit.png
     134   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
     135\o \image windowsxp-calendarwidget.png
     136   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
     137\endtable
    392138*/
  • trunk/doc/src/widgets-and-layouts/gallery.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4935  widget styles that are supplied with Qt 4.
    5036
    51   \raw HTML
    52   <table align="center" cellspacing="20%" width="100%">
    53   <colgroup span="2">
    54     <col width="40%" />
    55     <col width="40%" />
    56   </colgroup>
    57   <tr>
    58   <td align="center">
    59   \endraw
    60   \image plastique-tabwidget.png Plastique Style Widget Gallery
    61 
    62   \bold{\l{Plastique Style Widget Gallery}}
     37  \table
     38  \row
     39  \o \image plastique-tabwidget.png Plastique Style Widget Gallery
     40  \caption \l{Plastique Style Widget Gallery}
    6341
    6442  The Plastique style is provided by QPlastiqueStyle.
    65   \raw HTML
    66   </td>
    67   <td align="center">
    68   \endraw
    69   \image windowsxp-tabwidget.png Windows XP Style Widget Gallery
    70 
    71   \bold{\l{Windows XP Style Widget Gallery}}
     43  \o \image windowsxp-tabwidget.png Windows XP Style Widget Gallery
     44  \caption \l{Windows XP Style Widget Gallery}
    7245
    7346  The Windows XP style is provided by QWindowsXPStyle.
    74   \raw HTML
    75   </td>
    76   </tr>
    77   <tr>
    78   <td align="center">
    79   \endraw
    80   \image gtk-tabwidget.png GTK Style Widget Gallery
     47  \o \image windows-tabwidget.png Windows Style Widget Gallery
     48  \caption \l{Windows Style Widget Gallery}
    8149
    82   \bold{\l{GTK Style Widget Gallery}}
     50  The Windows style is provided by QWindowsStyle.
     51  \endtable
     52
     53  \table
     54  \row
     55  \o \image macintosh-tabwidget.png Macintosh Style Widget Gallery
     56  \caption \l{Macintosh Style Widget Gallery}
     57
     58  The Macintosh style is provided by QMacStyle.
     59  \o \image cleanlooks-tabwidget.png Cleanlooks Style Widget Gallery
     60  \caption \l{Cleanlooks Style Widget Gallery}
     61
     62  The Cleanlooks style is provided by QCleanlooksStyle.
     63  \o \image windowsvista-tabwidget.png Windows Vista Style Widget Gallery
     64  \caption \l{Windows Vista Style Widget Gallery}
     65
     66  The Windows Vista style is provided by QWindowsVistaStyle.
     67  \endtable
     68
     69  \table
     70  \row
     71  \o \image gtk-tabwidget.png GTK Style Widget Gallery
     72  \caption \l{GTK Style Widget Gallery}
    8373
    8474  The GTK style is provided by QGtkStyle.
    85   \raw HTML
    86   </td>
    87   <td align="center">
    88   \endraw
    89   \image macintosh-tabwidget.png Macintosh Style Widget Gallery
    90 
    91   \bold{\l{Macintosh Style Widget Gallery}}
    92 
    93   The Macintosh style is provided by QMacStyle.
    94   \raw HTML
    95   </td>
    96   </tr>
    97   <tr>
    98   <td align="center">
    99   \endraw
    100   \image cleanlooks-tabwidget.png Cleanlooks Style Widget Gallery
    101 
    102   \bold{\l{Cleanlooks Style Widget Gallery}}
    103 
    104   The Cleanlooks style is provided by QCleanlooksStyle.
    105   \raw HTML
    106   </td>
    107   <td align="center">
    108   \endraw
    109   \image windowsvista-tabwidget.png Windows Vista Style Widget Gallery
    110 
    111   \bold{\l{Windows Vista Style Widget Gallery}}
    112 
    113   The Windows Vista style is provided by QWindowsVistaStyle.
    114   \raw HTML
    115   </td>
    116   </tr>
    117   <tr>
    118   <td align="center">
    119   \endraw
    120   \image motif-tabwidget.png Motif Style Widget Gallery
    121 
    122   \bold{\l{Motif Style Widget Gallery}}
     75  \o \image motif-tabwidget.png Motif Style Widget Gallery
     76  \caption \l{Motif Style Widget Gallery}
    12377
    12478  The Motif style is provided by QMotifStyle.
    125   \raw HTML
    126   </td>
    127   <td align="center">
    128   \endraw
    129   \image windows-tabwidget.png Windows Style Widget Gallery
    130 
    131   \bold{\l{Windows Style Widget Gallery}}
    132 
    133   The Windows style is provided by QWindowsStyle.
    134   \raw HTML
    135   </td>
    136   </tr>
    137   <tr>
    138   <td align="center">
    139   \endraw
    140   \image cde-tabwidget.png CDE Style Widget Gallery
    141 
    142   \bold{\l{CDE Style Widget Gallery}}
     79  \o \image cde-tabwidget.png CDE Style Widget Gallery
     80  \caption \l{CDE Style Widget Gallery}
    14381
    14482  The Common Desktop Environment style is provided by QCDEStyle.
    145   \raw HTML
    146   </td>
    147   </tr>
    148   </table>
    149   \endraw
     83  \endtable
    15084*/
  • trunk/doc/src/widgets-and-layouts/layout.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
    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.
     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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4834    \page layout.html
    4935    \title Layout Management
     36    \ingroup qt-basic-concepts
     37    \ingroup qt-gui-concepts
    5038    \brief A tour of the standard layout managers and an introduction to custom
    5139    layouts.
    5240   
    53     \previouspage Widget Classes
     41    \previouspage Widgets and Layouts
    5442    \contentspage Widgets and Layouts
    55     \nextpage {Implementing Styles and Style Aware Widgets}{Styles}
     43    \nextpage {Styles and Style Aware Widgets}{Styles}
    5644
    5745    \ingroup frameworks-technologies
     
    129117
    130118    The following code creates a QHBoxLayout that manages the geometry of five
    131     \l{QPushButton}s, as shown on the first screenshot above:
     119    \l{QPushButton}{QPushButtons}, as shown on the first screenshot above:
    132120
    133121    \snippet doc/src/snippets/layouts/layouts.cpp 0
     
    154142    the fifth argument to QGridLayout::addWidget().
    155143
    156     Finally, the code for QFormLayout is ..
     144    QFormLayout will add two widgets on a row, commonly a QLabel and a QLineEdit
     145    to create forms. Adding a QLabel and a QLineEdit on the same row will set
     146    the QLineEdit as the QLabel's buddy. The following code will use the
     147    QFormLayout to place three \l{QPushButton}{QPushButtons} and a corresponding
     148    QLineEdit on a row.
     149   
     150    \snippet doc/src/snippets/layouts/layouts.cpp 18
     151    \snippet doc/src/snippets/layouts/layouts.cpp 19
     152    \snippet doc/src/snippets/layouts/layouts.cpp 20
     153    \codeline
     154    \snippet doc/src/snippets/layouts/layouts.cpp 21
     155    \snippet doc/src/snippets/layouts/layouts.cpp 22
     156    \snippet doc/src/snippets/layouts/layouts.cpp 23
    157157
    158158
     
    256256    For further guidance when implementing these functions, see the
    257257    \e{Qt Quarterly} article
    258     \l{http://qt.nokia.com/doc/qq/qq04-height-for-width.html}
     258    \l{http://doc.qt.nokia.com/qq/qq04-height-for-width.html}
    259259    {Trading Height for Width}.
    260260
  • trunk/doc/src/widgets-and-layouts/styles.qdoc

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4834/*!
    4935    \page style-reference.html
    50     \title Implementing Styles and Style Aware Widgets
    51     \brief An overview of styles and the styling of widgets.
    52 
    53     \ingroup frameworks-technologies
    54 
    55     \previouspage Widget Classes
    56     \contentspage Widgets and Layouts
    57     \nextpage {Qt Style Sheets}{Style sheets}
     36    \title Styles and Style Aware Widgets
     37    \ingroup qt-gui-concepts
     38    \brief Styles and the styling of widgets.
    5839
    5940    Styles (classes that inherit QStyle) draw on behalf of widgets
     
    9071    current style. This document shows how widgets draw themselves
    9172    and which possibilities the style gives them.
    92 
    93     \tableofcontents
    9473
    9574    \section1 Classes for Widget Styling
  • trunk/doc/src/widgets-and-layouts/stylesheet.qdoc

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4632
    4733    \ingroup frameworks-technologies
    48 
    49     \previouspage {Implementing Styles and Style Aware Widgets}{Styles}
     34    \ingroup qt-basic-concepts
     35
     36    \previouspage {Styles and Style Aware Widgets}{Styles}
    5037    \contentspage Widgets and Layouts
    5138    \nextpage The Style Sheet Syntax
     
    935922
    936923           For items with a sub menu, the arrow marks are styled using the
    937            \l{::right-arrow-sub}{right-arrow} and
    938            \l{::left-arrow-sub}{left-arrow}.
     924           \l{right-arrow-sub}{right-arrow} and
     925           \l{left-arrow-sub}{left-arrow}.
    939926
    940927            The scroller is styled using the \l{#scroller-sub}{::scroller}.
    941928
    942             The tear-off is styled using the \l{#tear-off-sub}{::tear-off}.
     929            The tear-off is styled using the \l{#tearoff-sub}{::tearoff}.
    943930
    944931           See \l{Qt Style Sheets Examples#Customizing QMenu}{Customizing QMenu}
     
    33523339
    33533340    \row
    3354         \o \c ::tear-off \target tear-off-sub
     3341        \o \c ::tearoff \target tearoff-sub
    33553342        \o The tear-off indicator of a QMenu.
    33563343
  • trunk/doc/src/widgets-and-layouts/widgets.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:FDL$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in a
     14** written agreement between you and Nokia.
    1515**
    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.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    4127
    4228/*!
    43     \page widgets-and-layouts.html
    44     \title Widgets and Layouts
     29  \page widgets-and-layouts.html
     30  \title Widgets and Layouts
     31  \ingroup qt-gui-concepts
     32  \brief The primary elements for designing user interfaces in Qt.
    4533
    46     \ingroup frameworks-technologies
     34  \section1 Widgets
    4735
    48     \nextpage Widget Classes
     36  Widgets are the primary elements for creating user interfaces in Qt.
     37  \l{The Widget Classes}{Widgets} can display data and status information,
     38  receive user input, and provide a container for other widgets that
     39  should be grouped together. A widget that is not embedded in a
     40  parent widget is called a \l{Window and Dialog Widgets} {window}.
    4941
    50     The primary elements for designing user interfaces in Qt are widgets and layouts.
     42  \image parent-child-widgets.png A parent widget containing various child widgets.
     43
     44  The QWidget class provides the basic capability to render to the
     45  screen, and to handle user input events. All UI elements that Qt
     46  provides are either subclasses of QWidget, or are used in connection
     47  with a QWidget subclass. Creating custom widgets is done by
     48  subclassing QWidget or a suitable subclass and reimplementing the
     49  virtual event handlers.
     50
     51  \section1 Layouts
     52
     53  \l{Layout Management}{Layouts} are an elegant and flexible way to
     54  automatically arrange child widgets within their container. Each
     55  widget reports its size requirements to the layout through the
     56  \l{QWidget::}{sizeHint} and \l{QWidget::}{sizePolicy} properties,
     57  and the layout distributes the available space accordingly.
     58
     59  \table
     60  \row   
     61  \o \image qgridlayout-with-5-children.png
     62  \o \image qformlayout-with-6-children.png
     63  \endtable
     64
     65  \l{Qt Designer Manual}{\QD} is a powerful tool for interactively creating and
     66  arranging widgets in layouts.
     67
     68  \section1 Widget Styles
     69
     70  \l{Styles and Style Aware Widgets}{Styles} draw on behalf of
     71  widgets and encapsulate the look and feel of a GUI. Qt's built-in
     72  widgets use the QStyle class to perform nearly all of their drawing,
     73  ensuring that they look exactly like the equivalent native widgets.
    5174   
    52     \section1 Widgets
     75  \table
     76  \row
     77  \o \image windowsxp-tabwidget.png
     78  \o \image plastique-tabwidget.png
     79  \o \image macintosh-tabwidget.png
     80  \endtable
    5381
    54     \l{Widget Classes}{Widgets} can display data and status information, receive
    55     user input, and provide a container for other widgets that should be grouped
    56     together. A widget that is not embedded in a parent widget is called a
    57     \l{Application Windows and Dialogs}{window}.
     82  \l{Qt Style Sheets} are a powerful mechanism that allows you to customize the
     83  appearance of widgets, in addition to what is already possible by subclassing QStyle.
    5884
    59     \image parent-child-widgets.png A parent widget containing various child widgets.
     85  \section1 The Widget Classes
    6086
    61     The QWidget class provides the basic capability to render to the screen, and to
    62     handle user input events. All UI elements that Qt provides are either subclasses
    63     of QWidget, or are used in connection with a QWidget subclass. Creating custom
    64     widgets is done by subclassing QWidget or a suitable subclass and reimplementing
    65     the virtual event handlers.
     87  The following sections list the widget classes. See the \l{Qt Widget
     88  Gallery} for some examples.
    6689
    67     \section1 Layouts
     90  \section2 Basic Widgets
    6891
    69     \l{Layout Management}{Layouts} are an elegant and flexible way to automatically
    70     arrange child widgets within their container. Each widget reports its size requirements
    71     to the layout through the \l{QWidget::}{sizeHint} and \l{QWidget::}{sizePolicy}
    72     properties, and the layout distributes the available space accordingly.
     92  These basic widgets (controls), e.g. buttons, comboboxes and
     93  scroll bars, are designed for direct use.
    7394
    74     \table
    75     \row   
    76     \o \image qgridlayout-with-5-children.png
    77     \o \image qformlayout-with-6-children.png
    78     \endtable
     95  \table
     96  \row
     97  \o \image windows-label.png
     98  \o \image windowsvista-pushbutton.png
     99  \o \image gtk-progressbar.png
     100  \row
     101  \o \image plastique-combobox.png
     102  \o \image macintosh-radiobutton.png
     103  \o \image cde-lineedit.png
     104  \endtable
    79105
    80     \l{Qt Designer Manual}{\QD} is a powerful tool for interactively creating and
    81     arranging widgets in layouts.
     106  \annotatedlist basicwidgets
    82107
    83     \section1 Widget Styles
     108  \section2 Advanced Widgets
    84109
    85     \l{Implementing Styles and Style Aware Widgets}{Styles} draw on behalf of widgets
    86     and encapsulate the look and feel of a GUI. Qt's built-in widgets use the QStyle
    87     class to perform nearly all of their drawing, ensuring that they look exactly like
    88     the equivalent native widgets.
    89    
    90     \table
    91     \row
    92     \o \image windowsxp-tabwidget.png
    93     \o \image plastique-tabwidget.png
    94     \o \image macintosh-tabwidget.png
    95     \endtable
     110  Advanced GUI widgets, e.g. tab widgets and progress bars, provide
     111  more complex user interface controls.
    96112
    97     \l{Qt Style Sheets} are a powerful mechanism that allows you to customize the
    98     appearance of widgets, in addition to what is already possible by subclassing QStyle.
    99 */
     113  \table
     114  \row
     115  \o \image windowsxp-treeview.png
     116  \o \image gtk-calendarwidget.png
     117  \o \image qundoview.png
     118  \endtable
    100119
    101 /*!
    102     \page widget-classes.html
    103     \title Widget Classes
     120  \annotatedlist advanced
    104121
    105     \contentspage Widgets and Layouts
    106     \nextpage Layout Management
     122  \table
     123  \row
     124  \o \image windowsvista-tabwidget.png
     125  \o \image macintosh-groupbox.png
     126  \endtable
    107127
    108     Below you find a list of all widget classes in Qt. You can also browse the
    109     widget classes Qt provides in the various supported styles in the
    110     \l{Qt Widget Gallery}.
     128  \section2 Organizer Widgets
    111129
    112     \tableofcontents
     130  Classes like splitters, tab bars, button groups, etc are used for
     131  organizing and grouping GUI primitives into more complex
     132  applications and dialogs.
    113133
    114     \section1 Basic Widgets
     134  \annotatedlist organizers
    115135
    116     These basic widgets (controls), such as buttons, comboboxes and scroll bars, are
    117     designed for direct use.
     136  \section2 Abstract Widget Classes
    118137
    119     \table
    120     \row
    121     \o \image windows-label.png
    122     \o \image windowsvista-pushbutton.png
    123     \o \image gtk-progressbar.png
    124     \row
    125     \o \image plastique-combobox.png
    126     \o \image macintosh-radiobutton.png
    127     \o \image cde-lineedit.png
    128     \endtable
     138  The abstract widget classes are base classes. They are not usable as
     139  standalone classes but provide functionality when they are subclassed.
    129140
    130     \annotatedlist basicwidgets
    131 
    132     \section1 Advanced Widgets
    133 
    134     Advanced GUI widgets such as tab widgets and progress bars provide more
    135     complex user interface controls.
    136 
    137     \table
    138     \row
    139     \o \image windowsxp-treeview.png
    140     \o \image gtk-calendarwidget.png
    141     \o \image qundoview.png
    142     \endtable
    143 
    144     \annotatedlist advanced
    145 
    146     \table
    147     \row
    148     \o \image windowsvista-tabwidget.png
    149     \o \image macintosh-groupbox.png
    150     \endtable
    151 
    152     \section1 Organizer Widgets
    153 
    154     Classes like splitters, tab bars, button groups, etc are used to
    155     organize and group GUI primitives into more complex applications or
    156     dialogs.
    157 
    158     \annotatedlist organizers
    159 
    160     \section1 Abstract Widget Classes
    161 
    162     Abstract widget classes usable through subclassing. They are generally
    163     not usable in themselves, but provide functionality that can be used
    164     by inheriting these classes.
    165 
    166     \annotatedlist abstractwidgets
     141  \annotatedlist abstractwidgets
    167142*/
    168143
Note: See TracChangeset for help on using the changeset viewer.