~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to src/widgets/doc/src/widgets-and-layouts/gallery-gtk.qdoc

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
**
 
3
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
 
4
** Contact: http://www.qt-project.org/legal
 
5
**
 
6
** This file is part of the documentation of the Qt Toolkit.
 
7
**
 
8
** $QT_BEGIN_LICENSE:FDL$
 
9
** Commercial License Usage
 
10
** Licensees holding valid commercial Qt licenses may use this file in
 
11
** accordance with the commercial license agreement provided with the
 
12
** Software or, alternatively, in accordance with the terms contained in
 
13
** a written agreement between you and Digia.  For licensing terms and
 
14
** conditions see http://qt.digia.com/licensing.  For further information
 
15
** use the contact form at http://qt.digia.com/contact-us.
 
16
**
 
17
** GNU Free Documentation License Usage
 
18
** Alternatively, this file may be used under the terms of the GNU Free
 
19
** Documentation License version 1.3 as published by the Free Software
 
20
** Foundation and appearing in the file included in the packaging of
 
21
** this file.  Please review the following information to ensure
 
22
** the GNU Free Documentation License version 1.3 requirements
 
23
** will be met: http://www.gnu.org/copyleft/fdl.html.
 
24
** $QT_END_LICENSE$
 
25
**
 
26
****************************************************************************/
 
27
 
 
28
/*!
 
29
  \page gallery-gtk.html
 
30
 
 
31
  \title GTK Style Widget Gallery
 
32
  \ingroup gallery
 
33
 
 
34
  This page shows some of the widgets available in Qt
 
35
  when configured to use the "gtk" style. This style is
 
36
  only available on desktop environments with GTK runtime
 
37
  support. This style provides native look'n'feel by
 
38
  integrating to the GTK platform theme. Thus, the final
 
39
  appearance varies depending on the active GTK theme.
 
40
 
 
41
\section2 Buttons
 
42
 
 
43
\table 100%
 
44
\row
 
45
\li \image gtk-pushbutton.png
 
46
   \caption The QPushButton widget provides a command button.
 
47
\li \image gtk-toolbutton.png
 
48
   \caption The QToolButton class provides a quick-access button to commands
 
49
    or options, usually used inside a QToolBar.
 
50
\endtable
 
51
 
 
52
\table 100%
 
53
\row
 
54
\li \image gtk-checkbox.png
 
55
   \caption The QCheckBox widget provides a checkbox with a text label.
 
56
\li \image gtk-radiobutton.png
 
57
   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
 
58
\endtable
 
59
 
 
60
\section2 Containers
 
61
 
 
62
\table 100%
 
63
\row
 
64
\li \image gtk-groupbox.png
 
65
   The The QGroupBox widget provides a group box frame with a title.
 
66
\li \image gtk-tabwidget.png
 
67
   The QTabWidget class provides a stack of tabbed widgets.
 
68
\li \image gtk-frame.png
 
69
   The QFrame widget provides a simple decorated container for other widgets.
 
70
\li \image gtk-toolbox.png
 
71
   The QToolBox class provides a column of tabbed widget items.
 
72
\endtable
 
73
 
 
74
\section2 Item Views
 
75
 
 
76
\table 100%
 
77
\row
 
78
\li \image gtk-listview.png
 
79
   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.
 
80
\li \image gtk-treeview.png
 
81
   The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.
 
82
\li \image gtk-tableview.png
 
83
   The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\li
 
84
\li
 
85
\endtable
 
86
 
 
87
\section2 Display Widgets
 
88
 
 
89
\table 100%
 
90
\row
 
91
\li \image gtk-progressbar.png
 
92
   The QProgressBar widget provides a horizontal progress bar.
 
93
\li \image gtk-label.png
 
94
   The QLabel widget provides a text or image display.
 
95
\li \image gtk-lcdnumber.png
 
96
   The QLCDNumber widget displays a number with LCD-like digits.
 
97
\endtable
 
98
 
 
99
\section2 Input Widgets
 
100
 
 
101
\table 100%
 
102
\row
 
103
\li \image gtk-lineedit.png
 
104
   The QLineEdit widget is a one-line text editor.
 
105
\li \image gtk-dateedit.png
 
106
   The QDateEdit class provides a widget for editing dates.
 
107
\li \image gtk-timeedit.png
 
108
   The QTimeEdit class provides a widget for editing times.
 
109
\li \image gtk-datetimeedit.png
 
110
   The QDateTimeEdit class provides a widget for editing dates and times.
 
111
\endtable
 
112
 
 
113
\table 100%
 
114
\row
 
115
\li \image gtk-slider.png
 
116
   The QSlider widget provides a vertical or horizontal slider.
 
117
\li \image gtk-combobox.png
 
118
   The QComboBox widget is a combined button and pop-up list.
 
119
\li \image gtk-spinbox.png
 
120
   The QSpinBox class provides a spin box widget.
 
121
\endtable
 
122
 
 
123
\table 100%
 
124
\row
 
125
\li \image gtk-fontcombobox.png
 
126
   The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.
 
127
\li \image gtk-doublespinbox.png
 
128
   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
 
129
\li \image gtk-horizontalscrollbar.png
 
130
   The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.
 
131
\endtable
 
132
 
 
133
\table 100%
 
134
\row
 
135
\li \image gtk-dial.png
 
136
   The QDial class provides a rounded range control (like a speedometer or potentiometer).
 
137
\li \image gtk-textedit.png
 
138
   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
 
139
\li \image gtk-calendarwidget.png
 
140
   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
 
141
\endtable
 
142
*/