Commit ecbe304d authored by Vikas Pachdha's avatar Vikas Pachdha
Browse files

Add data to test asset importer merge algorithm

parent ed589808
{
"uuid": {
"4ab63232e9c71ac5d71c3cdc25f19795": "mybutton",
"12a37764fe6a8ff63bbea24a720452c1": "buttonback",
"9757307c097eae31f76fd74ed3ae89e2": "buttonoff"
},
"mapping": {
"mybutton": "mybutton",
"buttonback": "buttonback",
"buttonoff": "buttonoff"
}
}
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Item {
id: child1
opacity: 0.1
}
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
Item {
id: child2
opacity: 0.2
}
}
Image {
id: buttonoff
x: 65
y: width/2
source: "assets/buttonoff.png"
Item {
id: child3
opacity: 0.3
}
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:2;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:4;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Item {
id: child1
opacity: 0.1
}
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
Item {
id: child2
opacity: 0.2
}
}
Image {
id: buttonoff
x: 65
y: width/2
source: "assets/buttonoff.png"
Item {
id: child3
opacity: 0.3
}
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:2;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:4;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
{
"uuid": {
"4ab63232e9c71ac5d71c3cdc25f19795": "mybutton",
"12a37764fe6a8ff63bbea24a720452c1": "buttonback",
"9757307c097eae31f76fd74ed3ae89e2": "buttonoff"
},
"mapping": {
"mybutton": "mybutton",
"buttonback": "buttonback",
"buttonoff": "buttonoff"
}
}
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
Item {
id: root
property int value: 5
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: root
property int value: 5
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
}
/*##^##
Designer {
D{i:1;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:2;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:3;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
{
"uuid": {
"4ab63232e9c71ac5d71c3cdc25f19795": "mybutton",
"12a37764fe6a8ff63bbea24a720452c1": "buttonback",
"9757307c097eae31f76fd74ed3ae89e2": "buttonoff"
},
"mapping": {
"mybutton": "mybutton",
"buttonback": "buttonback",
"buttonoff": "buttonoff"
}
}
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
opacity: 0.8
Image {
id: buttonback
x: 0
y: 1
z:6
source: "assets/buttonback.png"
}
Image {
id: buttonoff
property real ratio: 6.8
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 400
height: 400
opacity: 0.8
Image {
id: buttonback
x: 0
y: 1
z:6
source: "assets/buttonback.png"
}
Image {
id: buttonoff
property real ratio: 6.8
x: 65
y: 55
source: "assets/buttonoff.png"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}
}
##^##*/
{
"uuid": {
"4ab63232e9c71ac5d71c3cdc25f19795": "mybutton",
"12a37764fe6a8ff63bbea24a720452c1": "buttonback",
"9757307c097eae31f76fd74ed3ae89e2": "buttonoff",
"a6f275b82f2863b83c295e3b9fcc3dfe": "buttonlabel",
"2a3129eb4a0d7163c81df128eb178e52": "buttonon",
"f1f02a431b4b6c674f05496fbd8c3e90": "buttonreadout"
},
"mapping": {
"mybutton": "mybutton",
"buttonback": "buttonback",
"buttonoff": "buttonoff",
"buttonlabel": "buttonlabel",
"buttonon": "buttonon",
"buttonreadout": "buttonreadout"
}
}
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
state: "false"
property alias buttonreadoutText: buttonreadout.text
property bool isTrue: false
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
Image {
id: buttonon
x: 65
y: 55
source: "assets/buttonon.png"
}
Text {
id: buttonreadout
x: 112
y: 305
width: 263
height: 65
color: "#FFFFFF"
text: "LABEL"
font.pixelSize: 83
horizontalAlignment: Text.AlignLeft
font.family: "Helvetica"
font.styleName: "Regular"
}
Text {
id: buttonlabel
x: 97
y: 123
width: 285
height: 66
color: "#FFFFFF"
text: "PRESS"
font.pixelSize: 83
horizontalAlignment: Text.AlignLeft
font.family: "Helvetica"
font.styleName: "Regular"
}
MouseArea {
id: mouseArea
anchors.fill: parent
Connections {
target: mouseArea
onReleased: mybutton.isTrue = !mybutton.isTrue
}
}
states: [
State {
name: "false"
when: !mybutton.isTrue && !mouseArea.pressed
PropertyChanges {
target: buttonon
visible: false
}
PropertyChanges {
target: buttonlabel
text: "NO"
}
},
State {
name: "true"
when: mybutton.isTrue && !mouseArea.pressed
PropertyChanges {
target: buttonlabel
text: "YES"
}
},
State {
name: "pressed"
when: mouseArea.pressed
PropertyChanges {
target: buttonlabel
text: "PRESS"
}
PropertyChanges {
target: buttonon
visible: false
}
PropertyChanges {
target: buttonoff
visible: false
}
}
]
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}D{i:3;uuid:"2a3129eb4a0d7163c81df128eb178e52"}
D{i:4;uuid:"f1f02a431b4b6c674f05496fbd8c3e90"}D{i:5;uuid:"a6f275b82f2863b83c295e3b9fcc3dfe"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
Image {
id: buttonon
x: 65
y: 55
source: "assets/buttonon.png"
}
Text {
id: buttonreadout
x: 112
y: 305
width: 263
height: 65
color: "#FFFFFF"
text: "LABEL"
font.pixelSize: 83
horizontalAlignment: Text.AlignLeft
font.family: "Helvetica"
font.styleName: "Regular"
}
Text {
id: buttonlabel
x: 97
y: 123
width: 285
height: 66
color: "#FFFFFF"
text: "PRESS"
font.pixelSize: 83
horizontalAlignment: Text.AlignLeft
font.family: "Helvetica"
font.styleName: "Regular"
}
}
/*##^##
Designer {
D{i:0;uuid:"4ab63232e9c71ac5d71c3cdc25f19795"}D{i:1;uuid:"12a37764fe6a8ff63bbea24a720452c1"}
D{i:2;uuid:"9757307c097eae31f76fd74ed3ae89e2"}D{i:3;uuid:"2a3129eb4a0d7163c81df128eb178e52"}
D{i:4;uuid:"f1f02a431b4b6c674f05496fbd8c3e90"}D{i:5;uuid:"a6f275b82f2863b83c295e3b9fcc3dfe"}
}
##^##*/
import QtQuick 2.8
Item {
id: mybutton
width: 487
height: 429
state: "false"
property alias buttonreadoutText: buttonreadout.text
property bool isTrue: false
Image {
id: buttonback
x: 0
y: 1
source: "assets/buttonback.png"
}
Image {
id: buttonoff
x: 65
y: 55
source: "assets/buttonoff.png"
}
Image {
id: buttonon
x: 65
y: 55
source: "assets/buttonon.png"
}
Text {
id: buttonreadout
x: 0
y: 305
width: 485
height: 65
color: "#FFFFFF"
text: "LABEL"
font.pixelSize: 83
horizontalAlignment: Text.AlignHCenter
font.styleName: "Regular"
font.family: "Helvetica"
}
Text {
id: buttonlabel
x: 97
y: 123
width: 285
height: 66
color: "#FFFFFF"
text: "PRESS"
font.pixelSize: 83
horizontalAlignment: Text.AlignHCenter
font.styleName: "Regular"