summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-12-13 07:08:09 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-12-13 07:08:09 (GMT)
commit2e2f26072647b08292955ebad631c34d58c828f9 (patch)
treeb7a61b98191e8c2c7a1cb1753d17113ad653b691
parentad653d169aaecf6273787a01797c7647a13eec04 (diff)
downloadQt-2e2f26072647b08292955ebad631c34d58c828f9.zip
Qt-2e2f26072647b08292955ebad631c34d58c828f9.tar.gz
Qt-2e2f26072647b08292955ebad631c34d58c828f9.tar.bz2
Revert "Add mirroring-positioners.qml example" that was accidentally pushed
This reverts commit 18b940539d0633f30ae055feedb48aeb15969814.
-rw-r--r--examples/declarative/positioners/mirroring-positioners.qml70
1 files changed, 0 insertions, 70 deletions
diff --git a/examples/declarative/positioners/mirroring-positioners.qml b/examples/declarative/positioners/mirroring-positioners.qml
deleted file mode 100644
index 0db95dd..0000000
--- a/examples/declarative/positioners/mirroring-positioners.qml
+++ /dev/null
@@ -1,70 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- width: column.width+10
- height: column.height+10
- property bool arabic: false
- Column {
- id: column
- spacing: 10
- anchors.centerIn: parent
- Text {
- text: "Row"
- anchors.horizontalCenter: parent.horizontalCenter
- }
- Row {
- flow: arabic ? Row.RightToLeft : Row.LeftToRight
- spacing: 10
- Repeater {
- model: 4
- Loader {
- property int value: index
- sourceComponent: delegate
- }
- }
- }
- Text {
- text: "Grid"
- anchors.horizontalCenter: parent.horizontalCenter
- }
- Grid {
- flow: arabic ? Grid.RightToLeft : Grid.LeftToRight
- spacing: 10; columns: 4
- Repeater {
- model: 11
- Loader {
- property int value: index
- sourceComponent: delegate
- }
- }
- }
- Rectangle {
- height: 50; width: parent.width
- color: mouseArea.pressed ? "black" : "gray"
- Text {
- text: arabic ? "RTL" : "LTR"
- color: "white"
- font.pixelSize: 20
- anchors.centerIn: parent
- }
- MouseArea {
- id: mouseArea
- onClicked: arabic = !arabic
- anchors.fill: parent
- }
- }
- }
- Component {
- id: delegate
- Rectangle {
- width: 50; height: 50
- color: Qt.rgba(0.8/(parent.value+1),0.8/(parent.value+1),0.8/(parent.value+1),1.0)
- Text {
- text: parent.parent.value+1
- color: "white"
- font.pixelSize: 20
- anchors.centerIn: parent
- }
- }
- }
-}