Skip to content

Commit 6380b4f

Browse files
committed
- 更新界面
1 parent 8601cd9 commit 6380b4f

38 files changed

+2920
-1648
lines changed

ISAT/icons.qrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<RCC>
22
<qresource prefix="icon">
3+
<file>../icons/英文_english.svg</file>
4+
<file>../icons/中文_chinese.svg</file>
35
<file>../icons/小矩形_rectangle-small.svg</file>
46
<file>../icons/关闭-小_close-small.svg</file>
57
<file>../icons/校验-小_check-small.svg</file>

ISAT/icons_rc.py

Lines changed: 232 additions & 128 deletions
Large diffs are not rendered by default.

ISAT/software.yaml

Lines changed: 35 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@ label:
2323
name: hat
2424
shortcut:
2525
actionAbout:
26-
default_key: null
27-
key: null
26+
default_key: ''
27+
key: ''
2828
actionAnno_validator:
29-
default_key: null
30-
key: null
31-
actionAuto_save:
32-
default_key: null
33-
key: null
29+
default_key: ''
30+
key: ''
3431
actionAuto_segment_with_bounding_box:
35-
default_key: null
36-
key: null
32+
default_key: ''
33+
key: ''
3734
actionBackspace:
3835
default_key: Z
3936
key: Z
@@ -43,57 +40,45 @@ shortcut:
4340
actionCancel:
4441
default_key: Esc
4542
key: Esc
46-
actionChinese:
47-
default_key: null
48-
key: null
49-
actionContour_all:
50-
default_key: null
51-
key: null
52-
actionContour_external:
53-
default_key: null
54-
key: null
55-
actionContour_max_only:
56-
default_key: null
57-
key: null
5843
actionConverter:
59-
default_key: null
60-
key: null
44+
default_key: ''
45+
key: ''
6146
actionCopy:
6247
default_key: Ctrl+C
6348
key: Ctrl+C
6449
actionDelete:
6550
default_key: Del
6651
key: Del
6752
actionEdit:
68-
default_key: null
69-
key: null
70-
actionEnglish:
71-
default_key: null
72-
key: null
53+
default_key: ''
54+
key: ''
7355
actionExclude:
7456
default_key: Ctrl+E
7557
key: Ctrl+E
7658
actionExit:
77-
default_key: null
78-
key: null
59+
default_key: ''
60+
key: ''
7961
actionFinish:
8062
default_key: E
8163
key: E
8264
actionFit_window:
8365
default_key: F
8466
key: F
8567
actionImages_dir:
86-
default_key: null
68+
default_key: ''
8769
key: ''
8870
actionIntersect:
8971
default_key: Ctrl+Q
9072
key: Ctrl+Q
9173
actionLabel_dir:
92-
default_key: null
74+
default_key: ''
75+
key: ''
76+
actionLanguage:
77+
default_key: ''
9378
key: ''
9479
actionModel_manage:
95-
default_key: null
96-
key: null
80+
default_key: ''
81+
key: ''
9782
actionNext_group:
9883
default_key: Tab
9984
key: Tab
@@ -125,11 +110,11 @@ shortcut:
125110
default_key: Q
126111
key: Q
127112
actionSetting:
128-
default_key: null
129-
key: null
113+
default_key: ''
114+
key: ''
130115
actionShortcut:
131-
default_key: null
132-
key: null
116+
default_key: ''
117+
key: ''
133118
actionSubtract:
134119
default_key: Ctrl+D
135120
key: Ctrl+D
@@ -143,29 +128,29 @@ shortcut:
143128
default_key: Ctrl+A
144129
key: Ctrl+A
145130
actionVideo_segment:
146-
default_key: null
147-
key: null
131+
default_key: ''
132+
key: ''
148133
actionVideo_segment_five_times:
149-
default_key: null
150-
key: null
134+
default_key: ''
135+
key: ''
151136
actionVideo_segment_once:
152-
default_key: null
153-
key: null
137+
default_key: ''
138+
key: ''
154139
actionVideo_to_frames:
155-
default_key: null
156-
key: null
140+
default_key: ''
141+
key: ''
157142
actionVisible:
158143
default_key: V
159144
key: V
160145
actionWindow_shot:
161146
default_key: Ctrl+P
162147
key: Ctrl+P
163148
actionZoom_in:
164-
default_key: null
165-
key: null
149+
default_key: ''
150+
key: ''
166151
actionZoom_out:
167-
default_key: null
168-
key: null
152+
default_key: ''
153+
key: ''
169154
software:
170155
auto_save: false
171156
contour_mode: external

