summaryrefslogtreecommitdiffstats
path: root/examples/declarative/border-image/borders.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/border-image/borders.qml')
-rw-r--r--examples/declarative/border-image/borders.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/declarative/border-image/borders.qml b/examples/declarative/border-image/borders.qml
new file mode 100644
index 0000000..9879416
--- /dev/null
+++ b/examples/declarative/border-image/borders.qml
@@ -0,0 +1,18 @@
+import Qt 4.6
+
+Rectangle {
+ id: page
+ color: "white"
+ width: 520; height: 280
+
+ BorderImage {
+ x: 20; y: 20; width: 230; height: 240
+ smooth: true
+ source: "content/colors-stretch.sci"
+ }
+ BorderImage {
+ x: 270; y: 20; width: 230; height: 240
+ smooth: true
+ source: "content/colors-round.sci"
+ }
+}