User Tools

Site Tools


qt-quick-for-designers-1:layout_basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qt-quick-for-designers-1:layout_basics [2013/06/22 02:32] mithatqt-quick-for-designers-1:layout_basics [2013/07/06 23:04] (current) – [Element] mithat
Line 5: Line 5:
   * Structures in the QML markup language are called **elements**.   * Structures in the QML markup language are called **elements**.
   * Some elements are //visual// (e.g., images, shapes).   * Some elements are //visual// (e.g., images, shapes).
 +    * A visual element is an **Item**.
   * Some elements are //non-visual// (e.g., animations).   * Some elements are //non-visual// (e.g., animations).
  
Line 24: Line 25:
   * You can place multiple properties on the same line if you separate them with semicolons:   * You can place multiple properties on the same line if you separate them with semicolons:
 <code javascript> <code javascript>
-import QtQuick 1.0 
- 
 Item { Item {
    width: 100; height: 100    width: 100; height: 100
Line 152: Line 151:
 ===== Naming things ===== ===== Naming things =====
   * Elements can be named using the ''id'' property.   * Elements can be named using the ''id'' property.
-  * You often need to name an element so you can access it from outside itself.+  * You often need to name an element so you can refer to it from outside itself.
  
 <code javascript> <code javascript>
Line 177: Line 176:
 -------------------------------------------------------------- --------------------------------------------------------------
 ====== Resources ====== ====== Resources ======
-{{:qt-quick-for-designers-1:background.png?24|}} +  * {{:qt-quick-for-designers-1:images.zip|}} 
-{{:qt-quick-for-designers-1:button.png?24|}} +  * All source code is subject to this [[copyright header|copyright]].
-{{:qt-quick-for-designers-1:spaceship.png?24|}} +
qt-quick-for-designers-1/layout_basics.1371868343.txt.gz · Last modified: 2013/06/22 02:32 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki