summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-14 15:07:48 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-14 15:07:48 (GMT)
commitcbfeb79c80a774166e016e7c879bba465ffc0496 (patch)
treee8242de08e3a0e27d86782ea9cc694260411bff1 /src/declarative/util
parentbf835c2e69b3bc37145e572f68554bf771eeec3f (diff)
downloadQt-cbfeb79c80a774166e016e7c879bba465ffc0496.zip
Qt-cbfeb79c80a774166e016e7c879bba465ffc0496.tar.gz
Qt-cbfeb79c80a774166e016e7c879bba465ffc0496.tar.bz2
Doc: Used div elements for floats, updated the style sheet.
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativelistmodel.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativelistmodel.cpp b/src/declarative/util/qdeclarativelistmodel.cpp
index 52e563b..0f117f5 100644
--- a/src/declarative/util/qdeclarativelistmodel.cpp
+++ b/src/declarative/util/qdeclarativelistmodel.cpp
@@ -108,7 +108,9 @@ QDeclarativeListModelParser::ListInstruction *QDeclarativeListModelParser::ListM
The following example shows a ListModel containing three elements, with the roles
"name" and "cost".
- \floatright listmodel.png
+ \div {float-right}
+ \inlineimage listmodel.png
+ \enddiv
\snippet doc/src/snippets/declarative/listmodel.qml 0
@@ -131,7 +133,9 @@ QDeclarativeListModelParser::ListInstruction *QDeclarativeListModelParser::ListM
The delegate displays all the fruit attributes:
- \floatright listmodel-nested.png
+ \div {float-right}
+ \inlineimage listmodel-nested.png
+ \enddiv
\snippet doc/src/snippets/declarative/listmodel-nested.qml delegate