You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

951 lines
16 KiB

{
"type": "TTkUi/Document",
"version": "2.1.0",
"tui": {
"class": "TTkContainer",
"params": {
"Name": "MainWindow",
"Position": [
4,
2
],
"Size": [
87,
2
],
"Min Width": 50,
"Min Height": 2,
"Max Width": 65536,
"Max Height": 2,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
0
],
"Layout": "TTkLayout"
},
"layout": {
"class": "TTkLayout",
"params": {
"Geometry": [
0,
0,
87,
2
]
},
"children": [
{
"class": "TTkCheckbox",
"params": {
"Name": "cbFg",
"Position": [
12,
0
],
"Size": [
5,
1
],
"Min Width": 5,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Fg",
"Tristate": false,
"Checked": false,
"Check State": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkCheckbox",
"params": {
"Name": "cbBg",
"Position": [
12,
1
],
"Size": [
5,
1
],
"Min Width": 5,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Bg",
"Tristate": false,
"Checked": false,
"Check State": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-1",
"Position": [
0,
1
],
"Size": [
5,
1
],
"Min Width": 5,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Trans",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "lglyph",
"Position": [
0,
0
],
"Size": [
12,
1
],
"Min Width": 6,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Glyph:",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkColorButtonPicker",
"params": {
"Name": "bpDef",
"Position": [
5,
1
],
"Size": [
6,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "",
"Border": false,
"Checkable": false,
"Checked": false,
"Color": "\u001b[48;2;0;0;0m",
"Return Type": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkColorButtonPicker",
"params": {
"Name": "bpBg",
"Position": [
17,
1
],
"Size": [
6,
1
],
"Min Width": 2,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": false,
"ToolTip": "",
"Text": "",
"Border": false,
"Checkable": false,
"Checked": false,
"Color": "\u001b[48;2;0;0;0m",
"Return Type": 2
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkColorButtonPicker",
"params": {
"Name": "bpFg",
"Position": [
17,
0
],
"Size": [
6,
1
],
"Min Width": 2,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": false,
"ToolTip": "",
"Text": "",
"Border": false,
"Checkable": false,
"Checked": false,
"Color": "\u001b[38;2;0;0;0m",
"Return Type": 1
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-6",
"Position": [
47,
0
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "w",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-7",
"Position": [
47,
1
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "h",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbDw",
"Position": [
49,
0
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": 0,
"Maximum": 99
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbDh",
"Position": [
49,
1
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": 0,
"Maximum": 99
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-3",
"Position": [
57,
0
],
"Size": [
5,
1
],
"Min Width": 5,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Layer",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-8",
"Position": [
63,
0
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "x",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-9",
"Position": [
63,
1
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "y",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbLx",
"Position": [
65,
0
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": -100,
"Maximum": 100
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbLy",
"Position": [
65,
1
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": -100,
"Maximum": 100
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-10",
"Position": [
72,
0
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "w",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-11",
"Position": [
72,
1
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "h",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbLw",
"Position": [
74,
0
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": 0,
"Maximum": 99
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbLh",
"Position": [
74,
1
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": 0,
"Maximum": 99
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbDx",
"Position": [
40,
0
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": -100,
"Maximum": 100
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkSpinBox",
"params": {
"Name": "sbDy",
"Position": [
40,
1
],
"Size": [
6,
1
],
"Min Width": 4,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Padding": [
0,
0,
0,
2
],
"Layout": "TTkGridLayout",
"Value": 0,
"Minimum": -100,
"Maximum": 100
},
"layout": {
"class": "TTkGridLayout",
"params": {
"Geometry": [
0,
0,
4,
1
]
},
"children": []
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-4",
"Position": [
38,
0
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "x",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-5",
"Position": [
38,
1
],
"Size": [
1,
1
],
"Min Width": 1,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "y",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkLabel",
"params": {
"Name": "TTkLabel-2",
"Position": [
34,
0
],
"Size": [
3,
1
],
"Min Width": 3,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 65536,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Doc",
"Color": "\u001b[0m",
"Alignment": 0
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
},
{
"class": "TTkButton",
"params": {
"Name": "btnPick",
"Position": [
23,
0
],
"Size": [
9,
1
],
"Min Width": 9,
"Min Height": 1,
"Max Width": 65536,
"Max Height": 1,
"Visible": true,
"Enabled": true,
"ToolTip": "",
"Text": "Pick \ud83d\uded2",
"Border": false,
"Checkable": false,
"Checked": false
},
"row": 0,
"col": 0,
"rowspan": 1,
"colspan": 1
}
]
}
},
"connections": [
{
"sender": "cbFg",
"receiver": "bpFg",
"signal": "toggled(bool)",
"slot": "setEnabled(bool)"
},
{
"sender": "cbBg",
"receiver": "bpBg",
"signal": "toggled(bool)",
"slot": "setEnabled(bool)"
}
]
}