ISAT/ui/Converter_dialog.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# -*- coding: utf-8 -*-
22

3-
# Form implementation generated from reading ui file 'Converter_dialog.ui'
3+
# Form implementation generated from reading ui file '/media/lg/disk2/PycharmProjects/ISAT_with_segment_anything/ISAT/ui/Converter_dialog.ui'
44
#
5-
# Created by: PyQt5 UI code generator 5.15.9
5+
# Created by: PyQt5 UI code generator 5.15.10
66
#
77
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
88
# run again. Do not edit this file unless you know what you are doing.
@@ -14,7 +14,7 @@
1414
class Ui_Dialog(object):
1515
def setupUi(self, Dialog):
1616
Dialog.setObjectName("Dialog")
17-
Dialog.resize(1000, 680)
17+
Dialog.resize(960, 600)
1818
font = QtGui.QFont()
1919
font.setFamily("Times New Roman")
2020
font.setPointSize(12)
@@ -37,7 +37,7 @@ def setupUi(self, Dialog):
3737
self.toolBox_coco.setFrameShadow(QtWidgets.QFrame.Plain)
3838
self.toolBox_coco.setObjectName("toolBox_coco")
3939
self.toolbox_item_coco2isat = QtWidgets.QWidget()
40-
self.toolbox_item_coco2isat.setGeometry(QtCore.QRect(0, 0, 138, 109))
40+
self.toolbox_item_coco2isat.setGeometry(QtCore.QRect(0, 0, 142, 109))
4141
self.toolbox_item_coco2isat.setObjectName("toolbox_item_coco2isat")
4242
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.toolbox_item_coco2isat)
4343
self.verticalLayout_2.setContentsMargins(9, 9, 9, 9)
@@ -81,7 +81,7 @@ def setupUi(self, Dialog):
8181
self.verticalLayout_2.addWidget(self.widget_3)
8282
self.toolBox_coco.addItem(self.toolbox_item_coco2isat, "")
8383
self.toolbox_item_isat2coco = QtWidgets.QWidget()
84-
self.toolbox_item_isat2coco.setGeometry(QtCore.QRect(0, 0, 960, 153))
84+
self.toolbox_item_isat2coco.setGeometry(QtCore.QRect(0, 0, 920, 113))
8585
self.toolbox_item_isat2coco.setObjectName("toolbox_item_isat2coco")
8686
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.toolbox_item_isat2coco)
8787
self.verticalLayout_5.setObjectName("verticalLayout_5")
@@ -148,7 +148,7 @@ def setupUi(self, Dialog):
148148
self.toolBox_yolo.setFrameShadow(QtWidgets.QFrame.Plain)
149149
self.toolBox_yolo.setObjectName("toolBox_yolo")
150150
self.toolbox_item_yolo2isat = QtWidgets.QWidget()
151-
self.toolbox_item_yolo2isat.setGeometry(QtCore.QRect(0, 0, 161, 144))
151+
self.toolbox_item_yolo2isat.setGeometry(QtCore.QRect(0, 0, 165, 144))
152152
self.toolbox_item_yolo2isat.setObjectName("toolbox_item_yolo2isat")
153153
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.toolbox_item_yolo2isat)
154154
self.verticalLayout_9.setContentsMargins(9, 9, 9, 9)
@@ -218,7 +218,7 @@ def setupUi(self, Dialog):
218218
self.verticalLayout_9.addWidget(self.widget_10)
219219
self.toolBox_yolo.addItem(self.toolbox_item_yolo2isat, "")
220220
self.toolbox_item_isat2yolo = QtWidgets.QWidget()
221-
self.toolbox_item_isat2yolo.setGeometry(QtCore.QRect(0, 0, 960, 153))
221+
self.toolbox_item_isat2yolo.setGeometry(QtCore.QRect(0, 0, 920, 113))
222222
self.toolbox_item_isat2yolo.setObjectName("toolbox_item_isat2yolo")
223223
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.toolbox_item_isat2yolo)
224224
self.verticalLayout_11.setObjectName("verticalLayout_11")
@@ -274,7 +274,7 @@ def setupUi(self, Dialog):
274274
self.toolBox_labelme.setFrameShadow(QtWidgets.QFrame.Plain)
275275
self.toolBox_labelme.setObjectName("toolBox_labelme")
276276
self.toolbox_item_labelme2isat = QtWidgets.QWidget()
277-
self.toolbox_item_labelme2isat.setGeometry(QtCore.QRect(0, 0, 960, 153))
277+
self.toolbox_item_labelme2isat.setGeometry(QtCore.QRect(0, 0, 920, 113))
278278
self.toolbox_item_labelme2isat.setObjectName("toolbox_item_labelme2isat")
279279
self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.toolbox_item_labelme2isat)
280280
self.verticalLayout_16.setContentsMargins(9, 9, 9, 9)
@@ -307,7 +307,7 @@ def setupUi(self, Dialog):
307307
self.verticalLayout_16.addWidget(self.widget_17)
308308
self.toolBox_labelme.addItem(self.toolbox_item_labelme2isat, "")
309309
self.toolbox_item_isat2labelme = QtWidgets.QWidget()
310-
self.toolbox_item_isat2labelme.setGeometry(QtCore.QRect(0, 0, 138, 78))
310+
self.toolbox_item_isat2labelme.setGeometry(QtCore.QRect(0, 0, 142, 78))
311311
self.toolbox_item_isat2labelme.setObjectName("toolbox_item_isat2labelme")
312312
self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.toolbox_item_isat2labelme)
313313
self.verticalLayout_18.setObjectName("verticalLayout_18")
@@ -439,6 +439,7 @@ def setupUi(self, Dialog):
439439
self.textBrowser.setSizePolicy(sizePolicy)
440440
font = QtGui.QFont()
441441
font.setFamily("宋体")
442+
font.setPointSize(12)
442443
self.textBrowser.setFont(font)
443444
self.textBrowser.setObjectName("textBrowser")
444445
self.verticalLayout_13.addWidget(self.textBrowser)
@@ -462,7 +463,7 @@ def setupUi(self, Dialog):
462463
self.verticalLayout_13.addWidget(self.widget_2)
463464

