summaryrefslogtreecommitdiffstats
path: root/examples/declarative/border-image/shadows.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-04-30 11:43:12 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-04-30 11:43:12 (GMT)
commit6103c282707bac2d585473d45900d69d475cf0c2 (patch)
treec36bd5818b85bcdc62226b6f430576f08c303e1c /examples/declarative/border-image/shadows.qml
parent3e6a12e90d05d24bca68128d60215c207a416ef6 (diff)
parent0b7a84684e0b2065208172d7145e838c7a653b83 (diff)
downloadQt-6103c282707bac2d585473d45900d69d475cf0c2.zip
Qt-6103c282707bac2d585473d45900d69d475cf0c2.tar.gz
Qt-6103c282707bac2d585473d45900d69d475cf0c2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (68 commits) Don't create an anchors element so that we can check that there aren't any Ensure eval and Function are in the correct scope Add availableFonts.qml for fonts examples. Add Qt.fontFamilies() method Avoid regenerating PathView delegates needlessly When a model delegate is released, remove it from the scene immediately. Fix assignment of value types to javascript var. More doc fixes Make QDeclarativeParserStatus method pure virtual to encourage right code. Doc fixes Fix error string Add QML value types for math3d types Fix assert in qdeclarativepathview Avoid divisions by zero in qdeclarativetimeline Initialize variable. Doc: mention that size of delegate affects flicking performance. buffer new items on initialization. Compile with QT_NO_GRAPHICSEFFECT. Fix translation context when qsTr is used in PropertyChanges. missed files ...
Diffstat (limited to 'examples/declarative/border-image/shadows.qml')
-rw-r--r--examples/declarative/border-image/shadows.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/declarative/border-image/shadows.qml b/examples/declarative/border-image/shadows.qml
new file mode 100644
index 0000000..a08d133
--- /dev/null
+++ b/examples/declarative/border-image/shadows.qml
@@ -0,0 +1,24 @@
+import Qt 4.7
+import "content"
+
+Rectangle {
+ id: window
+
+ width: 480; height: 320
+ color: "gray"
+
+ ShadowRectangle {
+ anchors.centerIn: parent; width: 250; height: 250
+ color: "lightsteelblue"
+ }
+
+ ShadowRectangle {
+ anchors.centerIn: parent; width: 200; height: 200
+ color: "steelblue"
+ }
+
+ ShadowRectangle {
+ anchors.centerIn: parent; width: 150; height: 150
+ color: "thistle"
+ }
+}