Commit 92357e7a authored by Vikas Pachdha's avatar Vikas Pachdha

Testdata for sketch overrides

parent c3807003
import QtQuick 2.8
Item {
id: button
width: 162
height: 58
property alias okText: ok.text
property alias elementText: element.text
Image {
id: buttonAsset
source: "assets/button.png"
}
Text {
id: ok
x: 0
y: 19
width: 162
height: 17
color: "#ff1f1515"
text: "OK"
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignBottom
font.family: "Helvetica"
font.pixelSize: 14
}
Text {
id: element
x: 80
y: 1
width: 81
height: 12
color: "#ff1f1515"
text: "Default"
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignBottom
font.family: "Helvetica"
font.pixelSize: 10
}
MouseArea {
id: hotspot
x: 0
y: 0
width: 162
height: 58
}
}
/*##^## Designer {
D{i:0;UUID:"328AA181-446F-43F6-9BD7-C050233F7908"}D{i:1;UUID:"328AA181-446F-43F6-9BD7-C050233F7908_asset"}
D{i:2;UUID:"9F3D16FE-E524-4BDE-9A95-C00ECC46ACFB"}D{i:3;UUID:"F8A7F931-E01C-4CC1-AF60-87DB05F1D200"}
D{i:4;UUID:"4ED615DE-3CE5-45A6-8F4D-9BC8AD09F4CF"}
}
##^##*/
import QtQuick 2.8
Item {
id: main
width: 390
height: 369
Image {
id: mainAsset
source: "assets/main.png"
}
Button {
id: cancel_button
x: 107
y: 267
width: 162
height: 58
okText: "Cancel"
}
Button {
id: ok_button
x: 95
y: 56
width: 127
height: 47
elementText: "Warning"
}
}
/*##^## Designer {
D{i:0;UUID:"9D8B3BFA-FA35-4D61-93B0-E503FF7398AD"}D{i:1;UUID:"9D8B3BFA-FA35-4D61-93B0-E503FF7398AD_asset"}
D{i:2;UUID:"C6FA1056-47D3-4DD0-A5F2-E6049F0DEF78"}D{i:3;UUID:"D459576E-054E-47CD-B270-7818D4063081"}
}
##^##*/
import QtQuick 2.8
Item {
id: settings
width: 360
height: 362
property alias select_button: select_button
Image {
id: settingsAsset
source: "assets/settings.png"
}
Button {
id: select_button
x: 79
y: 269
width: 162
height: 58
okText: "Select"
elementText: "Error"
}
}
/*##^## Designer {
D{i:0;UUID:"08AC0A99-A496-46F0-86F8-AFFAA67EFAE5"}D{i:1;UUID:"08AC0A99-A496-46F0-86F8-AFFAA67EFAE5_asset"}
D{i:2;UUID:"3F9897F8-6702-43FB-8F4A-6F713353D746"}
}
##^##*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment