diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-19 07:02:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-19 07:02:29 (GMT) |
commit | e6fa564cb2f562eaca675872c08af14614a76283 (patch) | |
tree | 972547c4f8e426317a88016be75dd207e4bcfd2e /examples/declarative/dial | |
parent | 7a9fb0de42835bc4297ac04b901a33f99680f744 (diff) | |
download | Qt-e6fa564cb2f562eaca675872c08af14614a76283.zip Qt-e6fa564cb2f562eaca675872c08af14614a76283.tar.gz Qt-e6fa564cb2f562eaca675872c08af14614a76283.tar.bz2 |
Reduce the size of the images to the minimum possible
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r-- | examples/declarative/dial/DialLibrary/Dial.qml | 10 | ||||
-rw-r--r-- | examples/declarative/dial/DialLibrary/needle.png | bin | 1078 -> 342 bytes | |||
-rw-r--r-- | examples/declarative/dial/DialLibrary/needle_shadow.png | bin | 1401 -> 632 bytes | |||
-rw-r--r-- | examples/declarative/dial/DialLibrary/overlay.png | bin | 4389 -> 3564 bytes |
4 files changed, 7 insertions, 3 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml index 32c58cd..6cd42df 100644 --- a/examples/declarative/dial/DialLibrary/Dial.qml +++ b/examples/declarative/dial/DialLibrary/Dial.qml @@ -6,18 +6,22 @@ Item { Image { id: Background; source: "background.png" } Image { + x: 93 + y: 35 source: "needle_shadow.png" transform: Rotation { - originX: 104; originY: 102 + originX: 11; originY: 67 angle: NeedleRotation.angle } } Image { id: Needle + x: 95 + y: 33 source: "needle.png" transform: Rotation { id: NeedleRotation - originX: 102; originY: 98 + originX: 7; originY: 65 angle: -130 angle: Follow { spring: 1.4 @@ -26,5 +30,5 @@ Item { } } } - Image { source: "overlay.png" } + Image { x: 21; y: 18; source: "overlay.png" } } diff --git a/examples/declarative/dial/DialLibrary/needle.png b/examples/declarative/dial/DialLibrary/needle.png Binary files differindex c171b43..2d19f75 100644 --- a/examples/declarative/dial/DialLibrary/needle.png +++ b/examples/declarative/dial/DialLibrary/needle.png diff --git a/examples/declarative/dial/DialLibrary/needle_shadow.png b/examples/declarative/dial/DialLibrary/needle_shadow.png Binary files differindex 4e1ac0c..8d8a928 100644 --- a/examples/declarative/dial/DialLibrary/needle_shadow.png +++ b/examples/declarative/dial/DialLibrary/needle_shadow.png diff --git a/examples/declarative/dial/DialLibrary/overlay.png b/examples/declarative/dial/DialLibrary/overlay.png Binary files differindex 3341a16..3860a7b 100644 --- a/examples/declarative/dial/DialLibrary/overlay.png +++ b/examples/declarative/dial/DialLibrary/overlay.png |