summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/flickable/Day.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/flickable/Day.qml')
-rw-r--r--tests/auto/declarative/visual/flickable/Day.qml32
1 files changed, 25 insertions, 7 deletions
diff --git a/tests/auto/declarative/visual/flickable/Day.qml b/tests/auto/declarative/visual/flickable/Day.qml
index 0765e2f..63fbc78 100644
--- a/tests/auto/declarative/visual/flickable/Day.qml
+++ b/tests/auto/declarative/visual/flickable/Day.qml
@@ -1,8 +1,26 @@
-<Rect width="400" height="500" radius="7" pen.color="black" id="Page">
- <properties>
- <Property name="day" type="string" />
- </properties>
+Rect {
+ property string day
- <Image x="10" y="10" file="cork.jpg" opaque="true"/>
- <Text x="20" y="20" height="40" font.size="14" font.bold="true" width="370" text="{day}" style="Outline" styleColor="#dedede"/>
-</Rect>
+ width: 400
+ height: 500
+ radius: 7
+ pen.color: "black"
+ id: Page
+ Image {
+ x: 10
+ y: 10
+ source: "cork.jpg"
+ opaque: true
+ }
+ Text {
+ x: 20
+ y: 20
+ height: 40
+ font.size: 14
+ font.bold: true
+ width: 370
+ text: day
+ style: "Outline"
+ styleColor: "#dedede"
+ }
+}