qt-quick-for-designers-1:layout_basics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qt-quick-for-designers-1:layout_basics [2013/06/22 02:32] – mithat | qt-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 // | * Some elements are // | ||
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 { | ||
| | ||
Line 152: | Line 151: | ||
===== Naming things ===== | ===== Naming things ===== | ||
* Elements can be named using the '' | * Elements can be named using the '' | ||
- | * You often need to name an element so you can access | + | * 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 ====== | ||
- | {{: | + | * {{: |
- | {{: | + | * All source code is subject to this [[copyright header|copyright]]. |
- | {{: | + |
qt-quick-for-designers-1/layout_basics.1371868343.txt.gz · Last modified: 2013/06/22 02:32 by mithat