diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-17 03:49:08 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-17 03:49:08 (GMT) |
commit | 94061234eb560c3a8e94abba7589c2df65d98fa8 (patch) | |
tree | 31337b0a57412d11e62a31a8194dfc4f8f04422c /examples/declarative/dial | |
parent | 467face42d2db216860dade5f5d817a8cddb86f3 (diff) | |
download | Qt-94061234eb560c3a8e94abba7589c2df65d98fa8.zip Qt-94061234eb560c3a8e94abba7589c2df65d98fa8.tar.gz Qt-94061234eb560c3a8e94abba7589c2df65d98fa8.tar.bz2 |
Add smooth: true to dial example.
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r-- | examples/declarative/dial/DialLibrary/Dial.qml | 4 | ||||
-rw-r--r-- | examples/declarative/dial/dial.qml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml index eb9ed3a..08308fa 100644 --- a/examples/declarative/dial/DialLibrary/Dial.qml +++ b/examples/declarative/dial/DialLibrary/Dial.qml @@ -18,8 +18,8 @@ Item { } Image { id: Needle - x: 95 - y: 33 + x: 95; y: 33 + smooth: true source: "needle.png" transform: Rotation { id: NeedleRotation diff --git a/examples/declarative/dial/dial.qml b/examples/declarative/dial/dial.qml index ab31852..3773bcc 100644 --- a/examples/declarative/dial/dial.qml +++ b/examples/declarative/dial/dial.qml @@ -15,11 +15,11 @@ Rect { GradientStop { position: 0.0; color: "steelblue" } GradientStop { position: 1.0; color: "lightsteelblue" } } - radius: 8; opacity: 0.7 + radius: 8; opacity: 0.7; smooth: true Rect { id: Slider x: 2; y: 2; width: 30; height: 12 - radius: 6 + radius: 6; smooth: true gradient: Gradient { GradientStop { position: 0.0; color: "lightgray" } GradientStop { position: 1.0; color: "gray" } |