diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 11:38:48 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-29 03:38:40 (GMT) |
commit | 28a72e09be58628e6f30c6bd345ff1fe63a117a4 (patch) | |
tree | 498532983521169118d125a375104a9c3a0e11c7 /demos | |
parent | b1af9212cb0f7fe85458677aee8de3ad94a8883a (diff) | |
download | Qt-28a72e09be58628e6f30c6bd345ff1fe63a117a4.zip Qt-28a72e09be58628e6f30c6bd345ff1fe63a117a4.tar.gz Qt-28a72e09be58628e6f30c6bd345ff1fe63a117a4.tar.bz2 |
fix calculator example
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/calculator/calculator.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml index 001730d..1cc8fa8 100644 --- a/demos/declarative/calculator/calculator.qml +++ b/demos/declarative/calculator/calculator.qml @@ -58,21 +58,21 @@ Rect { GridLayout { id: NumKeypad; y: 32; spacing: 2; columns: 3 - CalcButton { operation: 7 } - CalcButton { operation: 8 } - CalcButton { operation: 9 } - CalcButton { operation: 4 } - CalcButton { operation: 5 } - CalcButton { operation: 6 } - CalcButton { operation: 1 } - CalcButton { operation: 2 } - CalcButton { operation: 3 } + CalcButton { operation: "7" } + CalcButton { operation: "8" } + CalcButton { operation: "9" } + CalcButton { operation: "4" } + CalcButton { operation: "5" } + CalcButton { operation: "6" } + CalcButton { operation: "1" } + CalcButton { operation: "2" } + CalcButton { operation: "3" } } HorizontalLayout { y: 128; spacing: 2 - CalcButton { operation: 0; width: 50 } + CalcButton { operation: "0"; width: 50 } CalcButton { operation: "."; x: 77; width: 50 } CalcButton { operation: "="; id: Equals; x: 77; width: 102 } } |