diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-24 07:14:33 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-24 07:14:33 (GMT) |
commit | 148b3d9fd6f3fa11ded6a6c6ef44548b8422c0c4 (patch) | |
tree | 512e5ad12e9b90f138c8c38dd3c5dd835a89d16b /doc/src/declarative/qmlintro.qdoc | |
parent | 635dc8d2746a1409e7cdd91cfa451519248715bb (diff) | |
download | Qt-148b3d9fd6f3fa11ded6a6c6ef44548b8422c0c4.zip Qt-148b3d9fd6f3fa11ded6a6c6ef44548b8422c0c4.tar.gz Qt-148b3d9fd6f3fa11ded6a6c6ef44548b8422c0c4.tar.bz2 |
Doc
Diffstat (limited to 'doc/src/declarative/qmlintro.qdoc')
-rw-r--r-- | doc/src/declarative/qmlintro.qdoc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/src/declarative/qmlintro.qdoc b/doc/src/declarative/qmlintro.qdoc index 2487a85..78462db 100644 --- a/doc/src/declarative/qmlintro.qdoc +++ b/doc/src/declarative/qmlintro.qdoc @@ -45,14 +45,10 @@ \tableofcontents -\section1 What is QML? - QML is a declarative language designed to describe the user interface of a program: both what it looks like, and how it behaves. In QML, a user interface is specified as a tree of objects with properties. -\section1 What should I know before starting? - This introduction is meant for those with little or no programming experience. JavaScript is used as a scripting language in QML, so you may want to learn a bit more about it (\l{JavaScript: The Definitive Guide}) before diving @@ -80,10 +76,9 @@ types always begin with a capital letter. In the above example, there are two objects, a \l Rectangle, and an \l Image. Between the braces, we can specify information about the object, such as its properties. -Properties are specified as \c {property: value} (much like CSS). In the above -example, we can see the Image has a property named \c source, which has been -assigned the value \c "pics/logo.png". The property and its value are -separated by a colon. +Properties are specified as \c {property: value}. In the above example, we +can see the Image has a property named \c source, which has been assigned the +value \c "pics/logo.png". The property and its value are separated by a colon. Properties can be specified one-per-line: |