diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 02:08:33 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 02:25:05 (GMT) |
commit | 5bcf21e6bbbfa2c990197695963caba25530827c (patch) | |
tree | b88475e69a35d4e98754fe7b18f78b0cba6ce82a /examples/declarative | |
parent | f9062c44fc21da110fcfae68b19c70d4da7b3fc0 (diff) | |
download | Qt-5bcf21e6bbbfa2c990197695963caba25530827c.zip Qt-5bcf21e6bbbfa2c990197695963caba25530827c.tar.gz Qt-5bcf21e6bbbfa2c990197695963caba25530827c.tar.bz2 |
Remove (undocumented) QML bindings for effects.
Support for effects will be introduced in a future release, when
we can make better guarantees about performance.
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/effects/effects.qml | 65 | ||||
-rw-r--r-- | examples/declarative/effects/effects.qmlproject | 16 | ||||
-rw-r--r-- | examples/declarative/effects/pic.png | bin | 12933 -> 0 bytes |
3 files changed, 0 insertions, 81 deletions
diff --git a/examples/declarative/effects/effects.qml b/examples/declarative/effects/effects.qml deleted file mode 100644 index feb7c69..0000000 --- a/examples/declarative/effects/effects.qml +++ /dev/null @@ -1,65 +0,0 @@ -import Qt 4.7 - -Rectangle { - width: 400; height: 200 - - Image { - id: blur - x: 5 - source: "pic.png" - - effect: Blur { - NumberAnimation on blurRadius { - id: blurEffect - running: false - from: 0; to: 10 - duration: 1000 - loops: Animation.Infinite - } - } - - MouseArea { anchors.fill: parent; onClicked: blurEffect.running = !blurEffect.running } - } - - Text { text: "Blur"; anchors.top: blur.bottom; anchors.horizontalCenter: blur.horizontalCenter } - - Image { - id: dropShadow - source: "pic.png" - x: 135 - - effect: DropShadow { - blurRadius: 3 - offset.x: 3 - - NumberAnimation on offset.y { - id: dropShadowEffect - from: 0; to: 10 - duration: 1000 - running: false - loops: Animation.Infinite - } - } - - MouseArea { anchors.fill: parent; onClicked: dropShadowEffect.running = !dropShadowEffect.running } - } - - Image { - id: colorize - source: "pic.png" - x: 265 - - effect: Colorize { color: "blue" } - } - - Text { text: "Colorize"; anchors.top: colorize.bottom; anchors.horizontalCenter: colorize.horizontalCenter } - - Text { text: "Drop Shadow"; anchors.top: dropShadow.bottom; anchors.horizontalCenter: dropShadow.horizontalCenter } - - Text { - y: 155; anchors.horizontalCenter: parent.horizontalCenter - text: "Clicking Blur or Drop Shadow will \ntoggle animation." - color: "black" - } - -} diff --git a/examples/declarative/effects/effects.qmlproject b/examples/declarative/effects/effects.qmlproject deleted file mode 100644 index d4909f8..0000000 --- a/examples/declarative/effects/effects.qmlproject +++ /dev/null @@ -1,16 +0,0 @@ -import QmlProject 1.0 - -Project { - /* Include .qml, .js, and image files from current directory and subdirectories */ - QmlFiles { - directory: "." - } - JavaScriptFiles { - directory: "." - } - ImageFiles { - directory: "." - } - /* List of plugin directories passed to QML runtime */ - // importPaths: [ " ../exampleplugin " ] -} diff --git a/examples/declarative/effects/pic.png b/examples/declarative/effects/pic.png Binary files differdeleted file mode 100644 index 051e738..0000000 --- a/examples/declarative/effects/pic.png +++ /dev/null |