diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/webview/embedding/egg.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/webview/embedding/egg.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/webview/embedding/egg.qml b/tests/auto/declarative/qmlvisual/webview/embedding/egg.qml new file mode 100644 index 0000000..fe1bb70 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/webview/embedding/egg.qml @@ -0,0 +1,26 @@ +import Qt 4.6 + +Item { + property var period : 250 + property var color : "black" + id: root + + Item { + x: root.width/2 + y: root.height/2 + Rectangle { + radius: width/2 + color: root.color + x: -width/2 + y: -height/2 + width: root.width*1.5 + height: root.height*1.5 + } + rotation: NumberAnimation { + from: 0 + to: 360 + repeat: true + duration: root.period + } + } +} |