diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-03-05 03:41:55 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-03-05 03:41:55 (GMT) |
commit | b771a3a1238bd843c962a3a2a7cb04e2dfaeadbf (patch) | |
tree | e33d64c8baeeb194f73cde209ecd03f5e1bf4e30 /examples/declarative | |
parent | 330e85d06600d50972f8abfeec6086e7e8ad6bc1 (diff) | |
download | Qt-b771a3a1238bd843c962a3a2a7cb04e2dfaeadbf.zip Qt-b771a3a1238bd843c962a3a2a7cb04e2dfaeadbf.tar.gz Qt-b771a3a1238bd843c962a3a2a7cb04e2dfaeadbf.tar.bz2 |
Delete uninspiring example.
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/anchors/anchor-changes.qml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/examples/declarative/anchors/anchor-changes.qml b/examples/declarative/anchors/anchor-changes.qml deleted file mode 100644 index 99ca3db..0000000 --- a/examples/declarative/anchors/anchor-changes.qml +++ /dev/null @@ -1,46 +0,0 @@ -import Qt 4.6 - -Item { - id: window - width: 200; height: 450 - - Rectangle { - id: titleBar; color: "Gray" - anchors.top: parent.top; height: 50 - width: parent.width - } - - Rectangle { - id: statusBar; color: "Gray" - height: 50; anchors.bottom: parent.bottom - width: parent.width - } - - Rectangle { - id: content - anchors.top: titleBar.bottom; anchors.bottom: statusBar.top - width: parent.width - - Text { text: "Top"; anchors.top: parent.top } - Text { text: "Bottom"; anchors.bottom: parent.bottom } - } - - MouseArea { - anchors.fill: content - onPressed: window.state = "FullScreen" - onReleased: window.state = "" - } - - states : State { - name: "FullScreen" - //! [0] - AnchorChanges { - target: content; top: window.top; bottom: window.bottom - } - //! [0] - } - - transitions : Transition { - NumberAnimation { properties: "y,height" } - } -} |