summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/GroupBox.qml')
-rw-r--r--doc/src/snippets/declarative/GroupBox.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/GroupBox.qml b/doc/src/snippets/declarative/GroupBox.qml
new file mode 100644
index 0000000..6c5431e
--- /dev/null
+++ b/doc/src/snippets/declarative/GroupBox.qml
@@ -0,0 +1,15 @@
+import Qt 4.6
+
+ContentWrapper {
+ id: container; width: parent.width; height: contents.height
+ children: [
+ Rectangle {
+ width: parent.width; height: contents.height
+ color: "white"; pen.width: 2; pen.color: "#adaeb0"; radius: 10
+ Column {
+ id: layout; width: parent.width; margin: 5; spacing: 2
+ Content { }
+ }
+ }
+ ]
+}