调整ui页面

This commit is contained in:
vc4
2021-08-24 16:06:20 +08:00
parent 72dcf7ed05
commit e9f3991e62
2 changed files with 44 additions and 38 deletions

70
app.ui
View File

@@ -31,36 +31,6 @@
"column": 1,
"row": 4
},
{
"name":"btn-pack01",
"text":"pack-01",
"column": 2,
"row": 5
},
{
"name":"btn-pack02",
"text":"pack-02",
"column": 3,
"row": 5
},
{
"name":"btn-pack03",
"text":"pack-03",
"column": 4,
"row": 5
},
{
"name":"btn-pack04",
"text":"pack-04",
"column": 5,
"row": 5
},
{
"name":"btn-pack05",
"text":"pack-05",
"column": 6,
"row": 5
},
{
"name":"btn-send",
"text":"发送",
@@ -87,12 +57,6 @@
"column": 9,
"colweight": 1,
"row": 1
},
{
"name":"label-sscript",
"text":"组帧脚本:",
"column": 1,
"row": 5
}
],
"Combobox":{
@@ -215,7 +179,7 @@
"name":"label-encoding",
"text":"数据编码:",
"column": 2,
"row": 30
"row": 40
}
],
"Entry":[
@@ -223,7 +187,7 @@
"name":"entry-encoding",
"width":10,
"column": 2,
"row": 31
"row": 41
}
],
"Checkbutton":[
@@ -288,6 +252,36 @@
"text":"data-05",
"column": 2,
"row": 25
},
{
"name":"btn-data06",
"text":"data-06",
"column": 2,
"row": 26
},
{
"name":"btn-data07",
"text":"data-07",
"column": 2,
"row": 27
},
{
"name":"btn-data08",
"text":"data-08",
"column": 2,
"row": 28
},
{
"name":"btn-data09",
"text":"data-09",
"column": 2,
"row": 29
},
{
"name":"btn-data10",
"text":"data-10",
"column": 2,
"row": 30
}
]
}

View File

@@ -30,8 +30,20 @@
"title": "HEX print",
"value": "''.join(['%02X'%x for x in data])"
},
"btn-unpack02": {
"title": "btn-unpack02",
"value": ""
},
"btn-unpack03": {
"title": "btn-unpack03",
"value": ""
},
"btn-unpack04": {
"title": "btn-unpack04",
"value": ""
},
"btn-unpack05": {
"title": "btn-unpack05",
"value": ""
}
}