diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 06:34:44 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 08:15:20 (GMT) |
commit | 21e87b18698c50bcfe0800509563e71c79aae0bb (patch) | |
tree | 4567cb8a5bd3127fe98d7ce5a5042550bca48b7b /examples/declarative/dial | |
parent | 51555ed45f6397fa7cdfae771ee6275733bce615 (diff) | |
download | Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2 |
Renaming Rect -> Rectangle
Diffstat (limited to 'examples/declarative/dial')
-rw-r--r-- | examples/declarative/dial/dial.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/dial/dial.qml b/examples/declarative/dial/dial.qml index 75bd65c..472ac66 100644 --- a/examples/declarative/dial/dial.qml +++ b/examples/declarative/dial/dial.qml @@ -1,14 +1,14 @@ import Qt 4.6 import "DialLibrary" -Rect { +Rectangle { color: "white" width: 210; height: 240 // Dial with a slider to adjust it Dial { id: Dial; value: Slider.x-2 } - Rect { + Rectangle { anchors.top: Dial.bottom x: 20; width: 160; height: 16 gradient: Gradient { @@ -16,7 +16,7 @@ Rect { GradientStop { position: 1.0; color: "lightsteelblue" } } radius: 8; opacity: 0.7; smooth: true - Rect { + Rectangle { id: Slider x: 2; y: 2; width: 30; height: 12 radius: 6; smooth: true |