[844] | 1 | /****************************************************************************
|
---|
| 2 | **
|
---|
| 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
---|
| 4 | ** All rights reserved.
|
---|
| 5 | ** Contact: Nokia Corporation (qt-info@nokia.com)
|
---|
| 6 | **
|
---|
| 7 | ** This file is part of the documentation of the Qt Toolkit.
|
---|
| 8 | **
|
---|
| 9 | ** $QT_BEGIN_LICENSE:FDL$
|
---|
| 10 | ** Commercial Usage
|
---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
| 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.
|
---|
| 21 | **
|
---|
| 22 | ** If you have questions regarding the use of this file, please contact
|
---|
| 23 | ** Nokia at qt-info@nokia.com.
|
---|
| 24 | ** $QT_END_LICENSE$
|
---|
| 25 | **
|
---|
| 26 | ****************************************************************************/
|
---|
| 27 |
|
---|
| 28 | /*!
|
---|
| 29 | \title Qt Quick
|
---|
| 30 | \page qtquick.html
|
---|
| 31 | \ingroup qt-gui-concepts
|
---|
| 32 |
|
---|
| 33 | \brief Qt Quick provides a declarative framework for building highly
|
---|
| 34 | dynamic, custom user interfaces.
|
---|
| 35 |
|
---|
| 36 | \section1 Introduction
|
---|
| 37 |
|
---|
| 38 | Qt Quick is a collection of technologies that are designed to help
|
---|
| 39 | developers create the kind of intuitive, modern-looking, fluid user
|
---|
| 40 | interfaces that are increasingly used on mobile phones, media players,
|
---|
| 41 | set-top boxes and other portable devices.
|
---|
| 42 |
|
---|
| 43 | Qt Quick consists of a rich set of user interface elements, a declarative
|
---|
| 44 | language for describing user interfaces and a language runtime. A collection
|
---|
| 45 | of C++ APIs is used to integrate these high level features with classic
|
---|
| 46 | Qt applications.
|
---|
| 47 |
|
---|
| 48 | \section2 QML, Elements and the Qt Declarative Module
|
---|
| 49 |
|
---|
| 50 | User interfaces and their behavior are described using QML, an extension to
|
---|
| 51 | \l{About JavaScript}{JavaScript} that lets developers and designers
|
---|
| 52 | use a declarative syntax to specify each user interface in terms of
|
---|
| 53 | \l{QML Elements}{QML elements}. These elements are a sophisticated set of
|
---|
| 54 | graphical and behavioral building blocks that can be combined together in
|
---|
| 55 | \l{QML Documents}{QML documents} to build components ranging in complexity
|
---|
| 56 | from simple buttons and sliders, to complete Internet-enabled applications.
|
---|
| 57 |
|
---|
| 58 | QML improves the integration between JavaScript and Qt's existing
|
---|
| 59 | QObject-based type system, adds support for automatic
|
---|
| 60 | \l{Property Binding}{property bindings} and provides
|
---|
| 61 | \l{Network Transparency}{network transparency} at the language level.
|
---|
| 62 |
|
---|
| 63 | The Qt Declarative module implements the interface between the QML language
|
---|
| 64 | and the elements available to it. It also provides a C++ API that can be
|
---|
| 65 | used to load and interact with QML files from within Qt applications.
|
---|
| 66 |
|
---|
| 67 | Qt Quick builds on \l{QML for Qt programmers}{Qt's existing strengths}.
|
---|
| 68 | QML can be be used to incrementally extend an existing application or
|
---|
| 69 | to build completely new applications. QML is fully
|
---|
| 70 | \l{Extending QML in C++}{extensible from C++} through the Qt Declarative
|
---|
| 71 | Module.
|
---|
| 72 |
|
---|
| 73 | \section1 Getting Started
|
---|
| 74 |
|
---|
| 75 | \list
|
---|
| 76 | \o \l{What's new in Qt Quick}
|
---|
| 77 | \o \l{Introduction to the QML language}
|
---|
| 78 | \o \l{QML for Qt Programmers}
|
---|
| 79 | \o \l{Getting Started Programming with QML}
|
---|
| 80 | \o \l{Intro to Qt Quick}
|
---|
| 81 | \endlist
|
---|
| 82 |
|
---|
| 83 | \list
|
---|
| 84 | \o \l{QML Tutorial}{Tutorial: "Hello World"}
|
---|
| 85 | \o \l{QML Advanced Tutorial}{Tutorial: "Same Game"}
|
---|
| 86 | \o \l{QML Examples and Demos}
|
---|
| 87 | \endlist
|
---|
| 88 |
|
---|
| 89 | \section1 QML Concepts
|
---|
| 90 |
|
---|
| 91 | \list
|
---|
| 92 | \o \l{QML Documents}
|
---|
| 93 | \o \l{Property Binding}
|
---|
| 94 | \o \l{Anchor-based Layout in QML}
|
---|
| 95 | \o \l{Writing QML Components: Properties, Methods and Signals}
|
---|
| 96 | \o \l{QML Scope}
|
---|
| 97 | \o \l{QML Modules}
|
---|
| 98 | \endlist
|
---|
| 99 |
|
---|
| 100 | \section1 User Interaction
|
---|
| 101 |
|
---|
| 102 | \list
|
---|
| 103 | \o \l{Keyboard Focus in QML}
|
---|
| 104 | \o \l{QML States}
|
---|
| 105 | \o \l{QML Animation}
|
---|
| 106 | \endlist
|
---|
| 107 |
|
---|
| 108 | \section1 Handling Data
|
---|
| 109 |
|
---|
| 110 | \list
|
---|
| 111 | \o \l{QML Basic Types}{QML Basic Data Types}
|
---|
| 112 | \o \l{Using QML Positioner and Repeater Items}
|
---|
| 113 | \o \l{QML Data Models}
|
---|
| 114 | \o \l{Presenting Data with QML}
|
---|
| 115 | \o \l{Network Transparency}
|
---|
| 116 | \endlist
|
---|
| 117 |
|
---|
| 118 | \section1 Architecture
|
---|
| 119 |
|
---|
| 120 | \list
|
---|
| 121 | \o \l{Qt Declarative UI Runtime}
|
---|
| 122 | \o \l{Integrating JavaScript}
|
---|
| 123 | \o \l{Dynamic Object Management in QML}
|
---|
| 124 | \endlist
|
---|
| 125 |
|
---|
| 126 | \section1 Using QML with C++
|
---|
| 127 |
|
---|
| 128 | \list
|
---|
| 129 | \o \l{Qt Declarative UI Runtime}
|
---|
| 130 | \o \l{Using QML in C++ Applications}
|
---|
| 131 | \o \l{Integrating QML with existing Qt UI code}
|
---|
| 132 | \o \l{Tutorial: Writing QML extensions with C++}
|
---|
| 133 | \o \l{Extending QML in C++}
|
---|
| 134 | \endlist
|
---|
| 135 |
|
---|
| 136 | \section1 Reference
|
---|
| 137 |
|
---|
| 138 | \list
|
---|
| 139 | \o \l{QML Elements}
|
---|
| 140 | \o \l{QML Basic Types}
|
---|
| 141 | \o \l{QML Global Object}
|
---|
| 142 | \o \l{QML Internationalization}
|
---|
| 143 | \o \l{QML Security}
|
---|
| 144 | \o \l{Qt Declarative Module}
|
---|
| 145 | \o \l{Debugging QML}
|
---|
| 146 | \o \l{QML Viewer}
|
---|
| 147 | \o \l{QML Performance}
|
---|
| 148 | \o \l{QML Coding Conventions}
|
---|
| 149 | \endlist
|
---|
| 150 |
|
---|
| 151 | \section1 Online Examples
|
---|
| 152 |
|
---|
| 153 | \list
|
---|
| 154 | \o Forum Nokia:
|
---|
| 155 | \l{http://wiki.forum.nokia.com/index.php/Qt_Quick_examples_for_porting}{Qt Quick
|
---|
| 156 | examples for porting}
|
---|
| 157 | \endlist
|
---|
| 158 | */
|
---|