summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-08-13 03:28:05 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-08-13 03:28:05 (GMT)
commit019ae3a99ec0a308a7dd7efb6bdc54472e6e63aa (patch)
tree94838f0c1572e809da19c086018237cbbfdb1e01 /examples/declarative/listview
parentd51aa99179c0a30a7c78d8cf36d86f85ca887f7c (diff)
downloadQt-019ae3a99ec0a308a7dd7efb6bdc54472e6e63aa.zip
Qt-019ae3a99ec0a308a7dd7efb6bdc54472e6e63aa.tar.gz
Qt-019ae3a99ec0a308a7dd7efb6bdc54472e6e63aa.tar.bz2
Rename layouts to positioners
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r--examples/declarative/listview/highlight.qml2
-rw-r--r--examples/declarative/listview/itemlist.qml2
-rw-r--r--examples/declarative/listview/listview.qml2
-rw-r--r--examples/declarative/listview/recipes.qml4
-rw-r--r--examples/declarative/listview/sections.qml2
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/listview/highlight.qml b/examples/declarative/listview/highlight.qml
index 092ce66..ea9feb0 100644
--- a/examples/declarative/listview/highlight.qml
+++ b/examples/declarative/listview/highlight.qml
@@ -14,7 +14,7 @@ Rect {
Item {
id: Wrapper
width: 200; height: 50
- VerticalLayout {
+ VerticalPositioner {
Text { text: 'Name: ' + name }
Text { text: 'Type: ' + type }
Text { text: 'Age: ' + age }
diff --git a/examples/declarative/listview/itemlist.qml b/examples/declarative/listview/itemlist.qml
index 046321b..4b81614 100644
--- a/examples/declarative/listview/itemlist.qml
+++ b/examples/declarative/listview/itemlist.qml
@@ -40,7 +40,7 @@ Rect {
height: 30
width: 240
- HorizontalLayout {
+ HorizontalPositioner {
anchors.centerIn: parent
spacing: 20
Repeater {
diff --git a/examples/declarative/listview/listview.qml b/examples/declarative/listview/listview.qml
index 82b04ed..6b8d3d6 100644
--- a/examples/declarative/listview/listview.qml
+++ b/examples/declarative/listview/listview.qml
@@ -14,7 +14,7 @@ Rect {
Item {
id: Wrapper
width: 200; height: 50
- VerticalLayout {
+ VerticalPositioner {
Text { text: 'Name: ' + name }
Text { text: 'Type: ' + type }
Text { text: 'Age: ' + age }
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml
index 8b12527..7abadd0 100644
--- a/examples/declarative/listview/recipes.qml
+++ b/examples/declarative/listview/recipes.qml
@@ -37,7 +37,7 @@ Rect {
// Layout the page. Picture, title and ingredients at the top, method at the
// bottom. Note that elements that should not be visible in the list
// mode have their opacity set to wrapper.detailsOpacity.
- HorizontalLayout {
+ HorizontalPositioner {
id: topLayout
x: 10; y: 10; height: recipePic.height; width: parent.width
spacing: 10
@@ -45,7 +45,7 @@ Rect {
id: recipePic
source: picture; width: 48; height: 48
}
- VerticalLayout {
+ VerticalPositioner {
height: recipePic.height; width: background.width-recipePic.width-20
spacing: 5
Text { id: name; text: title; font.bold: true; font.size: 16 }
diff --git a/examples/declarative/listview/sections.qml b/examples/declarative/listview/sections.qml
index 415f524..ab9fbdf 100644
--- a/examples/declarative/listview/sections.qml
+++ b/examples/declarative/listview/sections.qml
@@ -36,7 +36,7 @@ Rect {
x: 5
height: Layout.height + 4
anchors.top: Separator.bottom
- VerticalLayout {
+ VerticalPositioner {
id: Layout
y: 2
Text { text: 'Name: ' + name }