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:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • 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*/
Note: See TracChangeset for help on using the changeset viewer.