diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-01 08:24:14 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-01 08:24:14 (GMT) |
commit | afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541 (patch) | |
tree | 42e1450324edac2c29eccdb4f3b391c8954b08e9 /examples/declarative/dial | |
parent | f5e2c51efd24445e46c3dcad30e9137b1beecc1d (diff) | |
download | Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.zip Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.gz Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.bz2 |
Use QML properties syntax
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r-- | examples/declarative/dial/DialLibrary/Dial.qml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml index fe8528d..485188a 100644 --- a/examples/declarative/dial/DialLibrary/Dial.qml +++ b/examples/declarative/dial/DialLibrary/Dial.qml @@ -1,11 +1,9 @@ Item { + property real value : 0 + width: 210 height: 210 - properties: Property { - name: "value" - type: "real" - value: 0 - } + Image { id: Background source: "background.svg" |