summaryrefslogtreecommitdiffstats
path: root/examples/declarative/slideswitch/slideswitch.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/slideswitch/slideswitch.qml')
-rw-r--r--examples/declarative/slideswitch/slideswitch.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/declarative/slideswitch/slideswitch.qml b/examples/declarative/slideswitch/slideswitch.qml
new file mode 100644
index 0000000..396749f
--- /dev/null
+++ b/examples/declarative/slideswitch/slideswitch.qml
@@ -0,0 +1,11 @@
+import Qt 4.6
+import "content"
+
+Rectangle {
+ color: "white"
+ width: 400; height: 250
+
+//![0]
+ Switch { anchors.centerIn: parent; on: false }
+//![0]
+}