464465
self.retranslateUi(Dialog)
465-
self.tabWidget.setCurrentIndex(3)
466+
self.tabWidget.setCurrentIndex(1)
466467
self.toolBox_coco.setCurrentIndex(1)
467468
self.toolBox_yolo.setCurrentIndex(1)
468469
self.toolBox_labelme.setCurrentIndex(0)

ISAT/ui/Converter_dialog.ui

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>1000</width>
10-
<height>680</height>
9+
<width>960</width>
10+
<height>600</height>
1111
</rect>
1212
</property>
1313
<property name="font">
@@ -23,7 +23,7 @@
2323
<item>
2424
<widget class="QTabWidget" name="tabWidget">
2525
<property name="currentIndex">
26-
<number>3</number>
26+
<number>1</number>
2727
</property>
2828
<widget class="QWidget" name="tab_COCO">
2929
<attribute name="title">
@@ -61,7 +61,7 @@
6161
<rect>
6262
<x>0</x>
6363
<y>0</y>
64-
<width>138</width>
64+
<width>142</width>
6565
<height>109</height>
6666
</rect>
6767
</property>
@@ -196,8 +196,8 @@
196196
<rect>
197197
<x>0</x>
198198
<y>0</y>
199-
<width>960</width>
200-
<height>153</height>
199+
<width>920</width>
200+
<height>113</height>
201201
</rect>
202202
</property>
203203
<attribute name="label">
@@ -373,7 +373,7 @@
373373
<rect>
374374
<x>0</x>
375375
<y>0</y>
376-
<width>161</width>
376+
<width>165</width>
377377
<height>144</height>
378378
</rect>
379379
</property>
@@ -562,8 +562,8 @@
562562
<rect>
563563
<x>0</x>
564564
<y>0</y>
565-
<width>960</width>
566-
<height>153</height>
565+
<width>920</width>
566+
<height>113</height>
567567
</rect>
568568
</property>
569569
<attribute name="label">
@@ -701,8 +701,8 @@
701701
<rect>
702702
<x>0</x>
703703
<y>0</y>
704-
<width>960</width>
705-
<height>153</height>
704+
<width>920</width>
705+
<height>113</height>
706706
</rect>
707707
</property>
708708
<attribute name="label">
@@ -798,7 +798,7 @@
798798
<rect>
799799
<x>0</x>
800800
<y>0</y>
801-
<width>138</width>
801+
<width>142</width>
802802
<height>78</height>
803803
</rect>
804804
</property>
@@ -1145,6 +1145,7 @@
11451145
<property name="font">
11461146
<font>
11471147
<family>宋体</family>
1148+
<pointsize>12</pointsize>
11481149
</font>
11491150
</property>
11501151
</widget>

0 commit comments

Comments
 (0)