개정판 0b4e00b7
issue #1047 : 생성한 장치의 데이터 입력 & 불필요한 UI, 이미지 정리
Change-Id: I7060b8ab8018886099f99b63531ba160b6e17b7a
HYTOS/HYTOS/Configuration_UI.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
|
3 |
# Form implementation generated from reading ui file './UI/Configuration.ui'
|
|
3 |
# Form implementation generated from reading ui file '.\UI\Configuration.ui'
|
|
4 | 4 |
# |
5 |
# Created by: PyQt5 UI code generator 5.11.3
|
|
5 |
# Created by: PyQt5 UI code generator 5.13.0
|
|
6 | 6 |
# |
7 | 7 |
# WARNING! All changes made in this file will be lost! |
8 | 8 |
|
9 |
|
|
9 | 10 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 11 |
|
12 |
|
|
11 | 13 |
class Ui_ConfigurationDialog(object): |
12 | 14 |
def setupUi(self, ConfigurationDialog): |
13 | 15 |
ConfigurationDialog.setObjectName("ConfigurationDialog") |
14 |
ConfigurationDialog.resize(704, 814)
|
|
16 |
ConfigurationDialog.resize(369, 397)
|
|
15 | 17 |
font = QtGui.QFont() |
16 | 18 |
font.setFamily("맑은 고딕") |
17 | 19 |
ConfigurationDialog.setFont(font) |
... | ... | |
19 | 21 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
20 | 22 |
ConfigurationDialog.setWindowIcon(icon) |
21 | 23 |
ConfigurationDialog.setModal(True) |
22 |
self.gridLayout = QtWidgets.QGridLayout(ConfigurationDialog) |
|
23 |
self.gridLayout.setObjectName("gridLayout") |
|
24 |
self.tabWidget = QtWidgets.QTabWidget(ConfigurationDialog) |
|
25 |
self.tabWidget.setObjectName("tabWidget") |
|
26 |
self.Recognition = QtWidgets.QWidget() |
|
27 |
self.Recognition.setObjectName("Recognition") |
|
28 |
self.gridLayout_2 = QtWidgets.QGridLayout(self.Recognition) |
|
29 |
self.gridLayout_2.setObjectName("gridLayout_2") |
|
30 |
self.groupBoxAttribute = QtWidgets.QGroupBox(self.Recognition) |
|
31 |
self.groupBoxAttribute.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
32 |
self.groupBoxAttribute.setObjectName("groupBoxAttribute") |
|
33 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute) |
|
34 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
35 |
self.verticalLayout_3 = QtWidgets.QVBoxLayout() |
|
36 |
self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
37 |
self.horizontalLayout_8 = QtWidgets.QHBoxLayout() |
|
38 |
self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
|
39 |
self.label_6 = QtWidgets.QLabel(self.groupBoxAttribute) |
|
40 |
self.label_6.setObjectName("label_6") |
|
41 |
self.horizontalLayout_8.addWidget(self.label_6, 0, QtCore.Qt.AlignVCenter) |
|
42 |
self.lineEditSizeDelimiter = QtWidgets.QLineEdit(self.groupBoxAttribute) |
|
43 |
self.lineEditSizeDelimiter.setObjectName("lineEditSizeDelimiter") |
|
44 |
self.horizontalLayout_8.addWidget(self.lineEditSizeDelimiter, 0, QtCore.Qt.AlignVCenter) |
|
45 |
self.verticalLayout_3.addLayout(self.horizontalLayout_8) |
|
46 |
self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
47 |
self.horizontalLayout.setObjectName("horizontalLayout") |
|
48 |
self.label_15 = QtWidgets.QLabel(self.groupBoxAttribute) |
|
49 |
self.label_15.setMaximumSize(QtCore.QSize(190, 16777215)) |
|
50 |
self.label_15.setObjectName("label_15") |
|
51 |
self.horizontalLayout.addWidget(self.label_15) |
|
52 |
self.doubleSpinBoxDetectionRange = QtWidgets.QDoubleSpinBox(self.groupBoxAttribute) |
|
53 |
self.doubleSpinBoxDetectionRange.setSingleStep(0.1) |
|
54 |
self.doubleSpinBoxDetectionRange.setProperty("value", 1.0) |
|
55 |
self.doubleSpinBoxDetectionRange.setObjectName("doubleSpinBoxDetectionRange") |
|
56 |
self.horizontalLayout.addWidget(self.doubleSpinBoxDetectionRange) |
|
57 |
self.verticalLayout_3.addLayout(self.horizontalLayout) |
|
58 |
self.gridLayout_6.addLayout(self.verticalLayout_3, 0, 0, 1, 1) |
|
59 |
self.gridLayout_2.addWidget(self.groupBoxAttribute, 1, 1, 1, 1) |
|
60 |
self.groupBox = QtWidgets.QGroupBox(self.Recognition) |
|
24 |
self.groupBox = QtWidgets.QGroupBox(ConfigurationDialog) |
|
25 |
self.groupBox.setGeometry(QtCore.QRect(8, 38, 353, 165)) |
|
61 | 26 |
self.groupBox.setObjectName("groupBox") |
62 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox) |
|
63 |
self.gridLayout_5.setObjectName("gridLayout_5") |
|
64 |
self.gridLayout_11 = QtWidgets.QGridLayout() |
|
65 |
self.gridLayout_11.setObjectName("gridLayout_11") |
|
66 |
self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox) |
|
67 |
self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0)) |
|
68 |
self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox") |
|
69 |
self.gridLayout_11.addWidget(self.smallLineMinLengthSpinBox, 2, 1, 1, 1) |
|
70 |
self.label_4 = QtWidgets.QLabel(self.groupBox) |
|
71 |
self.label_4.setObjectName("label_4") |
|
72 |
self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1) |
|
73 |
self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox) |
|
74 |
self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
75 |
self.spinBoxMinArea.setObjectName("spinBoxMinArea") |
|
76 |
self.gridLayout_11.addWidget(self.spinBoxMinArea, 0, 1, 1, 1) |
|
77 |
self.label_16 = QtWidgets.QLabel(self.groupBox) |
|
78 |
self.label_16.setObjectName("label_16") |
|
79 |
self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1) |
|
80 |
self.label_9 = QtWidgets.QLabel(self.groupBox) |
|
81 |
self.label_9.setObjectName("label_9") |
|
82 |
self.gridLayout_11.addWidget(self.label_9, 3, 0, 1, 1) |
|
83 |
self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox) |
|
84 |
self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0)) |
|
85 |
self.spinBoxHeight.setObjectName("spinBoxHeight") |
|
86 |
self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1) |
|
87 |
self.label = QtWidgets.QLabel(self.groupBox) |
|
88 |
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
89 |
self.label.setObjectName("label") |
|
90 |
self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1) |
|
91 |
self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox) |
|
92 |
self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0)) |
|
93 |
self.spinBoxWidth.setObjectName("spinBoxWidth") |
|
94 |
self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1) |
|
95 |
self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox) |
|
96 |
self.spinBoxLengthToConnectLine.setProperty("value", 20) |
|
97 |
self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine") |
|
98 |
self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1) |
|
99 |
self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox) |
|
100 |
self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
101 |
self.spinBoxMaxArea.setObjectName("spinBoxMaxArea") |
|
102 |
self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1) |
|
103 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
|
104 |
self.label_5.setAlignment(QtCore.Qt.AlignCenter) |
|
105 |
self.label_5.setObjectName("label_5") |
|
106 |
self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1) |
|
107 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
108 |
self.gridLayout_11.addItem(spacerItem, 0, 4, 1, 1) |
|
109 |
self.gridLayout_5.addLayout(self.gridLayout_11, 0, 0, 1, 1) |
|
110 |
self.gridLayout_2.addWidget(self.groupBox, 3, 1, 1, 1) |
|
111 |
self.groupBoxLineNo = QtWidgets.QGroupBox(self.Recognition) |
|
112 |
self.groupBoxLineNo.setObjectName("groupBoxLineNo") |
|
113 |
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxLineNo) |
|
114 |
self.gridLayout_3.setObjectName("gridLayout_3") |
|
115 |
self.verticalLayout_2 = QtWidgets.QVBoxLayout() |
|
116 |
self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
117 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
118 |
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint) |
|
119 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
120 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
|
121 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
122 |
self.horizontalLayout_2.addLayout(self.horizontalLayout_4) |
|
123 |
self.pushButtonLineNoAttribute = QtWidgets.QPushButton(self.groupBoxLineNo) |
|
124 |
self.pushButtonLineNoAttribute.setMinimumSize(QtCore.QSize(50, 24)) |
|
125 |
self.pushButtonLineNoAttribute.setMaximumSize(QtCore.QSize(16777215, 24)) |
|
126 |
self.pushButtonLineNoAttribute.setObjectName("pushButtonLineNoAttribute") |
|
127 |
self.horizontalLayout_2.addWidget(self.pushButtonLineNoAttribute) |
|
128 |
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
129 |
self.horizontalLayout_2.addItem(spacerItem1) |
|
130 |
self.pushButtonAddProperty = QtWidgets.QPushButton(self.groupBoxLineNo) |
|
131 |
self.pushButtonAddProperty.setMinimumSize(QtCore.QSize(50, 0)) |
|
132 |
self.pushButtonAddProperty.setMaximumSize(QtCore.QSize(50, 16777215)) |
|
133 |
self.pushButtonAddProperty.setDefault(False) |
|
134 |
self.pushButtonAddProperty.setObjectName("pushButtonAddProperty") |
|
135 |
self.horizontalLayout_2.addWidget(self.pushButtonAddProperty) |
|
136 |
self.pushButtonDeleteProperty = QtWidgets.QPushButton(self.groupBoxLineNo) |
|
137 |
self.pushButtonDeleteProperty.setMinimumSize(QtCore.QSize(50, 0)) |
|
138 |
self.pushButtonDeleteProperty.setMaximumSize(QtCore.QSize(50, 16777215)) |
|
139 |
self.pushButtonDeleteProperty.setObjectName("pushButtonDeleteProperty") |
|
140 |
self.horizontalLayout_2.addWidget(self.pushButtonDeleteProperty) |
|
141 |
self.verticalLayout_2.addLayout(self.horizontalLayout_2) |
|
142 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
143 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
144 |
self.listWidgetLineNo = QtWidgets.QListWidget(self.groupBoxLineNo) |
|
145 |
self.listWidgetLineNo.setObjectName("listWidgetLineNo") |
|
146 |
self.horizontalLayout_3.addWidget(self.listWidgetLineNo) |
|
147 |
self.verticalLayout_2.addLayout(self.horizontalLayout_3) |
|
148 |
self.gridLayout_3.addLayout(self.verticalLayout_2, 6, 0, 1, 1) |
|
149 |
self.gridLayout_2.addWidget(self.groupBoxLineNo, 4, 1, 1, 1) |
|
150 |
self.groupBoxText = QtWidgets.QGroupBox(self.Recognition) |
|
151 |
self.groupBoxText.setObjectName("groupBoxText") |
|
152 |
self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBoxText) |
|
153 |
self.gridLayout_14.setObjectName("gridLayout_14") |
|
154 |
self.verticalLayout_5 = QtWidgets.QVBoxLayout() |
|
155 |
self.verticalLayout_5.setObjectName("verticalLayout_5") |
|
156 |
self.horizontalLayout_14 = QtWidgets.QHBoxLayout() |
|
157 |
self.horizontalLayout_14.setObjectName("horizontalLayout_14") |
|
158 |
self.label_19 = QtWidgets.QLabel(self.groupBoxText) |
|
159 |
self.label_19.setObjectName("label_19") |
|
160 |
self.horizontalLayout_14.addWidget(self.label_19) |
|
161 |
self.comboBoxOCRData = QtWidgets.QComboBox(self.groupBoxText) |
|
162 |
self.comboBoxOCRData.setMinimumSize(QtCore.QSize(200, 0)) |
|
163 |
self.comboBoxOCRData.setMaximumSize(QtCore.QSize(200, 16777215)) |
|
164 |
self.comboBoxOCRData.setObjectName("comboBoxOCRData") |
|
165 |
self.horizontalLayout_14.addWidget(self.comboBoxOCRData) |
|
166 |
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
167 |
self.horizontalLayout_14.addItem(spacerItem2) |
|
168 |
self.verticalLayout_5.addLayout(self.horizontalLayout_14) |
|
169 |
self.horizontalLayout_11 = QtWidgets.QHBoxLayout() |
|
170 |
self.horizontalLayout_11.setObjectName("horizontalLayout_11") |
|
171 |
self.label_7 = QtWidgets.QLabel(self.groupBoxText) |
|
172 |
self.label_7.setObjectName("label_7") |
|
173 |
self.horizontalLayout_11.addWidget(self.label_7) |
|
174 |
self.lineEditWhiteCharList = QtWidgets.QLineEdit(self.groupBoxText) |
|
175 |
self.lineEditWhiteCharList.setObjectName("lineEditWhiteCharList") |
|
176 |
self.horizontalLayout_11.addWidget(self.lineEditWhiteCharList) |
|
177 |
self.verticalLayout_5.addLayout(self.horizontalLayout_11) |
|
178 |
self.horizontalLayout_15 = QtWidgets.QHBoxLayout() |
|
179 |
self.horizontalLayout_15.setObjectName("horizontalLayout_15") |
|
180 |
self.label_20 = QtWidgets.QLabel(self.groupBoxText) |
|
181 |
self.label_20.setObjectName("label_20") |
|
182 |
self.horizontalLayout_15.addWidget(self.label_20) |
|
183 |
self.spinBoxExpandSize = QtWidgets.QSpinBox(self.groupBoxText) |
|
184 |
self.spinBoxExpandSize.setMinimumSize(QtCore.QSize(100, 0)) |
|
185 |
self.spinBoxExpandSize.setObjectName("spinBoxExpandSize") |
|
186 |
self.horizontalLayout_15.addWidget(self.spinBoxExpandSize) |
|
187 |
self.label_21 = QtWidgets.QLabel(self.groupBoxText) |
|
188 |
self.label_21.setObjectName("label_21") |
|
189 |
self.horizontalLayout_15.addWidget(self.label_21) |
|
190 |
self.spinBoxShrinkSize = QtWidgets.QSpinBox(self.groupBoxText) |
|
191 |
self.spinBoxShrinkSize.setMinimumSize(QtCore.QSize(100, 0)) |
|
192 |
self.spinBoxShrinkSize.setObjectName("spinBoxShrinkSize") |
|
193 |
self.horizontalLayout_15.addWidget(self.spinBoxShrinkSize) |
|
194 |
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
195 |
self.horizontalLayout_15.addItem(spacerItem3) |
|
196 |
self.verticalLayout_5.addLayout(self.horizontalLayout_15) |
|
197 |
self.horizontalLayout_13 = QtWidgets.QHBoxLayout() |
|
198 |
self.horizontalLayout_13.setObjectName("horizontalLayout_13") |
|
199 |
self.label_17 = QtWidgets.QLabel(self.groupBoxText) |
|
200 |
self.label_17.setObjectName("label_17") |
|
201 |
self.horizontalLayout_13.addWidget(self.label_17, 0, QtCore.Qt.AlignLeft) |
|
202 |
self.minTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText) |
|
203 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) |
|
204 |
sizePolicy.setHorizontalStretch(0) |
|
205 |
sizePolicy.setVerticalStretch(0) |
|
206 |
sizePolicy.setHeightForWidth(self.minTextSizeSpinBox.sizePolicy().hasHeightForWidth()) |
|
207 |
self.minTextSizeSpinBox.setSizePolicy(sizePolicy) |
|
208 |
self.minTextSizeSpinBox.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
209 |
self.minTextSizeSpinBox.setProperty("value", 30) |
|
210 |
self.minTextSizeSpinBox.setObjectName("minTextSizeSpinBox") |
|
211 |
self.horizontalLayout_13.addWidget(self.minTextSizeSpinBox) |
|
212 |
self.label_18 = QtWidgets.QLabel(self.groupBoxText) |
|
213 |
self.label_18.setObjectName("label_18") |
|
214 |
self.horizontalLayout_13.addWidget(self.label_18) |
|
215 |
self.maxTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText) |
|
216 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) |
|
217 |
sizePolicy.setHorizontalStretch(0) |
|
218 |
sizePolicy.setVerticalStretch(0) |
|
219 |
sizePolicy.setHeightForWidth(self.maxTextSizeSpinBox.sizePolicy().hasHeightForWidth()) |
|
220 |
self.maxTextSizeSpinBox.setSizePolicy(sizePolicy) |
|
221 |
self.maxTextSizeSpinBox.setProperty("value", 60) |
|
222 |
self.maxTextSizeSpinBox.setObjectName("maxTextSizeSpinBox") |
|
223 |
self.horizontalLayout_13.addWidget(self.maxTextSizeSpinBox) |
|
224 |
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
225 |
self.horizontalLayout_13.addItem(spacerItem4) |
|
226 |
self.verticalLayout_5.addLayout(self.horizontalLayout_13) |
|
227 |
self.horizontalLayout_17 = QtWidgets.QHBoxLayout() |
|
228 |
self.horizontalLayout_17.setObjectName("horizontalLayout_17") |
|
229 |
self.label_22 = QtWidgets.QLabel(self.groupBoxText) |
|
230 |
self.label_22.setObjectName("label_22") |
|
231 |
self.horizontalLayout_17.addWidget(self.label_22) |
|
232 |
self.spinBoxMergeSize = QtWidgets.QSpinBox(self.groupBoxText) |
|
233 |
self.spinBoxMergeSize.setMinimumSize(QtCore.QSize(100, 0)) |
|
234 |
self.spinBoxMergeSize.setObjectName("spinBoxMergeSize") |
|
235 |
self.horizontalLayout_17.addWidget(self.spinBoxMergeSize) |
|
236 |
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
237 |
self.horizontalLayout_17.addItem(spacerItem5) |
|
238 |
self.verticalLayout_5.addLayout(self.horizontalLayout_17) |
|
239 |
self.gridLayout_14.addLayout(self.verticalLayout_5, 0, 0, 1, 1) |
|
240 |
self.gridLayout_2.addWidget(self.groupBoxText, 0, 1, 1, 1) |
|
241 |
self.groupBoxFilter = QtWidgets.QGroupBox(self.Recognition) |
|
242 |
self.groupBoxFilter.setObjectName("groupBoxFilter") |
|
243 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBoxFilter) |
|
244 |
self.gridLayout_8.setObjectName("gridLayout_8") |
|
245 |
self.verticalLayout_9 = QtWidgets.QVBoxLayout() |
|
246 |
self.verticalLayout_9.setObjectName("verticalLayout_9") |
|
247 |
self.horizontalLayout_16 = QtWidgets.QHBoxLayout() |
|
248 |
self.horizontalLayout_16.setObjectName("horizontalLayout_16") |
|
249 |
self.label_10 = QtWidgets.QLabel(self.groupBoxFilter) |
|
250 |
self.label_10.setMaximumSize(QtCore.QSize(155, 16777215)) |
|
251 |
self.label_10.setObjectName("label_10") |
|
252 |
self.horizontalLayout_16.addWidget(self.label_10, 0, QtCore.Qt.AlignVCenter) |
|
253 |
self.spinBoxMinimumSize = QtWidgets.QSpinBox(self.groupBoxFilter) |
|
254 |
self.spinBoxMinimumSize.setObjectName("spinBoxMinimumSize") |
|
255 |
self.horizontalLayout_16.addWidget(self.spinBoxMinimumSize) |
|
256 |
self.verticalLayout_9.addLayout(self.horizontalLayout_16) |
|
257 |
self.gridLayout_8.addLayout(self.verticalLayout_9, 0, 0, 1, 1) |
|
258 |
self.gridLayout_2.addWidget(self.groupBoxFilter, 2, 1, 1, 1) |
|
259 |
self.tabWidget.addTab(self.Recognition, "") |
|
260 |
self.tabTagNoRule = QtWidgets.QWidget() |
|
261 |
self.tabTagNoRule.setObjectName("tabTagNoRule") |
|
262 |
self.gridLayout_7 = QtWidgets.QGridLayout(self.tabTagNoRule) |
|
263 |
self.gridLayout_7.setObjectName("gridLayout_7") |
|
264 |
self.groupBox_8 = QtWidgets.QGroupBox(self.tabTagNoRule) |
|
265 |
self.groupBox_8.setObjectName("groupBox_8") |
|
266 |
self.gridLayout_17 = QtWidgets.QGridLayout(self.groupBox_8) |
|
267 |
self.gridLayout_17.setObjectName("gridLayout_17") |
|
268 |
self.horizontalLayout_23 = QtWidgets.QHBoxLayout() |
|
269 |
self.horizontalLayout_23.setObjectName("horizontalLayout_23") |
|
270 |
self.label_27 = QtWidgets.QLabel(self.groupBox_8) |
|
271 |
self.label_27.setObjectName("label_27") |
|
272 |
self.horizontalLayout_23.addWidget(self.label_27) |
|
273 |
self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_8) |
|
274 |
self.lineEdit_2.setObjectName("lineEdit_2") |
|
275 |
self.horizontalLayout_23.addWidget(self.lineEdit_2) |
|
276 |
self.gridLayout_17.addLayout(self.horizontalLayout_23, 1, 0, 1, 1) |
|
277 |
self.gridLayout_7.addWidget(self.groupBox_8, 4, 0, 1, 1) |
|
278 |
self.groupBox_4 = QtWidgets.QGroupBox(self.tabTagNoRule) |
|
279 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
|
280 |
sizePolicy.setHorizontalStretch(0) |
|
281 |
sizePolicy.setVerticalStretch(0) |
|
282 |
sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth()) |
|
283 |
self.groupBox_4.setSizePolicy(sizePolicy) |
|
284 |
self.groupBox_4.setMaximumSize(QtCore.QSize(16777215, 100)) |
|
285 |
self.groupBox_4.setObjectName("groupBox_4") |
|
286 |
self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_4) |
|
287 |
self.gridLayout_9.setObjectName("gridLayout_9") |
|
27 |
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) |
|
28 |
self.gridLayout_2.setObjectName("gridLayout_2") |
|
288 | 29 |
self.formLayout = QtWidgets.QFormLayout() |
289 |
self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
290 | 30 |
self.formLayout.setObjectName("formLayout") |
291 |
self.checkBoxNoteNoSymbolName = QtWidgets.QCheckBox(self.groupBox_4) |
|
292 |
self.checkBoxNoteNoSymbolName.setObjectName("checkBoxNoteNoSymbolName") |
|
293 |
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.checkBoxNoteNoSymbolName) |
|
294 |
self.lineEditNoteNoSymbolName = QtWidgets.QLineEdit(self.groupBox_4) |
|
295 |
self.lineEditNoteNoSymbolName.setObjectName("lineEditNoteNoSymbolName") |
|
296 |
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditNoteNoSymbolName) |
|
297 |
self.label_8 = QtWidgets.QLabel(self.groupBox_4) |
|
298 |
self.label_8.setObjectName("label_8") |
|
299 |
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_8) |
|
300 |
self.lineEditNoteNoExpression = QtWidgets.QLineEdit(self.groupBox_4) |
|
301 |
self.lineEditNoteNoExpression.setObjectName("lineEditNoteNoExpression") |
|
302 |
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditNoteNoExpression) |
|
303 |
self.gridLayout_9.addLayout(self.formLayout, 0, 0, 1, 1) |
|
304 |
self.gridLayout_7.addWidget(self.groupBox_4, 0, 0, 1, 1) |
|
305 |
self.groupBox_9 = QtWidgets.QGroupBox(self.tabTagNoRule) |
|
306 |
self.groupBox_9.setMaximumSize(QtCore.QSize(16777215, 100)) |
|
307 |
self.groupBox_9.setObjectName("groupBox_9") |
|
308 |
self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox_9) |
|
309 |
self.gridLayout_13.setObjectName("gridLayout_13") |
|
310 |
self.formLayout_4 = QtWidgets.QFormLayout() |
|
311 |
self.formLayout_4.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
312 |
self.formLayout_4.setObjectName("formLayout_4") |
|
313 |
self.label_12 = QtWidgets.QLabel(self.groupBox_9) |
|
314 |
self.label_12.setObjectName("label_12") |
|
315 |
self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_12) |
|
316 |
self.lineEditDrainSize = QtWidgets.QLineEdit(self.groupBox_9) |
|
317 |
self.lineEditDrainSize.setText("") |
|
318 |
self.lineEditDrainSize.setObjectName("lineEditDrainSize") |
|
319 |
self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditDrainSize) |
|
320 |
self.gridLayout_13.addLayout(self.formLayout_4, 0, 0, 1, 1) |
|
321 |
self.gridLayout_7.addWidget(self.groupBox_9, 3, 0, 1, 1) |
|
322 |
self.groupBox_3 = QtWidgets.QGroupBox(self.tabTagNoRule) |
|
323 |
self.groupBox_3.setMaximumSize(QtCore.QSize(16777215, 100)) |
|
324 |
self.groupBox_3.setObjectName("groupBox_3") |
|
325 |
self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_3) |
|
326 |
self.gridLayout_12.setObjectName("gridLayout_12") |
|
327 |
self.formLayout_3 = QtWidgets.QFormLayout() |
|
328 |
self.formLayout_3.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
329 |
self.formLayout_3.setObjectName("formLayout_3") |
|
330 |
self.label_11 = QtWidgets.QLabel(self.groupBox_3) |
|
331 |
self.label_11.setObjectName("label_11") |
|
332 |
self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_11) |
|
333 |
self.lineEditByVendor = QtWidgets.QLineEdit(self.groupBox_3) |
|
334 |
self.lineEditByVendor.setObjectName("lineEditByVendor") |
|
335 |
self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditByVendor) |
|
336 |
self.gridLayout_12.addLayout(self.formLayout_3, 0, 0, 1, 1) |
|
337 |
self.gridLayout_7.addWidget(self.groupBox_3, 2, 0, 1, 1) |
|
338 |
self.groupBox_10 = QtWidgets.QGroupBox(self.tabTagNoRule) |
|
339 |
self.groupBox_10.setMaximumSize(QtCore.QSize(16777215, 100)) |
|
340 |
self.groupBox_10.setObjectName("groupBox_10") |
|
341 |
self.gridLayout_20 = QtWidgets.QGridLayout(self.groupBox_10) |
|
342 |
self.gridLayout_20.setObjectName("gridLayout_20") |
|
343 |
self.formLayout_5 = QtWidgets.QFormLayout() |
|
344 |
self.formLayout_5.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
345 |
self.formLayout_5.setObjectName("formLayout_5") |
|
346 |
self.label_13 = QtWidgets.QLabel(self.groupBox_10) |
|
347 |
self.label_13.setObjectName("label_13") |
|
348 |
self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_13) |
|
349 |
self.label_14 = QtWidgets.QLabel(self.groupBox_10) |
|
350 |
self.label_14.setObjectName("label_14") |
|
351 |
self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_14) |
|
352 |
self.lineEditOPCFromPrefix = QtWidgets.QLineEdit(self.groupBox_10) |
|
353 |
self.lineEditOPCFromPrefix.setObjectName("lineEditOPCFromPrefix") |
|
354 |
self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditOPCFromPrefix) |
|
355 |
self.lineEditOPCToPrefix = QtWidgets.QLineEdit(self.groupBox_10) |
|
356 |
self.lineEditOPCToPrefix.setObjectName("lineEditOPCToPrefix") |
|
357 |
self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditOPCToPrefix) |
|
358 |
self.gridLayout_20.addLayout(self.formLayout_5, 0, 0, 1, 1) |
|
359 |
self.gridLayout_7.addWidget(self.groupBox_10, 1, 0, 1, 1) |
|
360 |
self.tabWidget.addTab(self.tabTagNoRule, "") |
|
361 |
self.tabDisplayOption = QtWidgets.QWidget() |
|
362 |
self.tabDisplayOption.setObjectName("tabDisplayOption") |
|
363 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.tabDisplayOption) |
|
364 |
self.gridLayout_4.setObjectName("gridLayout_4") |
|
365 |
self.verticalLayout = QtWidgets.QVBoxLayout() |
|
366 |
self.verticalLayout.setObjectName("verticalLayout") |
|
367 |
self.groupBox_6 = QtWidgets.QGroupBox(self.tabDisplayOption) |
|
368 |
self.groupBox_6.setObjectName("groupBox_6") |
|
369 |
self.gridLayout_16 = QtWidgets.QGridLayout(self.groupBox_6) |
|
370 |
self.gridLayout_16.setObjectName("gridLayout_16") |
|
371 |
self.tableWidgetLineTypes = QtWidgets.QTableWidget(self.groupBox_6) |
|
372 |
self.tableWidgetLineTypes.setColumnCount(4) |
|
373 |
self.tableWidgetLineTypes.setObjectName("tableWidgetLineTypes") |
|
374 |
self.tableWidgetLineTypes.setRowCount(0) |
|
375 |
self.tableWidgetLineTypes.verticalHeader().setVisible(False) |
|
376 |
self.gridLayout_16.addWidget(self.tableWidgetLineTypes, 0, 0, 1, 1) |
|
377 |
self.verticalLayout.addWidget(self.groupBox_6) |
|
378 |
self.groupBox_2 = QtWidgets.QGroupBox(self.tabDisplayOption) |
|
31 |
self.verticalLayout_2 = QtWidgets.QVBoxLayout() |
|
32 |
self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
33 |
self.formLayout.setLayout(0, QtWidgets.QFormLayout.LabelRole, self.verticalLayout_2) |
|
34 |
self.gridLayout_2.addLayout(self.formLayout, 0, 0, 1, 1) |
|
35 |
self.groupBox_2 = QtWidgets.QGroupBox(ConfigurationDialog) |
|
36 |
self.groupBox_2.setGeometry(QtCore.QRect(8, 208, 353, 58)) |
|
379 | 37 |
self.groupBox_2.setObjectName("groupBox_2") |
380 |
self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_2) |
|
381 |
self.gridLayout_10.setObjectName("gridLayout_10") |
|
382 |
self.formLayout_2 = QtWidgets.QFormLayout() |
|
383 |
self.formLayout_2.setObjectName("formLayout_2") |
|
384 |
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
385 |
self.label_3.setObjectName("label_3") |
|
386 |
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3) |
|
387 |
self.pushButtonInstrumentColor = QtWidgets.QPushButton(self.groupBox_2) |
|
388 |
self.pushButtonInstrumentColor.setText("") |
|
389 |
self.pushButtonInstrumentColor.setObjectName("pushButtonInstrumentColor") |
|
390 |
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pushButtonInstrumentColor) |
|
391 |
self.label_23 = QtWidgets.QLabel(self.groupBox_2) |
|
392 |
self.label_23.setObjectName("label_23") |
|
393 |
self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_23) |
|
394 | 38 |
self.label_2 = QtWidgets.QLabel(self.groupBox_2) |
39 |
self.label_2.setGeometry(QtCore.QRect(11, 28, 65, 16)) |
|
395 | 40 |
self.label_2.setObjectName("label_2") |
396 |
self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_2) |
|
397 | 41 |
self.spinBoxSymbolOpacity = QtWidgets.QSpinBox(self.groupBox_2) |
42 |
self.spinBoxSymbolOpacity.setGeometry(QtCore.QRect(84, 28, 73, 21)) |
|
398 | 43 |
self.spinBoxSymbolOpacity.setProperty("value", 50) |
399 | 44 |
self.spinBoxSymbolOpacity.setObjectName("spinBoxSymbolOpacity") |
400 |
self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.spinBoxSymbolOpacity) |
|
401 |
self.pushButtonEquipColor = QtWidgets.QPushButton(self.groupBox_2) |
|
402 |
self.pushButtonEquipColor.setText("") |
|
403 |
self.pushButtonEquipColor.setObjectName("pushButtonEquipColor") |
|
404 |
self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.pushButtonEquipColor) |
|
405 |
self.gridLayout_10.addLayout(self.formLayout_2, 0, 0, 1, 1) |
|
406 |
self.verticalLayout.addWidget(self.groupBox_2) |
|
407 |
self.groupBox_5 = QtWidgets.QGroupBox(self.tabDisplayOption) |
|
45 |
self.buttonBox = QtWidgets.QDialogButtonBox(ConfigurationDialog) |
|
46 |
self.buttonBox.setGeometry(QtCore.QRect(207, 368, 156, 23)) |
|
47 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
|
48 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
49 |
self.buttonBox.setObjectName("buttonBox") |
|
50 |
self.groupBox_5 = QtWidgets.QGroupBox(ConfigurationDialog) |
|
51 |
self.groupBox_5.setGeometry(QtCore.QRect(8, 272, 353, 89)) |
|
408 | 52 |
self.groupBox_5.setObjectName("groupBox_5") |
409 |
self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_5) |
|
410 |
self.gridLayout_15.setObjectName("gridLayout_15") |
|
411 |
self.horizontalLayout_19 = QtWidgets.QHBoxLayout() |
|
412 |
self.horizontalLayout_19.setObjectName("horizontalLayout_19") |
|
53 |
self.labelFontName = QtWidgets.QLabel(self.groupBox_5) |
|
54 |
self.labelFontName.setGeometry(QtCore.QRect(12, 27, 81, 16)) |
|
55 |
self.labelFontName.setMinimumSize(QtCore.QSize(0, 0)) |
|
56 |
self.labelFontName.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
57 |
self.labelFontName.setObjectName("labelFontName") |
|
58 |
self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_5) |
|
59 |
self.fontComboBox.setGeometry(QtCore.QRect(97, 27, 245, 21)) |
|
60 |
self.fontComboBox.setObjectName("fontComboBox") |
|
413 | 61 |
self.labelFontSize = QtWidgets.QLabel(self.groupBox_5) |
62 |
self.labelFontSize.setGeometry(QtCore.QRect(12, 57, 77, 16)) |
|
63 |
self.labelFontSize.setMinimumSize(QtCore.QSize(0, 0)) |
|
64 |
self.labelFontSize.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
414 | 65 |
self.labelFontSize.setObjectName("labelFontSize") |
415 |
self.horizontalLayout_19.addWidget(self.labelFontSize, 0, QtCore.Qt.AlignLeft) |
|
416 |
self.radioButtonAutoSize = QtWidgets.QRadioButton(self.groupBox_5) |
|
417 |
self.radioButtonAutoSize.setObjectName("radioButtonAutoSize") |
|
418 |
self.horizontalLayout_19.addWidget(self.radioButtonAutoSize) |
|
419 | 66 |
self.radioButtonFixedSize = QtWidgets.QRadioButton(self.groupBox_5) |
67 |
self.radioButtonFixedSize.setGeometry(QtCore.QRect(192, 58, 50, 19)) |
|
420 | 68 |
self.radioButtonFixedSize.setMaximumSize(QtCore.QSize(50, 16777215)) |
421 | 69 |
self.radioButtonFixedSize.setObjectName("radioButtonFixedSize") |
422 |
self.horizontalLayout_19.addWidget(self.radioButtonFixedSize) |
|
70 |
self.radioButtonAutoSize = QtWidgets.QRadioButton(self.groupBox_5) |
|
71 |
self.radioButtonAutoSize.setGeometry(QtCore.QRect(97, 58, 49, 19)) |
|
72 |
self.radioButtonAutoSize.setObjectName("radioButtonAutoSize") |
|
423 | 73 |
self.spinBoxFontSize = QtWidgets.QSpinBox(self.groupBox_5) |
74 |
self.spinBoxFontSize.setGeometry(QtCore.QRect(248, 57, 40, 21)) |
|
424 | 75 |
self.spinBoxFontSize.setObjectName("spinBoxFontSize") |
425 |
self.horizontalLayout_19.addWidget(self.spinBoxFontSize) |
|
426 |
self.gridLayout_15.addLayout(self.horizontalLayout_19, 2, 0, 1, 1) |
|
427 |
self.verticalLayout_6 = QtWidgets.QVBoxLayout() |
|
428 |
self.verticalLayout_6.setObjectName("verticalLayout_6") |
|
429 |
self.horizontalLayout_18 = QtWidgets.QHBoxLayout() |
|
430 |
self.horizontalLayout_18.setObjectName("horizontalLayout_18") |
|
431 |
self.labelFontName = QtWidgets.QLabel(self.groupBox_5) |
|
432 |
self.labelFontName.setObjectName("labelFontName") |
|
433 |
self.horizontalLayout_18.addWidget(self.labelFontName) |
|
434 |
self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_5) |
|
435 |
self.fontComboBox.setObjectName("fontComboBox") |
|
436 |
self.horizontalLayout_18.addWidget(self.fontComboBox) |
|
437 |
self.verticalLayout_6.addLayout(self.horizontalLayout_18) |
|
438 |
self.gridLayout_15.addLayout(self.verticalLayout_6, 0, 0, 1, 1) |
|
439 |
self.verticalLayout.addWidget(self.groupBox_5) |
|
440 |
self.gridLayout_4.addLayout(self.verticalLayout, 0, 0, 1, 1) |
|
441 |
self.tabWidget.addTab(self.tabDisplayOption, "") |
|
442 |
self.tabLineColor = QtWidgets.QWidget() |
|
443 |
self.tabLineColor.setObjectName("tabLineColor") |
|
444 |
self.gridLayout_18 = QtWidgets.QGridLayout(self.tabLineColor) |
|
445 |
self.gridLayout_18.setObjectName("gridLayout_18") |
|
446 |
self.groupBox_7 = QtWidgets.QGroupBox(self.tabLineColor) |
|
447 |
self.groupBox_7.setObjectName("groupBox_7") |
|
448 |
self.gridLayout_19 = QtWidgets.QGridLayout(self.groupBox_7) |
|
449 |
self.gridLayout_19.setObjectName("gridLayout_19") |
|
450 |
self.verticalLayout_8 = QtWidgets.QVBoxLayout() |
|
451 |
self.verticalLayout_8.setObjectName("verticalLayout_8") |
|
452 |
self.horizontalLayout_21 = QtWidgets.QHBoxLayout() |
|
453 |
self.horizontalLayout_21.setObjectName("horizontalLayout_21") |
|
454 |
self.label_25 = QtWidgets.QLabel(self.groupBox_7) |
|
455 |
self.label_25.setObjectName("label_25") |
|
456 |
self.horizontalLayout_21.addWidget(self.label_25) |
|
457 |
self.radioButtonRandom = QtWidgets.QRadioButton(self.groupBox_7) |
|
458 |
self.radioButtonRandom.setObjectName("radioButtonRandom") |
|
459 |
self.horizontalLayout_21.addWidget(self.radioButtonRandom) |
|
460 |
self.radioButtonProperty = QtWidgets.QRadioButton(self.groupBox_7) |
|
461 |
self.radioButtonProperty.setObjectName("radioButtonProperty") |
|
462 |
self.horizontalLayout_21.addWidget(self.radioButtonProperty) |
|
463 |
self.comboBoxColorOption = QtWidgets.QComboBox(self.groupBox_7) |
|
464 |
self.comboBoxColorOption.setObjectName("comboBoxColorOption") |
|
465 |
self.horizontalLayout_21.addWidget(self.comboBoxColorOption) |
|
466 |
self.verticalLayout_8.addLayout(self.horizontalLayout_21) |
|
467 |
self.horizontalLayout_22 = QtWidgets.QHBoxLayout() |
|
468 |
self.horizontalLayout_22.setObjectName("horizontalLayout_22") |
|
469 |
self.tableWidgetColorProperty = QtWidgets.QTableWidget(self.groupBox_7) |
|
470 |
self.tableWidgetColorProperty.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) |
|
471 |
self.tableWidgetColorProperty.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection) |
|
472 |
self.tableWidgetColorProperty.setColumnCount(4) |
|
473 |
self.tableWidgetColorProperty.setObjectName("tableWidgetColorProperty") |
|
474 |
self.tableWidgetColorProperty.setRowCount(0) |
|
475 |
self.tableWidgetColorProperty.verticalHeader().setVisible(False) |
|
476 |
self.horizontalLayout_22.addWidget(self.tableWidgetColorProperty) |
|
477 |
self.verticalLayout_8.addLayout(self.horizontalLayout_22) |
|
478 |
self.gridLayout_19.addLayout(self.verticalLayout_8, 0, 0, 1, 1) |
|
479 |
self.gridLayout_18.addWidget(self.groupBox_7, 0, 0, 1, 1) |
|
480 |
self.tabWidget.addTab(self.tabLineColor, "") |
|
481 |
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) |
|
482 |
self.buttonBox = QtWidgets.QDialogButtonBox(ConfigurationDialog) |
|
483 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
|
484 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
485 |
self.buttonBox.setObjectName("buttonBox") |
|
486 |
self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1) |
|
76 |
self.lineEdit = QtWidgets.QLineEdit(ConfigurationDialog) |
|
77 |
self.lineEdit.setEnabled(False) |
|
78 |
self.lineEdit.setGeometry(QtCore.QRect(152, 10, 205, 21)) |
|
79 |
self.lineEdit.setObjectName("lineEdit") |
|
80 |
self.label = QtWidgets.QLabel(ConfigurationDialog) |
|
81 |
self.label.setGeometry(QtCore.QRect(8, 10, 145, 16)) |
|
82 |
self.label.setObjectName("label") |
|
487 | 83 |
|
488 | 84 |
self.retranslateUi(ConfigurationDialog) |
489 |
self.tabWidget.setCurrentIndex(0) |
|
490 | 85 |
self.buttonBox.accepted.connect(ConfigurationDialog.accept) |
491 | 86 |
self.buttonBox.rejected.connect(ConfigurationDialog.reject) |
492 | 87 |
QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog) |
493 |
ConfigurationDialog.setTabOrder(self.spinBoxExpandSize, self.minTextSizeSpinBox) |
|
494 |
ConfigurationDialog.setTabOrder(self.minTextSizeSpinBox, self.maxTextSizeSpinBox) |
|
495 |
ConfigurationDialog.setTabOrder(self.maxTextSizeSpinBox, self.spinBoxMergeSize) |
|
496 |
ConfigurationDialog.setTabOrder(self.spinBoxMergeSize, self.lineEditSizeDelimiter) |
|
497 |
ConfigurationDialog.setTabOrder(self.lineEditSizeDelimiter, self.pushButtonAddProperty) |
|
498 |
ConfigurationDialog.setTabOrder(self.pushButtonAddProperty, self.lineEdit_2) |
|
499 |
ConfigurationDialog.setTabOrder(self.lineEdit_2, self.tableWidgetLineTypes) |
|
500 |
ConfigurationDialog.setTabOrder(self.tableWidgetLineTypes, self.fontComboBox) |
|
88 |
ConfigurationDialog.setTabOrder(self.lineEdit, self.spinBoxSymbolOpacity) |
|
89 |
ConfigurationDialog.setTabOrder(self.spinBoxSymbolOpacity, self.fontComboBox) |
|
501 | 90 |
ConfigurationDialog.setTabOrder(self.fontComboBox, self.radioButtonAutoSize) |
502 | 91 |
ConfigurationDialog.setTabOrder(self.radioButtonAutoSize, self.radioButtonFixedSize) |
503 | 92 |
ConfigurationDialog.setTabOrder(self.radioButtonFixedSize, self.spinBoxFontSize) |
504 |
ConfigurationDialog.setTabOrder(self.spinBoxFontSize, self.radioButtonRandom) |
|
505 |
ConfigurationDialog.setTabOrder(self.radioButtonRandom, self.radioButtonProperty) |
|
506 |
ConfigurationDialog.setTabOrder(self.radioButtonProperty, self.comboBoxColorOption) |
|
507 |
ConfigurationDialog.setTabOrder(self.comboBoxColorOption, self.tableWidgetColorProperty) |
|
508 |
ConfigurationDialog.setTabOrder(self.tableWidgetColorProperty, self.tabWidget) |
|
509 | 93 |
|
510 | 94 |
def retranslateUi(self, ConfigurationDialog): |
511 | 95 |
_translate = QtCore.QCoreApplication.translate |
512 | 96 |
ConfigurationDialog.setWindowTitle(_translate("ConfigurationDialog", "Configuration")) |
513 |
self.groupBoxAttribute.setTitle(_translate("ConfigurationDialog", "Attribute")) |
|
514 |
self.label_6.setText(_translate("ConfigurationDialog", "Size Delimiter : ")) |
|
515 |
self.label_15.setText(_translate("ConfigurationDialog", "Attribute Detection Range(Ratio) : ")) |
|
516 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Line Detection")) |
|
517 |
self.label_4.setText(_translate("ConfigurationDialog", "Ignore Small Object Size : ")) |
|
518 |
self.label_16.setText(_translate("ConfigurationDialog", "Small Line Minimum Length")) |
|
519 |
self.label_9.setText(_translate("ConfigurationDialog", "Length to Connect Line")) |
|
520 |
self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : ")) |
|
521 |
self.label_5.setText(_translate("ConfigurationDialog", "< Area < ")) |
|
522 |
self.groupBoxLineNo.setTitle(_translate("ConfigurationDialog", "Line No")) |
|
523 |
self.pushButtonLineNoAttribute.setText(_translate("ConfigurationDialog", "Line No Attribute")) |
|
524 |
self.pushButtonAddProperty.setText(_translate("ConfigurationDialog", "Add")) |
|
525 |
self.pushButtonDeleteProperty.setText(_translate("ConfigurationDialog", "Delete")) |
|
526 |
self.groupBoxText.setTitle(_translate("ConfigurationDialog", "Text Detection")) |
|
527 |
self.label_19.setText(_translate("ConfigurationDialog", "OCR Source : ")) |
|
528 |
self.label_7.setText(_translate("ConfigurationDialog", "Detected string : ")) |
|
529 |
self.label_20.setText(_translate("ConfigurationDialog", "Expansion Size : ")) |
|
530 |
self.label_21.setText(_translate("ConfigurationDialog", "Erosion Size : ")) |
|
531 |
self.label_17.setText(_translate("ConfigurationDialog", "Minimum Text Size : ")) |
|
532 |
self.label_18.setText(_translate("ConfigurationDialog", "Maximum Text Size : ")) |
|
533 |
self.label_22.setText(_translate("ConfigurationDialog", "Merge Size : ")) |
|
534 |
self.groupBoxFilter.setTitle(_translate("ConfigurationDialog", "Filter")) |
|
535 |
self.label_10.setText(_translate("ConfigurationDialog", "Minimum Detection Size : ")) |
|
536 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition), _translate("ConfigurationDialog", "Recognition")) |
|
537 |
self.groupBox_8.setTitle(_translate("ConfigurationDialog", "Nozzle Name Rule")) |
|
538 |
self.label_27.setText(_translate("ConfigurationDialog", "Nozzle Name : ")) |
|
539 |
self.groupBox_4.setTitle(_translate("ConfigurationDialog", "Note No Tag Rule")) |
|
540 |
self.checkBoxNoteNoSymbolName.setText(_translate("ConfigurationDialog", "Note No Symbol Name : ")) |
|
541 |
self.label_8.setText(_translate("ConfigurationDialog", "Note No Expression : ")) |
|
542 |
self.groupBox_9.setTitle(_translate("ConfigurationDialog", "Drain Size")) |
|
543 |
self.label_12.setText(_translate("ConfigurationDialog", "Drain Size : ")) |
|
544 |
self.groupBox_3.setTitle(_translate("ConfigurationDialog", "Supplied by Tag Rule")) |
|
545 |
self.label_11.setText(_translate("ConfigurationDialog", "Supplied by Vendor : ")) |
|
546 |
self.groupBox_10.setTitle(_translate("ConfigurationDialog", "OPC Tag Rule")) |
|
547 |
self.label_13.setText(_translate("ConfigurationDialog", "From Prefix : ")) |
|
548 |
self.label_14.setText(_translate("ConfigurationDialog", "To Prefix : ")) |
|
549 |
self.lineEditOPCFromPrefix.setText(_translate("ConfigurationDialog", "FROM")) |
|
550 |
self.lineEditOPCToPrefix.setText(_translate("ConfigurationDialog", "TO")) |
|
551 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabTagNoRule), _translate("ConfigurationDialog", "Tag Rule")) |
|
552 |
self.groupBox_6.setTitle(_translate("ConfigurationDialog", "Line Style")) |
|
97 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Units")) |
|
553 | 98 |
self.groupBox_2.setTitle(_translate("ConfigurationDialog", "Symbol Style")) |
554 |
self.label_3.setText(_translate("ConfigurationDialog", "Instrument Color : ")) |
|
555 |
self.label_23.setText(_translate("ConfigurationDialog", "Equipment Color : ")) |
|
556 |
self.label_2.setText(_translate("ConfigurationDialog", "Symbol Opacity : ")) |
|
99 |
self.label_2.setText(_translate("ConfigurationDialog", "Opacity : ")) |
|
557 | 100 |
self.groupBox_5.setTitle(_translate("ConfigurationDialog", "Text Style")) |
101 |
self.labelFontName.setText(_translate("ConfigurationDialog", "Font Name : ")) |
|
558 | 102 |
self.labelFontSize.setText(_translate("ConfigurationDialog", "Font Size : ")) |
559 |
self.radioButtonAutoSize.setText(_translate("ConfigurationDialog", "Auto")) |
|
560 | 103 |
self.radioButtonFixedSize.setText(_translate("ConfigurationDialog", "Fixed")) |
561 |
self.labelFontName.setText(_translate("ConfigurationDialog", "Font Name : ")) |
|
562 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDisplayOption), _translate("ConfigurationDialog", "Style")) |
|
563 |
self.groupBox_7.setTitle(_translate("ConfigurationDialog", "Line No Color")) |
|
564 |
self.label_25.setText(_translate("ConfigurationDialog", "Color Representation")) |
|
565 |
self.radioButtonRandom.setText(_translate("ConfigurationDialog", "Random")) |
|
566 |
self.radioButtonProperty.setText(_translate("ConfigurationDialog", "Property")) |
|
567 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineColor), _translate("ConfigurationDialog", "Line No Color")) |
|
568 |
|
|
569 |
import MainWindow_rc |
|
570 |
|
|
571 |
if __name__ == "__main__": |
|
572 |
import sys |
|
573 |
app = QtWidgets.QApplication(sys.argv) |
|
574 |
ConfigurationDialog = QtWidgets.QDialog() |
|
575 |
ui = Ui_ConfigurationDialog() |
|
576 |
ui.setupUi(ConfigurationDialog) |
|
577 |
ConfigurationDialog.show() |
|
578 |
sys.exit(app.exec_()) |
|
579 |
|
|
104 |
self.radioButtonAutoSize.setText(_translate("ConfigurationDialog", "Auto")) |
|
105 |
self.label.setText(_translate("ConfigurationDialog", "Current Drawing Name :")) |
|
106 |
import Resource_rc |
내보내기 Unified diff