aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml42
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml b/tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml
deleted file mode 100644
index 9804af4df6..0000000000
--- a/tests/auto/declarative/qdeclarativevaluetypes/data/conflicting.2.qml
+++ /dev/null
@@ -1,42 +0,0 @@
-import QtQuick 2.0
-
-Rectangle {
- id: root
-
- width: 800
- height: 600
-
- property alias font: myText.font
-
- property int myPixelSize: 12
- property int myPixelSize2: 24
-
- Text {
- id: other
- font.pixelSize: 6
- }
-
- Text {
- id: myText
-
- text: "Hello world!"
- font: other.font
- }
-
- states: State {
- name: "Swapped"
- PropertyChanges {
- target: myText
- font.pixelSize: myPixelSize
- }
- }
-
- function toggle() {
- if (root.state == "") root.state = "Swapped"; else root.state = "";
- }
-
- MouseArea {
- anchors.fill: parent
- onClicked: { if (root.state == "") root.state = "Swapped"; else root.state = "";}
- }
-}