aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/examples/examples.qdoc
blob: 5e9949df989b005790424185057cef649017eb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.  For licensing terms and
** conditions see http://qt.digia.com/licensing.  For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Free Documentation License Usage
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file.  Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: http://www.gnu.org/copyleft/fdl.html.
** $QT_END_LICENSE$
**
****************************************************************************/

/*!

\page qtquick-codesamples.html
\title Qt Quick Code Samples
\brief Building UIs with QML
\ingroup all-examples
\ingroup qtquick
\target qtquick-samples
\inqmlmodule QtQuick 2

These are code samples that show how to use various aspects of Qt Quick. Larger
compound interfaces are grouped as applications as they demonstrate more Qt
Quick features.

To run the sample applications, open them in Qt Creator or use the included
\l {Prototyping with qmlscene}{qmlscene} tool.

Some of these code samples have a corresponding \l{qtquick-tutorials}{tutorial}.
The Qt Quick features are covered in the \l {qtquick-overviews}{main page}.
This set of code samples are part of the collection of \l{Qt Examples}.

\div {class="threecolumn_area"}
    \div {class="heading"}
    Qt Quick Applications
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/calculator}{Calculator}
        \image qml-calculator-example-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/flickr}{Flickr Mobile}
        \image qml-flickr-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/minehunt}{Minehunt}
        \image qml-minehunt-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/photoviewer}{Photo Viewer}
        \image qml-photoviewer-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/rssnews}{RSS News Reader}
        \image qml-rssnews-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/samegame}{Same Game}
        \image qml-samegame-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/snake}{Snake}
        \image qml-snake-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/twitter}{Twitter}
        \image qml-twitter-demo-small.png
    \enddiv
    \div {class="threecolumn_piece"}
        \l{demos/webbrowser}{Web Browser}
        \image qml-webbrowser-demo-small.png
    \enddiv
\enddiv
\div {class="threecolumn_area"}
    \div {class="heading"}
    QML Examples
    \enddiv
    Code samples demonstrate a general use for QML features. Some showcase
    how elements or properties can be used in an application.
    \li \l{quick/keyinteraction}{Keyboard Focus}
    \li \l{quick/mousearea}{MouseArea}
    \li \l{quick/animation}{Animations}
    \li \l{quick/positioners}{Positioners}
    \li \l{quick/righttoleft}{Right to Left}
    \li \l{quick/modelviews}{Model Views}
    \li \l{quick/imageelements}{Image Elements}
    \li \l{localstorage}{SQL Local Storage}
    \li \l{qml/xmlhttprequest}{XmlHttpRequest}
    \li \l{qml/i18n}{Translation}
    \li \l{quick/threading}{Threading}
    \li \l{quick/shadereffects}{Shader Effects}
    \endlist
\enddiv
\div {class="threecolumn_area"}
    \div {class="heading"}
        QDeclarative Examples
    \enddiv
    These examples show how a QML based UI could interact with the
    QDeclarative module.
    \div {class="threecolumn_piece"}
        \div {class="heading"}
        From Qt C++ to QML
        \enddiv
        \list
        \li \l {qml/cppextensions/referenceexamples/adding}{Exporting C++ Classes}
        \li \l {qml/cppextensions/referenceexamples/properties}{Exporting Qt C++ Properties}
        \li \l {qml/cppextensions/referenceexamples/coercion}{C++ Inheritance and Coercion}
        \li \l {qml/cppextensions/referenceexamples/default}{Default Property}
        \li \l {qml/cppextensions/referenceexamples/grouped}{Grouped Properties}
        \li \l {qml/cppextensions/referenceexamples/attached}{Attached Properties}
        \li \l {qml/cppextensions/referenceexamples/signal}{Signal Support}
        \li \l {qml/cppextensions/referenceexamples/methods}{Methods Support}
        \li \l {qml/cppextensions/referenceexamples/valuesource}{Property Value Source}
        \li \l {qml/cppextensions/referenceexamples/binding}{Binding}
        \endlist
    \enddiv
    \div {class="threecolumn_piece"}
        \div {class="heading"}
        Plugins and Resources
        \enddiv
        \list
        \li \l{qml/cppextensions/plugins}{Plugins}
        \li \l{qml/cppextensions/imageprovider}{Image Provider}
        \li \l{qml/cppextensions/networkaccessmanagerfactory}{Network Access Manager}
        \li \l{src/imports/folderlistmodel}{Folder List Model} - a C++ model plugin
        \endlist
    \enddiv
    \div {class="threecolumn_piece"}
        \div {class="heading"}
        Qt UI and QML Integration
        \enddiv
        \list
        \li \l{qml-cppextensions-qgraphicslayouts.html}{QGraphicsLayouts}
        \li \l{qml/cppextensions/qwidgets}{QWidgets}
        \endlist
    \enddiv
    \div {class="threecolumn_piece"}
        \div {class="heading"}
        UI Components
        \enddiv
        \list
        \li \l{tutorials/ui-components/dialcontrol}{Dial Control}
        \li \l{tutorials/ui-components/flipable}{Flipable}
        \li \l{tutorials/ui-components/progressbar}{Progress Bar}
        \li \l{tutorials/ui-components/scrollbar}{Scroll Bar}
        \li \l{tutorials/ui-components/searchbox}{Search Box}
        \li \l{tutorials/ui-components/slideswitch}{Slide Switch}
        \li \l{tutorials/ui-components/spinner}{Spinner}
        \li \l{tutorials/ui-components/tabwidget}{Tab Widget}
        \endlist
    \enddiv
\enddiv

\div {class="threecolumn_area"}
    \div {class="heading"}
        Learning and Resources
    \enddiv
    The Qt Developer Network contains additional content such as learning
    videos, a wiki, and a forum for posting questions.
    \div {class="threecolumn_piece"}
        \div {class="heading"}
            Elements and Components
        \enddiv
        \list
        \li \l{QML Types provided by the QtQuick Module}
        \li \l{external: Qt Mobility QML Plugins}{QML Plugins}
        \li \l{external: Qt Quick Components for Symbian}{Symbian Components}
        \li MeeGo Components
        \li \l{QtWebKit QML Module}
        \endlist
    \enddiv
    \div {class="threecolumn_piece"}
        \div {class="heading"}
            Qt Developer Network
        \enddiv
        \list
        \li \l{Qt eLearning}{Training Materials}
        \li \l{Forums on Qt Developer Network}{Forums}
        \li \l{Wiki on Qt Developer Network}{Wiki}
        \endlist
    \enddiv
    \div {class="threecolumn_piece"}
        \div {class="heading"}
            Reference
        \enddiv
        \list
        \li \l{All Classes}{Qt API}
        \li \l{external: Qt Creator Manual}{Qt Creator Manual}
        \li \l{Develop with Qt}
        \endlist
    \enddiv
\enddiv
*/