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