summaryrefslogtreecommitdiff
path: root/demos/declarative/calculator
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-08-13 15:13:39 +1000
committerAlan Alpert <alan.alpert@nokia.com>2009-08-13 15:13:39 +1000
commitf73493f1ac5a8c1a5e739d7645135a8edfb60261 (patch)
tree4a0327221f1b3aad3b70804fb9ab135cac201664 /demos/declarative/calculator
parent019ae3a99ec0a308a7dd7efb6bdc54472e6e63aa (diff)
downloadqt4-tools-f73493f1ac5a8c1a5e739d7645135a8edfb60261.tar.gz
Missed converting demos when renaming layout->positioner
Diffstat (limited to 'demos/declarative/calculator')
-rw-r--r--demos/declarative/calculator/calculator.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml
index a4e16e4199..42e1422825 100644
--- a/demos/declarative/calculator/calculator.qml
+++ b/demos/declarative/calculator/calculator.qml
@@ -7,7 +7,7 @@ Rect {
Palette { id: Palette }
Script { source: "calculator.js" }
- VerticalLayout {
+ VerticalPositioner {
x: 2; spacing: 10; margin: 2
Rect {
@@ -56,7 +56,7 @@ Rect {
CalcButton { operation: "C"; id: C; width: 76 }
CalcButton { operation: "AC"; id: AC; x: 78; width: 76 }
- GridLayout {
+ GridPositioner {
id: NumKeypad; y: 32; spacing: 2; columns: 3
CalcButton { operation: "7" }
@@ -70,7 +70,7 @@ Rect {
CalcButton { operation: "3" }
}
- HorizontalLayout {
+ HorizontalPositioner {
y: 128; spacing: 2
CalcButton { operation: "0"; width: 50 }
@@ -78,7 +78,7 @@ Rect {
CalcButton { operation: "="; id: Equals; x: 77; width: 102 }
}
- VerticalLayout {
+ VerticalPositioner {
id: SimpleOperations
x: 156; y: 0; spacing: 2
@@ -89,7 +89,7 @@ Rect {
}
}
- GridLayout {
+ GridPositioner {
id: AdvancedButtons
x: 350; spacing: 2; columns: 2; opacity: 0