summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/positioners.qdoc
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-13 18:57:01 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-13 18:57:01 (GMT)
commit5cb2226ddf96555417f08c9bfe35addfc93f6acd (patch)
tree6a33ffe9f4117fe2034e77b137c8c68f9e5219d0 /doc/src/declarative/positioners.qdoc
parent38ac76c159044117c1faba7dbfa3e0ee65c487ed (diff)
downloadQt-5cb2226ddf96555417f08c9bfe35addfc93f6acd.zip
Qt-5cb2226ddf96555417f08c9bfe35addfc93f6acd.tar.gz
Qt-5cb2226ddf96555417f08c9bfe35addfc93f6acd.tar.bz2
Doc: Changed floating images to use the new float qdoc macros.
Diffstat (limited to 'doc/src/declarative/positioners.qdoc')
-rw-r--r--doc/src/declarative/positioners.qdoc22
1 files changed, 6 insertions, 16 deletions
diff --git a/doc/src/declarative/positioners.qdoc b/doc/src/declarative/positioners.qdoc
index 9265732..ed320a1 100644
--- a/doc/src/declarative/positioners.qdoc
+++ b/doc/src/declarative/positioners.qdoc
@@ -53,9 +53,7 @@ graphical elements:
\section2 Column
-\beginfloatright
-\image qml-column.png
-\endfloat
+\floatright qml-column.png
\l Column items are used to vertically arrange items. The following example
uses a Column item to arrange three \l Rectangle items in an area defined
@@ -70,9 +68,7 @@ must be added to a parent Rectangle, if desired.
\section2 Row
-\beginfloatright
-\image qml-row.png
-\endfloat
+\floatright qml-row.png
\l Row items are used to horizontally arrange items. The following example
uses a Row item to arrange three rounded \l Rectangle items in an area defined
@@ -87,9 +83,7 @@ left around the edges of the horizontally centered Row item.
\section2 Grid
-\beginfloatright
-\image qml-grid-spacing.png
-\endfloat
+\floatright qml-grid-spacing.png
\l Grid items are used to place items in a grid or table arrangement.
The following example uses a Grid item to place four \l Rectangle items
@@ -108,10 +102,8 @@ at the appropriate places in the Grid definition.
\section2 Flow
-\beginfloatright
-\image qml-flow-text1.png
-\image qml-flow-text2.png
-\endfloat
+\floatright qml-flow-text1.png
+\floatright qml-flow-text2.png
\l Flow items are used to place items like words on a page, with rows or
columns of non-overlapping items.
@@ -137,9 +129,7 @@ control of spacing between items and between lines of items.
\section1 Repeaters
-\beginfloatright
-\image qml-repeater-grid-index.png
-\endfloat
+\floatright qml-repeater-grid-index.png
Repeaters create items from a template for use with positioners, using data
from a model. Combining repeaters and positioners is an easy way to lay out