diff options
Diffstat (limited to 'doc/src/declarative/qtquick-intro.qdoc')
-rw-r--r-- | doc/src/declarative/qtquick-intro.qdoc | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/doc/src/declarative/qtquick-intro.qdoc b/doc/src/declarative/qtquick-intro.qdoc index 2315030..1bbae8f 100644 --- a/doc/src/declarative/qtquick-intro.qdoc +++ b/doc/src/declarative/qtquick-intro.qdoc @@ -29,25 +29,34 @@ \page qml-intro.html \title Intro to Qt Quick -Qt Quick is a collection of technologies that are designed to help developers create the kind of intuitive, modern, and fluid user interfaces that are increasingly used on mobile phones, media players, set-top boxes, and other portable devices. Qt Quick consists of a rich set of user interface \l{QML Elements}{elements}, a \l{QML Syntax}{declarative} language for describing user interfaces, and a language \l{QtDeclarative Module}{runtime}. A collection of C++ APIs is used to integrate these high level features with classic Qt applications. Version 2.1 of the Qt Creator integrated development environment (IDE) introduces tools for developing Qt Quick applications. +Qt Quick is a collection of technologies that are designed to help developers +create the kind of intuitive, modern, and fluid user interfaces that are +increasingly used on mobile phones, media players, set-top boxes, and other +portable devices. Qt Quick consists of a rich set of user interface +\l{QML Elements}{elements}, a \l{QML Syntax}{declarative} language for +describing user interfaces, and a language \l{QtDeclarative Module}{runtime}. A +collection of C++ APIs is used to integrate these high level features with +classic Qt applications. Version 2.1 of the Qt Creator integrated development +environment (IDE) introduces tools for developing Qt Quick applications. \image qml-clocks-example.png \section1 The QML Language -QML is a high level, scripted language. Its commands, more correctly \e elements, -leverage the power and efficiency of the Qt libraries to make easy to use -commands that perform intuitive functions. Drawing a rectangle, displaying an -image, and application events -- all are possible with declarative programming. +QML is a high level, scripted language. Its commands, more correctly +\e elements, leverage the power and efficiency of the Qt libraries to make easy +to use commands that perform intuitive functions. Drawing a rectangle, +displaying an image, and application events -- all are possible with declarative +programming. The language also allows more flexibility of these commands by using \l{About JavaScript}{JavaScript} to implement the high level user interface logic. -A QML element usually has various \e properties that help define the element. For -example, if we created an element called Circle then the radius of the circle -would be a property. Building user interfaces by importing these elements is one -of the great feature of QML and Qt Quick. +A QML element usually has various \e properties that help define the element. +For example, if we created an element called Circle then the radius of the +circle would be a property. Building user interfaces by importing these elements +is one of the great feature of QML and Qt Quick. \image qml-texteditor5_newfile.png \section1 QtDeclarative Module @@ -55,7 +64,8 @@ of the great feature of QML and Qt Quick. To make Qt Quick possible, Qt introduces the \l {QtDeclarative} module. The module creates a JavaScript runtime that QML runs under with a Qt based backend. Because QtDeclarative and QML are built upon Qt, they inherit many of Qt's -technology, namely the \l{Signals and Slots}{signals and slots} mechanism and the \l{The Meta-Object System}{meta-object} system. Data created using C++ are +technology, namely the \l{Signals and Slots}{signals and slots} mechanism and +the \l{The Meta-Object System}{meta-object} system. Data created using C++ are directly accessible from QML and QML objects are also accessible from C++ code. In conjunction with the QML language, the QtDeclarative module separates the @@ -63,7 +73,8 @@ interface logic in QML from the application logic in C++. \section1 Creator Tools -Qt Creator is a complete integrated development environment (IDE) for creating applications with Qt Quick and the Qt application framework. +Qt Creator is a complete integrated development environment (IDE) for creating +applications with Qt Quick and the Qt application framework. \image qmldesigner-visual-editor.png @@ -98,8 +109,8 @@ system. \section1 Where to Go from Here -The \l {Qt Quick} page has links to various Qt Quick topics such as QML features, -addons, and tools. +The \l {Qt Quick} page has links to various Qt Quick topics such as QML +features, addons, and tools. The \l {QML Examples and Demos} page has a gallery of QML applications. */ |