diff options
Diffstat (limited to 'demos/declarative/samegame')
-rw-r--r-- | demos/declarative/samegame/SameGame.qml | 4 | ||||
-rw-r--r-- | demos/declarative/samegame/content/Button.qml | 2 | ||||
-rw-r--r-- | demos/declarative/samegame/content/Dialog.qml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml index 42c313c..00853ad 100644 --- a/demos/declarative/samegame/SameGame.qml +++ b/demos/declarative/samegame/SameGame.qml @@ -2,11 +2,11 @@ import Qt 4.6 import "content" -Rect { +Rectangle { id: page; width: 460; height: 700; color: activePalette.window Script { source: "content/samegame.js" } Palette { id: activePalette; colorGroup: "Active" } - Rect { + Rectangle { id: gameCanvas property int score: 0 z:20; y:20; color: "white"; border.width: 1 diff --git a/demos/declarative/samegame/content/Button.qml b/demos/declarative/samegame/content/Button.qml index e3d0d30..70b175c 100644 --- a/demos/declarative/samegame/content/Button.qml +++ b/demos/declarative/samegame/content/Button.qml @@ -1,6 +1,6 @@ import Qt 4.6 -Rect { +Rectangle { id: page; color: activePalette.button; width: txtItem.width+20; height: txtItem.height+4 border.width: 1; border.color: activePalette.mid; radius: 10; signal clicked diff --git a/demos/declarative/samegame/content/Dialog.qml b/demos/declarative/samegame/content/Dialog.qml index 7326d73..a3c5f33 100644 --- a/demos/declarative/samegame/content/Dialog.qml +++ b/demos/declarative/samegame/content/Dialog.qml @@ -1,6 +1,6 @@ import Qt 4.6 -Rect { +Rectangle { id: page color: "white"; border.width: 1; width: 200; height: 60; property string text: "Hello World!" |