Commit db814696 authored by Vikas Pachdha's avatar Vikas Pachdha

Add master sketch file

Test position, basic sketch elements, groups, effects, symbols
parent 8adb4cd7
import QtQuick 2.8
Item {
id: button
width: 222
height: 79
property alias greeniconSource: greenicon.source
property alias labelText: label.text
Image {
id: buttonAsset
x: 0
y: 0
source: "assets/button.png"
}
Text {
id: label
x: 103
y: 8
width: 111
height: 68
color: "#ff000000"
text: "Label"
verticalAlignment: Text.AlignVCenter
font.family: "Helvetica"
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 18
}
Loader {
id: greenicon
x: 7
y: 6
width: 71
height: 68
source: "Greenicon.ui.qml"
}
}
/*##^##
Designer {
D{i:0;UUID:"5F60DF6A-9B54-4D06-BC20-22F6D6F04256"}D{i:1;UUID:"5F60DF6A-9B54-4D06-BC20-22F6D6F04256_asset"}
D{i:2;UUID:"5EE0D016-C115-4BF4-A819-E786445E4994"}D{i:3;UUID:"A944FC4D-9381-4C65-88B9-B165EFB41A69"}
}
##^##*/
import QtQuick 2.8
Item {
id: greenicon
width: 71
height: 68
Image {
id: greeniconAsset
x: 0
y: 0
source: "assets/greenicon.png"
}
}
/*##^##
Designer {
D{i:0;UUID:"1D0B778F-5B3B-45EC-ADA3-04E440F233A9"}D{i:1;UUID:"1D0B778F-5B3B-45EC-ADA3-04E440F233A9_asset"}
}
##^##*/
import QtQuick 2.8
Item {
id: homepage
width: 414
height: 896
Image {
id: homepageAsset
x: 0
y: 0
source: "assets/homepage.png"
}
Button {
id: submit
x: 96
y: 804
width: 222
height: 79
labelText: "Submit"
greeniconSource: "Redicon.ui.qml"
}
Button {
id: ok
x: 96
y: 707
width: 222
height: 79
labelText: "OK"
}
Item {
id: group
x: 59
y: 18
width: 259
height: 442
Image {
id: r2
x: 44
y: 179
source: "assets/r2.png"
}
Image {
id: r1
x: 164
y: 30
source: "assets/r1.png"
}
Item {
id: innergroup
x: 45
y: 256
width: 174
height: 186
Image {
id: r_inner2
x: -1
y: 67
source: "assets/r_inner2.png"
}
Image {
id: r_inner1
x: 119
y: -1
source: "assets/r_inner1.png"
}
}
}
}
/*##^##
Designer {
D{i:0;UUID:"ED62A8D2-65A7-44D9-BD13-A8687C4DEEA8"}D{i:1;UUID:"ED62A8D2-65A7-44D9-BD13-A8687C4DEEA8_asset"}
D{i:2;UUID:"574E47E7-BFC3-4385-8C3E-0E873FDA1225"}D{i:3;UUID:"199C79A7-B8C8-45A4-A8E3-FD11FC20218F"}
D{i:5;UUID:"DBEE22BD-0FFD-4886-83FE-39D5939F069F"}D{i:6;UUID:"A0D5B30E-1C7F-4739-A1CA-3669553CDF3B"}
D{i:8;UUID:"CD76063C-69B1-4D02-86B1-634585984659"}D{i:9;UUID:"377AB6A2-4E4B-45DE-B357-20087AB2684B"}
D{i:7;UUID:"CAC7F5A8-B34E-4D43-B09C-E893E4ABF3DE"}D{i:4;UUID:"50C1DBFC-AF5E-48D2-B1DF-979F5B2B5753"}
}
##^##*/
import QtQuick 2.8
Item {
id: redicon
width: 71
height: 68
Image {
id: rediconAsset
x: 0
y: 0
source: "assets/redicon.png"
}
}
/*##^##
Designer {
D{i:0;UUID:"BB4AFA1F-AC34-4B90-8DBD-6AA4D2E52893"}D{i:1;UUID:"BB4AFA1F-AC34-4B90-8DBD-6AA4D2E52893_asset"}
}
##^##*/
{
"pluginInfo": {
"applicationId": "SketechApp",
"applicationVersion": "64",
"extensionVersion": "1.5.0",
"metadataVersion": "1.1"
},
"documentInfo": {
"name": "master",
"metadata": {
"jsonExportPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master",
"scaleFormat": [
{
"formats": "png",
"scales": "1",
"use-id-for-name": true,
"overwriting": true
},
{
"formats": "png",
"scales": "2",
"use-id-for-name": true,
"overwriting": true
}
],
"formatOptions": {
"png": {
"save-for-web": false
},
"jpg": {
"progressive": false,
"compression": 1
},
"svg": {
"include-namespaces": false,
"compact": true
}
}
}
},
"artboards": [
{
"name": "homePage",
"x": 1076,
"y": 283,
"width": 414,
"height": 896,
"metadata": {
"qmlId": "homepage",
"uuid": "ED62A8D2-65A7-44D9-BD13-A8687C4DEEA8",
"exportType": "component",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/ED62A8D2-65A7-44D9-BD13-A8687C4DEEA8.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/ED62A8D2-65A7-44D9-BD13-A8687C4DEEA8@2x.png"
],
"assetBounds": {
"x": 0,
"y": 0,
"width": 414,
"height": 896
}
}
},
"layerIndex": 0,
"children": [
{
"name": "Submit",
"x": 96,
"y": 804,
"width": 222,
"height": 79,
"metadata": {
"qmlId": "submit",
"uuid": "574E47E7-BFC3-4385-8C3E-0E873FDA1225",
"exportType": "child",
"internalReference": "5F60DF6A-9B54-4D06-BC20-22F6D6F04256",
"qmlVisible": true,
"opacity": 1,
"aliasOverrides": [
{
"name": "source",
"value": "BB4AFA1F-AC34-4B90-8DBD-6AA4D2E52893",
"targetId": "A944FC4D-9381-4C65-88B9-B165EFB41A69"
},
{
"name": "text",
"value": "\"Submit\"",
"targetId": "5EE0D016-C115-4BF4-A819-E786445E4994"
}
]
},
"layerIndex": 0
},
{
"name": "OK",
"x": 96,
"y": 707,
"width": 222,
"height": 79,
"metadata": {
"qmlId": "ok",
"uuid": "199C79A7-B8C8-45A4-A8E3-FD11FC20218F",
"exportType": "child",
"internalReference": "5F60DF6A-9B54-4D06-BC20-22F6D6F04256",
"qmlVisible": true,
"opacity": 1,
"aliasOverrides": [
{
"name": "text",
"value": "\"OK\"",
"targetId": "5EE0D016-C115-4BF4-A819-E786445E4994"
}
]
},
"layerIndex": 1
},
{
"name": "Group",
"x": 59,
"y": 18,
"width": 259,
"height": 442,
"metadata": {
"qmlId": "group",
"uuid": "50C1DBFC-AF5E-48D2-B1DF-979F5B2B5753",
"exportType": "child",
"qmlVisible": true,
"opacity": 1
},
"layerIndex": 2,
"children": [
{
"name": "Skipped",
"x": 0,
"y": 0,
"width": 63,
"height": 65,
"metadata": {
"qmlId": "skipped",
"uuid": "4CFF67A7-4013-4035-9354-DBEF0590B683",
"exportType": "skip",
"qmlVisible": true,
"opacity": 1
},
"layerIndex": 0
},
{
"name": "R2",
"x": 45,
"y": 180,
"width": 87,
"height": 76,
"metadata": {
"qmlId": "r2",
"uuid": "DBEE22BD-0FFD-4886-83FE-39D5939F069F",
"exportType": "child",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/DBEE22BD-0FFD-4886-83FE-39D5939F069F.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/DBEE22BD-0FFD-4886-83FE-39D5939F069F@2x.png"
],
"assetBounds": {
"x": 44,
"y": 179,
"width": 103,
"height": 102
}
}
},
"layerIndex": 1
},
{
"name": "R1",
"x": 179,
"y": 55,
"width": 80,
"height": 100,
"metadata": {
"qmlId": "r1",
"uuid": "A0D5B30E-1C7F-4739-A1CA-3669553CDF3B",
"exportType": "child",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/A0D5B30E-1C7F-4739-A1CA-3669553CDF3B.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/A0D5B30E-1C7F-4739-A1CA-3669553CDF3B@2x.png"
],
"assetBounds": {
"x": 164,
"y": 30,
"width": 96,
"height": 126
}
}
},
"layerIndex": 2
},
{
"name": "InnerGroup",
"x": 45,
"y": 256,
"width": 174,
"height": 186,
"metadata": {
"qmlId": "innergroup",
"uuid": "CAC7F5A8-B34E-4D43-B09C-E893E4ABF3DE",
"exportType": "child",
"qmlVisible": true,
"opacity": 1
},
"layerIndex": 3,
"children": [
{
"name": "R_Inner2",
"x": 0,
"y": 92,
"width": 112,
"height": 94,
"metadata": {
"qmlId": "r_inner2",
"uuid": "CD76063C-69B1-4D02-86B1-634585984659",
"exportType": "child",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/CD76063C-69B1-4D02-86B1-634585984659.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/CD76063C-69B1-4D02-86B1-634585984659@2x.png"
],
"assetBounds": {
"x": -1,
"y": 67,
"width": 128,
"height": 120
}
}
},
"layerIndex": 0
},
{
"name": "R_Inner1",
"x": 134,
"y": 0,
"width": 40,
"height": 50,
"metadata": {
"qmlId": "r_inner1",
"uuid": "377AB6A2-4E4B-45DE-B357-20087AB2684B",
"exportType": "child",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/377AB6A2-4E4B-45DE-B357-20087AB2684B.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/377AB6A2-4E4B-45DE-B357-20087AB2684B@2x.png"
],
"assetBounds": {
"x": 119,
"y": -1,
"width": 56,
"height": 76
}
}
},
"layerIndex": 1
}
]
}
]
}
]
},
{
"name": "Button",
"x": 196,
"y": 123,
"width": 222,
"height": 79,
"metadata": {
"qmlId": "button",
"uuid": "5F60DF6A-9B54-4D06-BC20-22F6D6F04256",
"exportType": "component",
"qmlVisible": true,
"opacity": 1,
"assetData": {
"assetPath": "/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/A5303793-9C77-40C9-8DB6-7030607017F3.png",
"additionalAssets": [
"/Users/Shared/common/code/qtdesign-studio/testdata/2d_asset_import_data/v1.1/plugins/sketch/master/src/master/A5303793-9C77-40C9-8DB6-7030607017F3@2x.png"
],
"assetBounds": {
"x": 0,
"y": 0,
"width": 222,
"height": 79
}
}
},
"layerIndex": 0,
"children": [
{
"name": "ButtonBackground",
"x": 0,
"y": 0,
"width": 222,
"height": 79,
"metadata": {
"qmlId": "buttonbackground",
"uuid": "16ADC462-23D7-4A50-B05E-8E61F657E997",
"exportType": "merged",
"qmlVisible": true,
"opacity": 1
},
"layerIndex": 0
},