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