Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / assignBasicTypes.qml
1 import Qt.test 1.0
2 import QtQuick 1.0
3
4 MyTypeObject {
5     Component.onCompleted: {
6         flagProperty = "FlagVal1 | FlagVal3"
7         enumProperty = "EnumVal2"
8         stringProperty = "Hello World!"
9         uintProperty = 10
10         intProperty = -19
11         realProperty = 23.2
12         doubleProperty = -19.75
13         floatProperty = 8.5
14         colorProperty = "red"
15         dateProperty = "1982-11-25"
16         timeProperty = "11:11:32" 
17         dateTimeProperty = "2009-05-12T13:22:01"
18         pointProperty = "99,13"
19         pointFProperty = "-10.1,12.3"
20         sizeProperty = "99x13"
21         sizeFProperty = "0.1x0.2"
22         rectProperty = "9,7,100x200"
23         rectFProperty = "1000.1,-10.9,400x90.99"
24         boolProperty = true
25         variantProperty = "Hello World!"
26         vectorProperty = "10,1,2.2"
27         urlProperty = "main.qml"
28     }
29 }