프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / DTI_PID / Configuration_UI.py @ d06ac7b3

이력 | 보기 | 이력해설 | 다운로드 (66.4 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(768, 793)
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.groupBoxFilter = QtWidgets.QGroupBox(self.Recognition)
31
        self.groupBoxFilter.setObjectName("groupBoxFilter")
32
        self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBoxFilter)
33
        self.gridLayout_8.setObjectName("gridLayout_8")
34
        self.gridLayout_27 = QtWidgets.QGridLayout()
35
        self.gridLayout_27.setObjectName("gridLayout_27")
36
        self.gridLayout_35 = QtWidgets.QGridLayout()
37
        self.gridLayout_35.setObjectName("gridLayout_35")
38
        self.lineEditBinaryValue = QtWidgets.QLineEdit(self.groupBoxFilter)
39
        self.lineEditBinaryValue.setObjectName("lineEditBinaryValue")
40
        self.gridLayout_35.addWidget(self.lineEditBinaryValue, 2, 2, 1, 1)
41
        self.radioButtonNoThreshold = QtWidgets.QRadioButton(self.groupBoxFilter)
42
        self.radioButtonNoThreshold.setObjectName("radioButtonNoThreshold")
43
        self.gridLayout_35.addWidget(self.radioButtonNoThreshold, 0, 0, 1, 1)
44
        self.radioButtonOTSU = QtWidgets.QRadioButton(self.groupBoxFilter)
45
        self.radioButtonOTSU.setObjectName("radioButtonOTSU")
46
        self.gridLayout_35.addWidget(self.radioButtonOTSU, 1, 0, 1, 1)
47
        self.radioButtonBinary = QtWidgets.QRadioButton(self.groupBoxFilter)
48
        self.radioButtonBinary.setObjectName("radioButtonBinary")
49
        self.gridLayout_35.addWidget(self.radioButtonBinary, 2, 0, 1, 1)
50
        self.label_41 = QtWidgets.QLabel(self.groupBoxFilter)
51
        self.label_41.setObjectName("label_41")
52
        self.gridLayout_35.addWidget(self.label_41, 2, 1, 1, 1)
53
        self.label_42 = QtWidgets.QLabel(self.groupBoxFilter)
54
        self.label_42.setObjectName("label_42")
55
        self.gridLayout_35.addWidget(self.label_42, 1, 1, 1, 1)
56
        self.lineEditOTSUValue = QtWidgets.QLineEdit(self.groupBoxFilter)
57
        self.lineEditOTSUValue.setObjectName("lineEditOTSUValue")
58
        self.gridLayout_35.addWidget(self.lineEditOTSUValue, 1, 2, 1, 1)
59
        self.gridLayout_27.addLayout(self.gridLayout_35, 2, 1, 1, 1)
60
        self.label_32 = QtWidgets.QLabel(self.groupBoxFilter)
61
        self.label_32.setMaximumSize(QtCore.QSize(230, 16777215))
62
        self.label_32.setObjectName("label_32")
63
        self.gridLayout_27.addWidget(self.label_32, 5, 0, 1, 1)
64
        self.label_38 = QtWidgets.QLabel(self.groupBoxFilter)
65
        self.label_38.setObjectName("label_38")
66
        self.gridLayout_27.addWidget(self.label_38, 3, 0, 1, 1)
67
        self.label_33 = QtWidgets.QLabel(self.groupBoxFilter)
68
        self.label_33.setMinimumSize(QtCore.QSize(230, 0))
69
        self.label_33.setMaximumSize(QtCore.QSize(230, 16777215))
70
        self.label_33.setObjectName("label_33")
71
        self.gridLayout_27.addWidget(self.label_33, 1, 0, 1, 1)
72
        self.spinBoxDilateSize = QtWidgets.QSpinBox(self.groupBoxFilter)
73
        self.spinBoxDilateSize.setMaximum(10)
74
        self.spinBoxDilateSize.setObjectName("spinBoxDilateSize")
75
        self.gridLayout_27.addWidget(self.spinBoxDilateSize, 4, 1, 1, 1)
76
        self.label_40 = QtWidgets.QLabel(self.groupBoxFilter)
77
        self.label_40.setObjectName("label_40")
78
        self.gridLayout_27.addWidget(self.label_40, 2, 0, 1, 1)
79
        self.spinBoxFlatSize = QtWidgets.QSpinBox(self.groupBoxFilter)
80
        self.spinBoxFlatSize.setObjectName("spinBoxFlatSize")
81
        self.gridLayout_27.addWidget(self.spinBoxFlatSize, 5, 1, 1, 1)
82
        self.spinBoxMinimumSize = QtWidgets.QSpinBox(self.groupBoxFilter)
83
        self.spinBoxMinimumSize.setObjectName("spinBoxMinimumSize")
84
        self.gridLayout_27.addWidget(self.spinBoxMinimumSize, 0, 1, 1, 1)
85
        self.label_10 = QtWidgets.QLabel(self.groupBoxFilter)
86
        self.label_10.setMaximumSize(QtCore.QSize(230, 16777215))
87
        self.label_10.setObjectName("label_10")
88
        self.gridLayout_27.addWidget(self.label_10, 0, 0, 1, 1)
89
        self.spinBoxUnrecognitionIgnoreStep = QtWidgets.QSpinBox(self.groupBoxFilter)
90
        self.spinBoxUnrecognitionIgnoreStep.setMaximum(10)
91
        self.spinBoxUnrecognitionIgnoreStep.setObjectName("spinBoxUnrecognitionIgnoreStep")
92
        self.gridLayout_27.addWidget(self.spinBoxUnrecognitionIgnoreStep, 1, 1, 1, 1)
93
        self.label_29 = QtWidgets.QLabel(self.groupBoxFilter)
94
        self.label_29.setMaximumSize(QtCore.QSize(230, 16777215))
95
        self.label_29.setObjectName("label_29")
96
        self.gridLayout_27.addWidget(self.label_29, 4, 0, 1, 1)
97
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
98
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
99
        self.checkBoxApplyGaussianBlur = QtWidgets.QCheckBox(self.groupBoxFilter)
100
        self.checkBoxApplyGaussianBlur.setObjectName("checkBoxApplyGaussianBlur")
101
        self.horizontalLayout_6.addWidget(self.checkBoxApplyGaussianBlur)
102
        self.gridLayout_27.addLayout(self.horizontalLayout_6, 3, 1, 1, 1)
103
        self.gridLayout_8.addLayout(self.gridLayout_27, 0, 0, 1, 1)
104
        self.gridLayout_2.addWidget(self.groupBoxFilter, 2, 1, 1, 1)
105
        self.groupBoxText = QtWidgets.QGroupBox(self.Recognition)
106
        self.groupBoxText.setObjectName("groupBoxText")
107
        self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBoxText)
108
        self.gridLayout_14.setObjectName("gridLayout_14")
109
        self.gridLayout_25 = QtWidgets.QGridLayout()
110
        self.gridLayout_25.setObjectName("gridLayout_25")
111
        self.label_44 = QtWidgets.QLabel(self.groupBoxText)
112
        self.label_44.setObjectName("label_44")
113
        self.gridLayout_25.addWidget(self.label_44, 9, 0, 1, 1)
114
        self.spinBoxTextAreaOffset = QtWidgets.QSpinBox(self.groupBoxText)
115
        self.spinBoxTextAreaOffset.setObjectName("spinBoxTextAreaOffset")
116
        self.gridLayout_25.addWidget(self.spinBoxTextAreaOffset, 9, 1, 1, 1)
117
        self.comboBoxOCRData = QtWidgets.QComboBox(self.groupBoxText)
118
        self.comboBoxOCRData.setMinimumSize(QtCore.QSize(200, 0))
119
        self.comboBoxOCRData.setMaximumSize(QtCore.QSize(200, 16777215))
120
        self.comboBoxOCRData.setObjectName("comboBoxOCRData")
121
        self.gridLayout_25.addWidget(self.comboBoxOCRData, 0, 1, 1, 1)
122
        self.maxTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
123
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
124
        sizePolicy.setHorizontalStretch(0)
125
        sizePolicy.setVerticalStretch(0)
126
        sizePolicy.setHeightForWidth(self.maxTextSizeSpinBox.sizePolicy().hasHeightForWidth())
127
        self.maxTextSizeSpinBox.setSizePolicy(sizePolicy)
128
        self.maxTextSizeSpinBox.setMaximum(150)
129
        self.maxTextSizeSpinBox.setProperty("value", 60)
130
        self.maxTextSizeSpinBox.setObjectName("maxTextSizeSpinBox")
131
        self.gridLayout_25.addWidget(self.maxTextSizeSpinBox, 7, 3, 1, 1)
132
        self.spinBoxMergeSize = QtWidgets.QSpinBox(self.groupBoxText)
133
        self.spinBoxMergeSize.setMinimumSize(QtCore.QSize(100, 0))
134
        self.spinBoxMergeSize.setObjectName("spinBoxMergeSize")
135
        self.gridLayout_25.addWidget(self.spinBoxMergeSize, 8, 1, 1, 1)
136
        self.label_21 = QtWidgets.QLabel(self.groupBoxText)
137
        self.label_21.setObjectName("label_21")
138
        self.gridLayout_25.addWidget(self.label_21, 6, 2, 1, 1)
139
        self.spinBoxShrinkSize = QtWidgets.QSpinBox(self.groupBoxText)
140
        self.spinBoxShrinkSize.setMinimumSize(QtCore.QSize(100, 0))
141
        self.spinBoxShrinkSize.setObjectName("spinBoxShrinkSize")
142
        self.gridLayout_25.addWidget(self.spinBoxShrinkSize, 6, 3, 1, 1)
143
        self.labelTesseractVersion = QtWidgets.QLabel(self.groupBoxText)
144
        self.labelTesseractVersion.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
145
        self.labelTesseractVersion.setObjectName("labelTesseractVersion")
146
        self.gridLayout_25.addWidget(self.labelTesseractVersion, 0, 2, 1, 2)
147
        self.label_22 = QtWidgets.QLabel(self.groupBoxText)
148
        self.label_22.setObjectName("label_22")
149
        self.gridLayout_25.addWidget(self.label_22, 8, 0, 1, 1)
150
        self.spinBoxExpandSize = QtWidgets.QSpinBox(self.groupBoxText)
151
        self.spinBoxExpandSize.setMinimumSize(QtCore.QSize(100, 0))
152
        self.spinBoxExpandSize.setObjectName("spinBoxExpandSize")
153
        self.gridLayout_25.addWidget(self.spinBoxExpandSize, 6, 1, 1, 1)
154
        self.label_19 = QtWidgets.QLabel(self.groupBoxText)
155
        self.label_19.setObjectName("label_19")
156
        self.gridLayout_25.addWidget(self.label_19, 0, 0, 1, 1)
157
        self.minTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
158
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
159
        sizePolicy.setHorizontalStretch(0)
160
        sizePolicy.setVerticalStretch(0)
161
        sizePolicy.setHeightForWidth(self.minTextSizeSpinBox.sizePolicy().hasHeightForWidth())
162
        self.minTextSizeSpinBox.setSizePolicy(sizePolicy)
163
        self.minTextSizeSpinBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
164
        self.minTextSizeSpinBox.setProperty("value", 30)
165
        self.minTextSizeSpinBox.setObjectName("minTextSizeSpinBox")
166
        self.gridLayout_25.addWidget(self.minTextSizeSpinBox, 7, 1, 1, 1)
167
        self.lineEditWhiteCharList = QtWidgets.QLineEdit(self.groupBoxText)
168
        font = QtGui.QFont()
169
        font.setFamily("Consolas")
170
        self.lineEditWhiteCharList.setFont(font)
171
        self.lineEditWhiteCharList.setObjectName("lineEditWhiteCharList")
172
        self.gridLayout_25.addWidget(self.lineEditWhiteCharList, 1, 1, 1, 3)
173
        self.comboBoxOCREngineMode = QtWidgets.QComboBox(self.groupBoxText)
174
        self.comboBoxOCREngineMode.setObjectName("comboBoxOCREngineMode")
175
        self.gridLayout_25.addWidget(self.comboBoxOCREngineMode, 3, 1, 1, 3)
176
        self.label_39 = QtWidgets.QLabel(self.groupBoxText)
177
        self.label_39.setObjectName("label_39")
178
        self.gridLayout_25.addWidget(self.label_39, 2, 0, 1, 1)
179
        self.label_20 = QtWidgets.QLabel(self.groupBoxText)
180
        self.label_20.setObjectName("label_20")
181
        self.gridLayout_25.addWidget(self.label_20, 6, 0, 1, 1)
182
        self.comboBoxPageSegmentationModes = QtWidgets.QComboBox(self.groupBoxText)
183
        self.comboBoxPageSegmentationModes.setObjectName("comboBoxPageSegmentationModes")
184
        self.gridLayout_25.addWidget(self.comboBoxPageSegmentationModes, 2, 1, 1, 3)
185
        self.label_18 = QtWidgets.QLabel(self.groupBoxText)
186
        self.label_18.setObjectName("label_18")
187
        self.gridLayout_25.addWidget(self.label_18, 7, 2, 1, 1)
188
        self.label_7 = QtWidgets.QLabel(self.groupBoxText)
189
        self.label_7.setObjectName("label_7")
190
        self.gridLayout_25.addWidget(self.label_7, 1, 0, 1, 1)
191
        self.label_43 = QtWidgets.QLabel(self.groupBoxText)
192
        self.label_43.setObjectName("label_43")
193
        self.gridLayout_25.addWidget(self.label_43, 3, 0, 1, 1)
194
        self.label_37 = QtWidgets.QLabel(self.groupBoxText)
195
        self.label_37.setObjectName("label_37")
196
        self.gridLayout_25.addWidget(self.label_37, 4, 0, 1, 1)
197
        self.label_17 = QtWidgets.QLabel(self.groupBoxText)
198
        self.label_17.setObjectName("label_17")
199
        self.gridLayout_25.addWidget(self.label_17, 7, 0, 1, 1)
200
        self.label_50 = QtWidgets.QLabel(self.groupBoxText)
201
        self.label_50.setObjectName("label_50")
202
        self.gridLayout_25.addWidget(self.label_50, 5, 0, 1, 1)
203
        self.lineEditSingleText = QtWidgets.QLineEdit(self.groupBoxText)
204
        font = QtGui.QFont()
205
        font.setFamily("Consolas")
206
        self.lineEditSingleText.setFont(font)
207
        self.lineEditSingleText.setObjectName("lineEditSingleText")
208
        self.gridLayout_25.addWidget(self.lineEditSingleText, 4, 1, 1, 3)
209
        self.lineEditAllowablePair = QtWidgets.QLineEdit(self.groupBoxText)
210
        font = QtGui.QFont()
211
        font.setFamily("Consolas")
212
        self.lineEditAllowablePair.setFont(font)
213
        self.lineEditAllowablePair.setObjectName("lineEditAllowablePair")
214
        self.gridLayout_25.addWidget(self.lineEditAllowablePair, 5, 1, 1, 3)
215
        self.gridLayout_14.addLayout(self.gridLayout_25, 0, 0, 1, 1)
216
        self.gridLayout_2.addWidget(self.groupBoxText, 0, 1, 1, 1)
217
        self.groupBoxAttribute = QtWidgets.QGroupBox(self.Recognition)
218
        self.groupBoxAttribute.setMaximumSize(QtCore.QSize(16777215, 16777215))
219
        self.groupBoxAttribute.setObjectName("groupBoxAttribute")
220
        self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute)
221
        self.gridLayout_6.setObjectName("gridLayout_6")
222
        self.gridLayout_26 = QtWidgets.QGridLayout()
223
        self.gridLayout_26.setObjectName("gridLayout_26")
224
        self.spinBoxFlowMarkPosition = QtWidgets.QSpinBox(self.groupBoxAttribute)
225
        self.spinBoxFlowMarkPosition.setMaximum(100)
226
        self.spinBoxFlowMarkPosition.setObjectName("spinBoxFlowMarkPosition")
227
        self.gridLayout_26.addWidget(self.spinBoxFlowMarkPosition, 2, 1, 1, 1)
228
        self.lineEditSizeDelimiter = QtWidgets.QLineEdit(self.groupBoxAttribute)
229
        self.lineEditSizeDelimiter.setObjectName("lineEditSizeDelimiter")
230
        self.gridLayout_26.addWidget(self.lineEditSizeDelimiter, 0, 1, 1, 1)
231
        self.doubleSpinBoxDetectionRange = QtWidgets.QDoubleSpinBox(self.groupBoxAttribute)
232
        self.doubleSpinBoxDetectionRange.setSingleStep(0.1)
233
        self.doubleSpinBoxDetectionRange.setProperty("value", 1.0)
234
        self.doubleSpinBoxDetectionRange.setObjectName("doubleSpinBoxDetectionRange")
235
        self.gridLayout_26.addWidget(self.doubleSpinBoxDetectionRange, 1, 1, 1, 1)
236
        self.label_6 = QtWidgets.QLabel(self.groupBoxAttribute)
237
        self.label_6.setObjectName("label_6")
238
        self.gridLayout_26.addWidget(self.label_6, 0, 0, 1, 1)
239
        self.label_24 = QtWidgets.QLabel(self.groupBoxAttribute)
240
        self.label_24.setMaximumSize(QtCore.QSize(190, 16777215))
241
        self.label_24.setObjectName("label_24")
242
        self.gridLayout_26.addWidget(self.label_24, 2, 0, 1, 1)
243
        self.label_15 = QtWidgets.QLabel(self.groupBoxAttribute)
244
        self.label_15.setMaximumSize(QtCore.QSize(190, 16777215))
245
        self.label_15.setObjectName("label_15")
246
        self.gridLayout_26.addWidget(self.label_15, 1, 0, 1, 1)
247
        self.label_26 = QtWidgets.QLabel(self.groupBoxAttribute)
248
        self.label_26.setMaximumSize(QtCore.QSize(220, 16777215))
249
        self.label_26.setObjectName("label_26")
250
        self.gridLayout_26.addWidget(self.label_26, 3, 0, 1, 1)
251
        self.spinBoxFlowMarkLength = QtWidgets.QSpinBox(self.groupBoxAttribute)
252
        self.spinBoxFlowMarkLength.setMinimum(1)
253
        self.spinBoxFlowMarkLength.setMaximum(99999)
254
        self.spinBoxFlowMarkLength.setObjectName("spinBoxFlowMarkLength")
255
        self.gridLayout_26.addWidget(self.spinBoxFlowMarkLength, 3, 1, 1, 1)
256
        self.gridLayout_6.addLayout(self.gridLayout_26, 0, 0, 1, 1)
257
        self.gridLayout_2.addWidget(self.groupBoxAttribute, 1, 1, 1, 1)
258
        self.tabWidget.addTab(self.Recognition, "")
259
        self.Recognition2 = QtWidgets.QWidget()
260
        self.Recognition2.setObjectName("Recognition2")
261
        self.gridLayout_21 = QtWidgets.QGridLayout(self.Recognition2)
262
        self.gridLayout_21.setObjectName("gridLayout_21")
263
        self.groupBoxLineNo = QtWidgets.QGroupBox(self.Recognition2)
264
        self.groupBoxLineNo.setObjectName("groupBoxLineNo")
265
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxLineNo)
266
        self.gridLayout_3.setObjectName("gridLayout_3")
267
        self.gridLayout_28 = QtWidgets.QGridLayout()
268
        self.gridLayout_28.setObjectName("gridLayout_28")
269
        self.pushButtonAddProperty = QtWidgets.QPushButton(self.groupBoxLineNo)
270
        self.pushButtonAddProperty.setMinimumSize(QtCore.QSize(50, 0))
271
        self.pushButtonAddProperty.setMaximumSize(QtCore.QSize(50, 16777215))
272
        self.pushButtonAddProperty.setDefault(False)
273
        self.pushButtonAddProperty.setObjectName("pushButtonAddProperty")
274
        self.gridLayout_28.addWidget(self.pushButtonAddProperty, 0, 2, 1, 1)
275
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
276
        self.gridLayout_28.addItem(spacerItem, 0, 1, 1, 1)
277
        self.pushButtonLineNoAttribute = QtWidgets.QPushButton(self.groupBoxLineNo)
278
        self.pushButtonLineNoAttribute.setMinimumSize(QtCore.QSize(50, 24))
279
        self.pushButtonLineNoAttribute.setMaximumSize(QtCore.QSize(16777215, 24))
280
        self.pushButtonLineNoAttribute.setObjectName("pushButtonLineNoAttribute")
281
        self.gridLayout_28.addWidget(self.pushButtonLineNoAttribute, 0, 0, 1, 1)
282
        self.pushButtonDeleteProperty = QtWidgets.QPushButton(self.groupBoxLineNo)
283
        self.pushButtonDeleteProperty.setMinimumSize(QtCore.QSize(50, 0))
284
        self.pushButtonDeleteProperty.setMaximumSize(QtCore.QSize(50, 16777215))
285
        self.pushButtonDeleteProperty.setObjectName("pushButtonDeleteProperty")
286
        self.gridLayout_28.addWidget(self.pushButtonDeleteProperty, 0, 3, 1, 1)
287
        self.listWidgetLineNo = QtWidgets.QListWidget(self.groupBoxLineNo)
288
        self.listWidgetLineNo.setObjectName("listWidgetLineNo")
289
        self.gridLayout_28.addWidget(self.listWidgetLineNo, 1, 0, 1, 4)
290
        self.gridLayout_3.addLayout(self.gridLayout_28, 0, 0, 1, 1)
291
        self.gridLayout_21.addWidget(self.groupBoxLineNo, 1, 1, 1, 1)
292
        self.groupBox = QtWidgets.QGroupBox(self.Recognition2)
293
        self.groupBox.setObjectName("groupBox")
294
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
295
        self.gridLayout_5.setObjectName("gridLayout_5")
296
        self.gridLayout_11 = QtWidgets.QGridLayout()
297
        self.gridLayout_11.setObjectName("gridLayout_11")
298
        self.label_45 = QtWidgets.QLabel(self.groupBox)
299
        self.label_45.setObjectName("label_45")
300
        self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1)
301
        self.radioButtonGapYes = QtWidgets.QRadioButton(self.groupBox)
302
        self.radioButtonGapYes.setObjectName("radioButtonGapYes")
303
        self.buttonGroup_5 = QtWidgets.QButtonGroup(ConfigurationDialog)
304
        self.buttonGroup_5.setObjectName("buttonGroup_5")
305
        self.buttonGroup_5.addButton(self.radioButtonGapYes)
306
        self.gridLayout_11.addWidget(self.radioButtonGapYes, 5, 1, 1, 1)
307
        self.comboBoxLineType = QtWidgets.QComboBox(self.groupBox)
308
        self.comboBoxLineType.setObjectName("comboBoxLineType")
309
        self.gridLayout_11.addWidget(self.comboBoxLineType, 4, 1, 1, 2)
310
        self.label_4 = QtWidgets.QLabel(self.groupBox)
311
        self.label_4.setObjectName("label_4")
312
        self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1)
313
        self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox)
314
        self.spinBoxLengthToConnectLine.setProperty("value", 20)
315
        self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine")
316
        self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1)
317
        self.label = QtWidgets.QLabel(self.groupBox)
318
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
319
        self.label.setObjectName("label")
320
        self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1)
321
        self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox)
322
        self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0))
323
        self.spinBoxWidth.setObjectName("spinBoxWidth")
324
        self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1)
325
        self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox)
326
        self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0))
327
        self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox")
328
        self.gridLayout_11.addWidget(self.smallLineMinLengthSpinBox, 2, 1, 1, 1)
329
        self.label_35 = QtWidgets.QLabel(self.groupBox)
330
        self.label_35.setObjectName("label_35")
331
        self.gridLayout_11.addWidget(self.label_35, 6, 0, 1, 1)
332
        self.radioButtonDiagonalYes = QtWidgets.QRadioButton(self.groupBox)
333
        self.radioButtonDiagonalYes.setObjectName("radioButtonDiagonalYes")
334
        self.buttonGroup_3 = QtWidgets.QButtonGroup(ConfigurationDialog)
335
        self.buttonGroup_3.setObjectName("buttonGroup_3")
336
        self.buttonGroup_3.addButton(self.radioButtonDiagonalYes)
337
        self.gridLayout_11.addWidget(self.radioButtonDiagonalYes, 6, 1, 1, 1)
338
        self.label_5 = QtWidgets.QLabel(self.groupBox)
339
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
340
        self.label_5.setObjectName("label_5")
341
        self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1)
342
        self.label_16 = QtWidgets.QLabel(self.groupBox)
343
        self.label_16.setObjectName("label_16")
344
        self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1)
345
        self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox)
346
        self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0))
347
        self.spinBoxMaxArea.setObjectName("spinBoxMaxArea")
348
        self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1)
349
        self.label_28 = QtWidgets.QLabel(self.groupBox)
350
        self.label_28.setObjectName("label_28")
351
        self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1)
352
        self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox)
353
        self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0))
354
        self.spinBoxHeight.setObjectName("spinBoxHeight")
355
        self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1)
356
        self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox)
357
        self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0))
358
        self.spinBoxMinArea.setObjectName("spinBoxMinArea")
359
        self.gridLayout_11.addWidget(self.spinBoxMinArea, 0, 1, 1, 1)
360
        self.radioButtonDiagonalNo = QtWidgets.QRadioButton(self.groupBox)
361
        self.radioButtonDiagonalNo.setObjectName("radioButtonDiagonalNo")
362
        self.buttonGroup_3.addButton(self.radioButtonDiagonalNo)
363
        self.gridLayout_11.addWidget(self.radioButtonDiagonalNo, 6, 2, 1, 1)
364
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
365
        self.gridLayout_11.addItem(spacerItem1, 0, 4, 1, 1)
366
        self.label_9 = QtWidgets.QLabel(self.groupBox)
367
        self.label_9.setObjectName("label_9")
368
        self.gridLayout_11.addWidget(self.label_9, 3, 0, 1, 1)
369
        self.radioButtonGapNo = QtWidgets.QRadioButton(self.groupBox)
370
        self.radioButtonGapNo.setObjectName("radioButtonGapNo")
371
        self.buttonGroup_5.addButton(self.radioButtonGapNo)
372
        self.gridLayout_11.addWidget(self.radioButtonGapNo, 5, 2, 1, 1)
373
        self.gridLayout_5.addLayout(self.gridLayout_11, 0, 0, 1, 1)
374
        self.gridLayout_21.addWidget(self.groupBox, 0, 1, 1, 1)
375
        self.groupBoxEquipTag = QtWidgets.QGroupBox(self.Recognition2)
376
        self.groupBoxEquipTag.setObjectName("groupBoxEquipTag")
377
        self.gridLayout_34 = QtWidgets.QGridLayout(self.groupBoxEquipTag)
378
        self.gridLayout_34.setObjectName("gridLayout_34")
379
        self.gridLayout_33 = QtWidgets.QGridLayout()
380
        self.gridLayout_33.setObjectName("gridLayout_33")
381
        self.pushButtonDeleteTagProperty = QtWidgets.QPushButton(self.groupBoxEquipTag)
382
        self.pushButtonDeleteTagProperty.setMaximumSize(QtCore.QSize(50, 16777215))
383
        self.pushButtonDeleteTagProperty.setObjectName("pushButtonDeleteTagProperty")
384
        self.gridLayout_33.addWidget(self.pushButtonDeleteTagProperty, 0, 3, 1, 1)
385
        self.pushButtonAddTagProperty = QtWidgets.QPushButton(self.groupBoxEquipTag)
386
        self.pushButtonAddTagProperty.setMaximumSize(QtCore.QSize(50, 16777215))
387
        self.pushButtonAddTagProperty.setObjectName("pushButtonAddTagProperty")
388
        self.gridLayout_33.addWidget(self.pushButtonAddTagProperty, 0, 2, 1, 1)
389
        self.pushButtonTagNoAttribute = QtWidgets.QPushButton(self.groupBoxEquipTag)
390
        self.pushButtonTagNoAttribute.setObjectName("pushButtonTagNoAttribute")
391
        self.gridLayout_33.addWidget(self.pushButtonTagNoAttribute, 0, 0, 1, 1)
392
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
393
        self.gridLayout_33.addItem(spacerItem2, 0, 1, 1, 1)
394
        self.listWidgetTagNo = QtWidgets.QListWidget(self.groupBoxEquipTag)
395
        self.listWidgetTagNo.setObjectName("listWidgetTagNo")
396
        self.gridLayout_33.addWidget(self.listWidgetTagNo, 1, 0, 1, 4)
397
        self.gridLayout_34.addLayout(self.gridLayout_33, 0, 0, 1, 1)
398
        self.gridLayout_21.addWidget(self.groupBoxEquipTag, 2, 1, 1, 1)
399
        self.tabWidget.addTab(self.Recognition2, "")
400
        self.tabTagNoRule = QtWidgets.QWidget()
401
        self.tabTagNoRule.setObjectName("tabTagNoRule")
402
        self.gridLayout_7 = QtWidgets.QGridLayout(self.tabTagNoRule)
403
        self.gridLayout_7.setObjectName("gridLayout_7")
404
        self.groupBox_4 = QtWidgets.QGroupBox(self.tabTagNoRule)
405
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
406
        sizePolicy.setHorizontalStretch(0)
407
        sizePolicy.setVerticalStretch(0)
408
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
409
        self.groupBox_4.setSizePolicy(sizePolicy)
410
        self.groupBox_4.setMaximumSize(QtCore.QSize(16777215, 100))
411
        self.groupBox_4.setObjectName("groupBox_4")
412
        self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_4)
413
        self.gridLayout_9.setObjectName("gridLayout_9")
414
        self.formLayout = QtWidgets.QFormLayout()
415
        self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
416
        self.formLayout.setObjectName("formLayout")
417
        self.checkBoxNoteNoSymbolName = QtWidgets.QCheckBox(self.groupBox_4)
418
        self.checkBoxNoteNoSymbolName.setObjectName("checkBoxNoteNoSymbolName")
419
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.checkBoxNoteNoSymbolName)
420
        self.lineEditNoteNoSymbolName = QtWidgets.QLineEdit(self.groupBox_4)
421
        self.lineEditNoteNoSymbolName.setObjectName("lineEditNoteNoSymbolName")
422
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditNoteNoSymbolName)
423
        self.label_8 = QtWidgets.QLabel(self.groupBox_4)
424
        self.label_8.setObjectName("label_8")
425
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_8)
426
        self.lineEditNoteNoExpression = QtWidgets.QLineEdit(self.groupBox_4)
427
        self.lineEditNoteNoExpression.setObjectName("lineEditNoteNoExpression")
428
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditNoteNoExpression)
429
        self.gridLayout_9.addLayout(self.formLayout, 0, 0, 1, 1)
430
        self.gridLayout_7.addWidget(self.groupBox_4, 0, 0, 1, 1)
431
        self.groupBox_8 = QtWidgets.QGroupBox(self.tabTagNoRule)
432
        self.groupBox_8.setObjectName("groupBox_8")
433
        self.gridLayout_17 = QtWidgets.QGridLayout(self.groupBox_8)
434
        self.gridLayout_17.setObjectName("gridLayout_17")
435
        self.horizontalLayout_23 = QtWidgets.QHBoxLayout()
436
        self.horizontalLayout_23.setObjectName("horizontalLayout_23")
437
        self.label_27 = QtWidgets.QLabel(self.groupBox_8)
438
        self.label_27.setObjectName("label_27")
439
        self.horizontalLayout_23.addWidget(self.label_27)
440
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_8)
441
        self.lineEdit_2.setObjectName("lineEdit_2")
442
        self.horizontalLayout_23.addWidget(self.lineEdit_2)
443
        self.gridLayout_17.addLayout(self.horizontalLayout_23, 1, 0, 1, 1)
444
        self.gridLayout_7.addWidget(self.groupBox_8, 4, 0, 1, 1)
445
        self.groupBox_3 = QtWidgets.QGroupBox(self.tabTagNoRule)
446
        self.groupBox_3.setMaximumSize(QtCore.QSize(16777215, 100))
447
        self.groupBox_3.setObjectName("groupBox_3")
448
        self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_3)
449
        self.gridLayout_12.setObjectName("gridLayout_12")
450
        self.formLayout_3 = QtWidgets.QFormLayout()
451
        self.formLayout_3.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
452
        self.formLayout_3.setObjectName("formLayout_3")
453
        self.label_11 = QtWidgets.QLabel(self.groupBox_3)
454
        self.label_11.setObjectName("label_11")
455
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_11)
456
        self.lineEditByVendor = QtWidgets.QLineEdit(self.groupBox_3)
457
        self.lineEditByVendor.setObjectName("lineEditByVendor")
458
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditByVendor)
459
        self.gridLayout_12.addLayout(self.formLayout_3, 0, 0, 1, 1)
460
        self.gridLayout_7.addWidget(self.groupBox_3, 2, 0, 1, 1)
461
        self.groupBox_9 = QtWidgets.QGroupBox(self.tabTagNoRule)
462
        self.groupBox_9.setMaximumSize(QtCore.QSize(16777215, 100))
463
        self.groupBox_9.setObjectName("groupBox_9")
464
        self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox_9)
465
        self.gridLayout_13.setObjectName("gridLayout_13")
466
        self.formLayout_4 = QtWidgets.QFormLayout()
467
        self.formLayout_4.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
468
        self.formLayout_4.setObjectName("formLayout_4")
469
        self.label_12 = QtWidgets.QLabel(self.groupBox_9)
470
        self.label_12.setObjectName("label_12")
471
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_12)
472
        self.lineEditDrainSize = QtWidgets.QLineEdit(self.groupBox_9)
473
        self.lineEditDrainSize.setText("")
474
        self.lineEditDrainSize.setObjectName("lineEditDrainSize")
475
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditDrainSize)
476
        self.gridLayout_13.addLayout(self.formLayout_4, 0, 0, 1, 1)
477
        self.gridLayout_7.addWidget(self.groupBox_9, 3, 0, 1, 1)
478
        self.groupBox_10 = QtWidgets.QGroupBox(self.tabTagNoRule)
479
        self.groupBox_10.setMaximumSize(QtCore.QSize(16777215, 100))
480
        self.groupBox_10.setObjectName("groupBox_10")
481
        self.gridLayout_20 = QtWidgets.QGridLayout(self.groupBox_10)
482
        self.gridLayout_20.setObjectName("gridLayout_20")
483
        self.formLayout_5 = QtWidgets.QFormLayout()
484
        self.formLayout_5.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
485
        self.formLayout_5.setObjectName("formLayout_5")
486
        self.label_13 = QtWidgets.QLabel(self.groupBox_10)
487
        self.label_13.setObjectName("label_13")
488
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_13)
489
        self.label_14 = QtWidgets.QLabel(self.groupBox_10)
490
        self.label_14.setObjectName("label_14")
491
        self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_14)
492
        self.lineEditOPCFromPrefix = QtWidgets.QLineEdit(self.groupBox_10)
493
        self.lineEditOPCFromPrefix.setObjectName("lineEditOPCFromPrefix")
494
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditOPCFromPrefix)
495
        self.lineEditOPCToPrefix = QtWidgets.QLineEdit(self.groupBox_10)
496
        self.lineEditOPCToPrefix.setObjectName("lineEditOPCToPrefix")
497
        self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditOPCToPrefix)
498
        self.gridLayout_20.addLayout(self.formLayout_5, 0, 0, 1, 1)
499
        self.gridLayout_7.addWidget(self.groupBox_10, 1, 0, 1, 1)
500
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
501
        self.gridLayout_7.addItem(spacerItem3, 5, 0, 1, 1)
502
        self.tabWidget.addTab(self.tabTagNoRule, "")
503
        self.tabDisplayOption = QtWidgets.QWidget()
504
        self.tabDisplayOption.setObjectName("tabDisplayOption")
505
        self.gridLayout_4 = QtWidgets.QGridLayout(self.tabDisplayOption)
506
        self.gridLayout_4.setObjectName("gridLayout_4")
507
        self.verticalLayout = QtWidgets.QVBoxLayout()
508
        self.verticalLayout.setObjectName("verticalLayout")
509
        self.groupBox_6 = QtWidgets.QGroupBox(self.tabDisplayOption)
510
        self.groupBox_6.setObjectName("groupBox_6")
511
        self.gridLayout_16 = QtWidgets.QGridLayout(self.groupBox_6)
512
        self.gridLayout_16.setObjectName("gridLayout_16")
513
        self.tableWidgetLineTypes = QtWidgets.QTableWidget(self.groupBox_6)
514
        self.tableWidgetLineTypes.setColumnCount(4)
515
        self.tableWidgetLineTypes.setObjectName("tableWidgetLineTypes")
516
        self.tableWidgetLineTypes.setRowCount(0)
517
        self.tableWidgetLineTypes.verticalHeader().setVisible(False)
518
        self.gridLayout_16.addWidget(self.tableWidgetLineTypes, 0, 0, 1, 1)
519
        self.verticalLayout.addWidget(self.groupBox_6)
520
        self.groupBox_2 = QtWidgets.QGroupBox(self.tabDisplayOption)
521
        self.groupBox_2.setObjectName("groupBox_2")
522
        self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_2)
523
        self.gridLayout_10.setObjectName("gridLayout_10")
524
        self.formLayout_2 = QtWidgets.QFormLayout()
525
        self.formLayout_2.setObjectName("formLayout_2")
526
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
527
        self.label_3.setObjectName("label_3")
528
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3)
529
        self.pushButtonInstrumentColor = QtWidgets.QPushButton(self.groupBox_2)
530
        self.pushButtonInstrumentColor.setText("")
531
        self.pushButtonInstrumentColor.setObjectName("pushButtonInstrumentColor")
532
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pushButtonInstrumentColor)
533
        self.label_23 = QtWidgets.QLabel(self.groupBox_2)
534
        self.label_23.setObjectName("label_23")
535
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_23)
536
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
537
        self.label_2.setObjectName("label_2")
538
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_2)
539
        self.spinBoxSymbolOpacity = QtWidgets.QSpinBox(self.groupBox_2)
540
        self.spinBoxSymbolOpacity.setProperty("value", 50)
541
        self.spinBoxSymbolOpacity.setObjectName("spinBoxSymbolOpacity")
542
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.spinBoxSymbolOpacity)
543
        self.pushButtonEquipColor = QtWidgets.QPushButton(self.groupBox_2)
544
        self.pushButtonEquipColor.setText("")
545
        self.pushButtonEquipColor.setObjectName("pushButtonEquipColor")
546
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.pushButtonEquipColor)
547
        self.gridLayout_10.addLayout(self.formLayout_2, 0, 0, 1, 1)
548
        self.verticalLayout.addWidget(self.groupBox_2)
549
        self.groupBox_5 = QtWidgets.QGroupBox(self.tabDisplayOption)
550
        self.groupBox_5.setObjectName("groupBox_5")
551
        self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_5)
552
        self.gridLayout_15.setObjectName("gridLayout_15")
553
        self.gridLayout_29 = QtWidgets.QGridLayout()
554
        self.gridLayout_29.setObjectName("gridLayout_29")
555
        self.labelFontSize = QtWidgets.QLabel(self.groupBox_5)
556
        self.labelFontSize.setObjectName("labelFontSize")
557
        self.gridLayout_29.addWidget(self.labelFontSize, 1, 0, 1, 1)
558
        self.labelFontName = QtWidgets.QLabel(self.groupBox_5)
559
        self.labelFontName.setObjectName("labelFontName")
560
        self.gridLayout_29.addWidget(self.labelFontName, 0, 0, 1, 1)
561
        self.horizontalLayout = QtWidgets.QHBoxLayout()
562
        self.horizontalLayout.setObjectName("horizontalLayout")
563
        self.radioButtonAutoSize = QtWidgets.QRadioButton(self.groupBox_5)
564
        self.radioButtonAutoSize.setObjectName("radioButtonAutoSize")
565
        self.horizontalLayout.addWidget(self.radioButtonAutoSize)
566
        self.radioButtonFixedSize = QtWidgets.QRadioButton(self.groupBox_5)
567
        self.radioButtonFixedSize.setMaximumSize(QtCore.QSize(50, 16777215))
568
        self.radioButtonFixedSize.setObjectName("radioButtonFixedSize")
569
        self.horizontalLayout.addWidget(self.radioButtonFixedSize)
570
        self.gridLayout_29.addLayout(self.horizontalLayout, 1, 1, 1, 1)
571
        self.spinBoxFontSize = QtWidgets.QSpinBox(self.groupBox_5)
572
        self.spinBoxFontSize.setObjectName("spinBoxFontSize")
573
        self.gridLayout_29.addWidget(self.spinBoxFontSize, 1, 2, 1, 1)
574
        self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_5)
575
        self.fontComboBox.setObjectName("fontComboBox")
576
        self.gridLayout_29.addWidget(self.fontComboBox, 0, 1, 1, 2)
577
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
578
        self.gridLayout_29.addItem(spacerItem4, 0, 3, 1, 1)
579
        self.gridLayout_15.addLayout(self.gridLayout_29, 0, 0, 1, 1)
580
        self.verticalLayout.addWidget(self.groupBox_5)
581
        self.gridLayout_4.addLayout(self.verticalLayout, 0, 0, 1, 1)
582
        self.tabWidget.addTab(self.tabDisplayOption, "")
583
        self.tabLineColor = QtWidgets.QWidget()
584
        self.tabLineColor.setObjectName("tabLineColor")
585
        self.gridLayout_18 = QtWidgets.QGridLayout(self.tabLineColor)
586
        self.gridLayout_18.setObjectName("gridLayout_18")
587
        self.groupBox_7 = QtWidgets.QGroupBox(self.tabLineColor)
588
        self.groupBox_7.setObjectName("groupBox_7")
589
        self.gridLayout_19 = QtWidgets.QGridLayout(self.groupBox_7)
590
        self.gridLayout_19.setObjectName("gridLayout_19")
591
        self.gridLayout_30 = QtWidgets.QGridLayout()
592
        self.gridLayout_30.setObjectName("gridLayout_30")
593
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
594
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
595
        self.radioButtonRandom = QtWidgets.QRadioButton(self.groupBox_7)
596
        self.radioButtonRandom.setObjectName("radioButtonRandom")
597
        self.horizontalLayout_2.addWidget(self.radioButtonRandom)
598
        self.radioButtonProperty = QtWidgets.QRadioButton(self.groupBox_7)
599
        self.radioButtonProperty.setObjectName("radioButtonProperty")
600
        self.horizontalLayout_2.addWidget(self.radioButtonProperty)
601
        self.gridLayout_30.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
602
        self.label_25 = QtWidgets.QLabel(self.groupBox_7)
603
        self.label_25.setObjectName("label_25")
604
        self.gridLayout_30.addWidget(self.label_25, 1, 0, 1, 1)
605
        self.comboBoxColorOption = QtWidgets.QComboBox(self.groupBox_7)
606
        self.comboBoxColorOption.setObjectName("comboBoxColorOption")
607
        self.gridLayout_30.addWidget(self.comboBoxColorOption, 1, 2, 1, 1)
608
        self.tableWidgetColorProperty = QtWidgets.QTableWidget(self.groupBox_7)
609
        self.tableWidgetColorProperty.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
610
        self.tableWidgetColorProperty.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
611
        self.tableWidgetColorProperty.setColumnCount(4)
612
        self.tableWidgetColorProperty.setObjectName("tableWidgetColorProperty")
613
        self.tableWidgetColorProperty.setRowCount(0)
614
        self.tableWidgetColorProperty.verticalHeader().setVisible(False)
615
        self.gridLayout_30.addWidget(self.tableWidgetColorProperty, 2, 0, 1, 3)
616
        self.gridLayout_19.addLayout(self.gridLayout_30, 0, 0, 1, 1)
617
        self.gridLayout_18.addWidget(self.groupBox_7, 0, 0, 1, 1)
618
        self.tabWidget.addTab(self.tabLineColor, "")
619
        self.tabETC = QtWidgets.QWidget()
620
        self.tabETC.setObjectName("tabETC")
621
        self.gridLayout_22 = QtWidgets.QGridLayout(self.tabETC)
622
        self.gridLayout_22.setObjectName("gridLayout_22")
623
        self.gridLayout_21 = QtWidgets.QGridLayout()
624
        self.gridLayout_21.setObjectName("gridLayout_21")
625
        self.groupBox_12 = QtWidgets.QGroupBox(self.tabETC)
626
        self.groupBox_12.setObjectName("groupBox_12")
627
        self.gridLayout_24 = QtWidgets.QGridLayout(self.groupBox_12)
628
        self.gridLayout_24.setObjectName("gridLayout_24")
629
        self.gridLayout_32 = QtWidgets.QGridLayout()
630
        self.gridLayout_32.setObjectName("gridLayout_32")
631
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
632
        self.gridLayout_32.addItem(spacerItem5, 0, 2, 1, 1)
633
        self.label_36 = QtWidgets.QLabel(self.groupBox_12)
634
        self.label_36.setMinimumSize(QtCore.QSize(200, 0))
635
        self.label_36.setObjectName("label_36")
636
        self.gridLayout_32.addWidget(self.label_36, 0, 0, 1, 1)
637
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
638
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
639
        self.radioButtonBackTextYes = QtWidgets.QRadioButton(self.groupBox_12)
640
        self.radioButtonBackTextYes.setObjectName("radioButtonBackTextYes")
641
        self.buttonGroup_4 = QtWidgets.QButtonGroup(ConfigurationDialog)
642
        self.buttonGroup_4.setObjectName("buttonGroup_4")
643
        self.buttonGroup_4.addButton(self.radioButtonBackTextYes)
644
        self.horizontalLayout_5.addWidget(self.radioButtonBackTextYes)
645
        self.radioButtonBackTextNo = QtWidgets.QRadioButton(self.groupBox_12)
646
        self.radioButtonBackTextNo.setObjectName("radioButtonBackTextNo")
647
        self.buttonGroup_4.addButton(self.radioButtonBackTextNo)
648
        self.horizontalLayout_5.addWidget(self.radioButtonBackTextNo)
649
        self.gridLayout_32.addLayout(self.horizontalLayout_5, 0, 1, 1, 1)
650
        self.gridLayout_24.addLayout(self.gridLayout_32, 0, 0, 1, 1)
651
        self.gridLayout_21.addWidget(self.groupBox_12, 1, 0, 1, 1)
652
        self.groupBox_11 = QtWidgets.QGroupBox(self.tabETC)
653
        self.groupBox_11.setObjectName("groupBox_11")
654
        self.gridLayout_23 = QtWidgets.QGridLayout(self.groupBox_11)
655
        self.gridLayout_23.setObjectName("gridLayout_23")
656
        self.gridLayout_31 = QtWidgets.QGridLayout()
657
        self.gridLayout_31.setObjectName("gridLayout_31")
658
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
659
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
660
        self.radioButtonLoadXmlOnly = QtWidgets.QRadioButton(self.groupBox_11)
661
        self.radioButtonLoadXmlOnly.setObjectName("radioButtonLoadXmlOnly")
662
        self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog)
663
        self.buttonGroup.setObjectName("buttonGroup")
664
        self.buttonGroup.addButton(self.radioButtonLoadXmlOnly)
665
        self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlOnly)
666
        self.radioButtonLoadXmlYes = QtWidgets.QRadioButton(self.groupBox_11)
667
        self.radioButtonLoadXmlYes.setAutoExclusive(True)
668
        self.radioButtonLoadXmlYes.setObjectName("radioButtonLoadXmlYes")
669
        self.buttonGroup.addButton(self.radioButtonLoadXmlYes)
670
        self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlYes)
671
        self.radioButtonLoadXmlNo = QtWidgets.QRadioButton(self.groupBox_11)
672
        self.radioButtonLoadXmlNo.setAutoExclusive(True)
673
        self.radioButtonLoadXmlNo.setObjectName("radioButtonLoadXmlNo")
674
        self.buttonGroup.addButton(self.radioButtonLoadXmlNo)
675
        self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlNo)
676
        self.gridLayout_31.addLayout(self.horizontalLayout_3, 1, 1, 1, 1)
677
        self.label_34 = QtWidgets.QLabel(self.groupBox_11)
678
        self.label_34.setObjectName("label_34")
679
        self.gridLayout_31.addWidget(self.label_34, 2, 0, 1, 1)
680
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
681
        self.gridLayout_31.addItem(spacerItem6, 1, 2, 1, 1)
682
        self.label_30 = QtWidgets.QLabel(self.groupBox_11)
683
        self.label_30.setObjectName("label_30")
684
        self.gridLayout_31.addWidget(self.label_30, 1, 0, 1, 1)
685
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
686
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
687
        self.radioButtonSaveUnknownYes = QtWidgets.QRadioButton(self.groupBox_11)
688
        self.radioButtonSaveUnknownYes.setAutoExclusive(True)
689
        self.radioButtonSaveUnknownYes.setObjectName("radioButtonSaveUnknownYes")
690
        self.buttonGroup_2 = QtWidgets.QButtonGroup(ConfigurationDialog)
691
        self.buttonGroup_2.setObjectName("buttonGroup_2")
692
        self.buttonGroup_2.addButton(self.radioButtonSaveUnknownYes)
693
        self.horizontalLayout_4.addWidget(self.radioButtonSaveUnknownYes)
694
        self.radioButtonSaveUnknownNo = QtWidgets.QRadioButton(self.groupBox_11)
695
        self.radioButtonSaveUnknownNo.setAutoExclusive(True)
696
        self.radioButtonSaveUnknownNo.setObjectName("radioButtonSaveUnknownNo")
697
        self.buttonGroup_2.addButton(self.radioButtonSaveUnknownNo)
698
        self.horizontalLayout_4.addWidget(self.radioButtonSaveUnknownNo)
699
        self.gridLayout_31.addLayout(self.horizontalLayout_4, 2, 1, 1, 1)
700
        self.pushButtonClearAccessInfo = QtWidgets.QPushButton(self.groupBox_11)
701
        self.pushButtonClearAccessInfo.setObjectName("pushButtonClearAccessInfo")
702
        self.gridLayout_31.addWidget(self.pushButtonClearAccessInfo, 3, 1, 1, 1)
703
        self.label_31 = QtWidgets.QLabel(self.groupBox_11)
704
        self.label_31.setMinimumSize(QtCore.QSize(200, 0))
705
        self.label_31.setObjectName("label_31")
706
        self.gridLayout_31.addWidget(self.label_31, 3, 0, 1, 1)
707
        self.label_49 = QtWidgets.QLabel(self.groupBox_11)
708
        self.label_49.setObjectName("label_49")
709
        self.gridLayout_31.addWidget(self.label_49, 0, 0, 1, 1)
710
        self.spinBoxSaveAlarm = QtWidgets.QSpinBox(self.groupBox_11)
711
        self.spinBoxSaveAlarm.setMaximum(100)
712
        self.spinBoxSaveAlarm.setSingleStep(10)
713
        self.spinBoxSaveAlarm.setObjectName("spinBoxSaveAlarm")
714
        self.gridLayout_31.addWidget(self.spinBoxSaveAlarm, 0, 1, 1, 1)
715
        self.gridLayout_23.addLayout(self.gridLayout_31, 0, 0, 1, 1)
716
        self.gridLayout_21.addWidget(self.groupBox_11, 0, 0, 1, 1)
717
        self.groupBox_13 = QtWidgets.QGroupBox(self.tabETC)
718
        self.groupBox_13.setObjectName("groupBox_13")
719
        self.gridLayout_38 = QtWidgets.QGridLayout(self.groupBox_13)
720
        self.gridLayout_38.setObjectName("gridLayout_38")
721
        self.gridLayout_37 = QtWidgets.QGridLayout()
722
        self.gridLayout_37.setObjectName("gridLayout_37")
723
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
724
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
725
        self.radioButtonTextAreaLocal = QtWidgets.QRadioButton(self.groupBox_13)
726
        self.radioButtonTextAreaLocal.setObjectName("radioButtonTextAreaLocal")
727
        self.buttonGroup_6 = QtWidgets.QButtonGroup(ConfigurationDialog)
728
        self.buttonGroup_6.setObjectName("buttonGroup_6")
729
        self.buttonGroup_6.addButton(self.radioButtonTextAreaLocal)
730
        self.horizontalLayout_7.addWidget(self.radioButtonTextAreaLocal)
731
        self.radioButtonTextAreaServer = QtWidgets.QRadioButton(self.groupBox_13)
732
        self.radioButtonTextAreaServer.setObjectName("radioButtonTextAreaServer")
733
        self.buttonGroup_6.addButton(self.radioButtonTextAreaServer)
734
        self.horizontalLayout_7.addWidget(self.radioButtonTextAreaServer)
735
        self.gridLayout_37.addLayout(self.horizontalLayout_7, 1, 1, 1, 1)
736
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
737
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
738
        self.radioButtonOCRLocal = QtWidgets.QRadioButton(self.groupBox_13)
739
        self.radioButtonOCRLocal.setObjectName("radioButtonOCRLocal")
740
        self.horizontalLayout_8.addWidget(self.radioButtonOCRLocal)
741
        self.radioButtonOCRServer = QtWidgets.QRadioButton(self.groupBox_13)
742
        self.radioButtonOCRServer.setObjectName("radioButtonOCRServer")
743
        self.horizontalLayout_8.addWidget(self.radioButtonOCRServer)
744
        self.gridLayout_37.addLayout(self.horizontalLayout_8, 2, 1, 1, 1)
745
        self.label_46 = QtWidgets.QLabel(self.groupBox_13)
746
        self.label_46.setMinimumSize(QtCore.QSize(200, 0))
747
        self.label_46.setObjectName("label_46")
748
        self.gridLayout_37.addWidget(self.label_46, 1, 0, 1, 1)
749
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
750
        self.gridLayout_37.addItem(spacerItem7, 1, 2, 1, 1)
751
        self.label_47 = QtWidgets.QLabel(self.groupBox_13)
752
        self.label_47.setObjectName("label_47")
753
        self.gridLayout_37.addWidget(self.label_47, 2, 0, 1, 1)
754
        self.label_48 = QtWidgets.QLabel(self.groupBox_13)
755
        self.label_48.setObjectName("label_48")
756
        self.gridLayout_37.addWidget(self.label_48, 0, 0, 1, 1)
757
        self.lineEditServerAddress = QtWidgets.QLineEdit(self.groupBox_13)
758
        self.lineEditServerAddress.setObjectName("lineEditServerAddress")
759
        self.gridLayout_37.addWidget(self.lineEditServerAddress, 0, 1, 1, 1)
760
        self.pushButtonServerTest = QtWidgets.QPushButton(self.groupBox_13)
761
        self.pushButtonServerTest.setObjectName("pushButtonServerTest")
762
        self.gridLayout_37.addWidget(self.pushButtonServerTest, 0, 2, 1, 1)
763
        self.gridLayout_38.addLayout(self.gridLayout_37, 0, 0, 1, 1)
764
        self.gridLayout_21.addWidget(self.groupBox_13, 2, 0, 1, 1)
765
        self.gridLayout_22.addLayout(self.gridLayout_21, 0, 0, 1, 1)
766
        spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
767
        self.gridLayout_22.addItem(spacerItem8, 3, 0, 1, 1)
768
        self.tabWidget.addTab(self.tabETC, "")
769
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
770
        self.buttonBox = QtWidgets.QDialogButtonBox(ConfigurationDialog)
771
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
772
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
773
        self.buttonBox.setObjectName("buttonBox")
774
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)
775

    
776
        self.retranslateUi(ConfigurationDialog)
777
        self.tabWidget.setCurrentIndex(0)
778
        self.buttonBox.accepted.connect(ConfigurationDialog.accept)
779
        self.buttonBox.rejected.connect(ConfigurationDialog.reject)
780
        QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog)
781
        ConfigurationDialog.setTabOrder(self.comboBoxOCRData, self.lineEditWhiteCharList)
782
        ConfigurationDialog.setTabOrder(self.lineEditWhiteCharList, self.comboBoxPageSegmentationModes)
783
        ConfigurationDialog.setTabOrder(self.comboBoxPageSegmentationModes, self.comboBoxOCREngineMode)
784
        ConfigurationDialog.setTabOrder(self.comboBoxOCREngineMode, self.lineEditSingleText)
785
        ConfigurationDialog.setTabOrder(self.lineEditSingleText, self.spinBoxExpandSize)
786
        ConfigurationDialog.setTabOrder(self.spinBoxExpandSize, self.spinBoxShrinkSize)
787
        ConfigurationDialog.setTabOrder(self.spinBoxShrinkSize, self.minTextSizeSpinBox)
788
        ConfigurationDialog.setTabOrder(self.minTextSizeSpinBox, self.maxTextSizeSpinBox)
789
        ConfigurationDialog.setTabOrder(self.maxTextSizeSpinBox, self.spinBoxMergeSize)
790
        ConfigurationDialog.setTabOrder(self.spinBoxMergeSize, self.lineEditSizeDelimiter)
791
        ConfigurationDialog.setTabOrder(self.lineEditSizeDelimiter, self.doubleSpinBoxDetectionRange)
792
        ConfigurationDialog.setTabOrder(self.doubleSpinBoxDetectionRange, self.spinBoxFlowMarkPosition)
793
        ConfigurationDialog.setTabOrder(self.spinBoxFlowMarkPosition, self.spinBoxFlowMarkLength)
794
        ConfigurationDialog.setTabOrder(self.spinBoxFlowMarkLength, self.spinBoxMinimumSize)
795
        ConfigurationDialog.setTabOrder(self.spinBoxMinimumSize, self.spinBoxUnrecognitionIgnoreStep)
796
        ConfigurationDialog.setTabOrder(self.spinBoxUnrecognitionIgnoreStep, self.radioButtonNoThreshold)
797
        ConfigurationDialog.setTabOrder(self.radioButtonNoThreshold, self.radioButtonOTSU)
798
        ConfigurationDialog.setTabOrder(self.radioButtonOTSU, self.lineEditOTSUValue)
799
        ConfigurationDialog.setTabOrder(self.lineEditOTSUValue, self.radioButtonBinary)
800
        ConfigurationDialog.setTabOrder(self.radioButtonBinary, self.lineEditBinaryValue)
801
        ConfigurationDialog.setTabOrder(self.lineEditBinaryValue, self.checkBoxApplyGaussianBlur)
802
        ConfigurationDialog.setTabOrder(self.checkBoxApplyGaussianBlur, self.spinBoxDilateSize)
803
        ConfigurationDialog.setTabOrder(self.spinBoxDilateSize, self.spinBoxFlatSize)
804
        ConfigurationDialog.setTabOrder(self.spinBoxFlatSize, self.spinBoxMinArea)
805
        ConfigurationDialog.setTabOrder(self.spinBoxMinArea, self.spinBoxMaxArea)
806
        ConfigurationDialog.setTabOrder(self.spinBoxMaxArea, self.spinBoxWidth)
807
        ConfigurationDialog.setTabOrder(self.spinBoxWidth, self.spinBoxHeight)
808
        ConfigurationDialog.setTabOrder(self.spinBoxHeight, self.smallLineMinLengthSpinBox)
809
        ConfigurationDialog.setTabOrder(self.smallLineMinLengthSpinBox, self.spinBoxLengthToConnectLine)
810
        ConfigurationDialog.setTabOrder(self.spinBoxLengthToConnectLine, self.comboBoxLineType)
811
        ConfigurationDialog.setTabOrder(self.comboBoxLineType, self.radioButtonDiagonalYes)
812
        ConfigurationDialog.setTabOrder(self.radioButtonDiagonalYes, self.radioButtonDiagonalNo)
813
        ConfigurationDialog.setTabOrder(self.radioButtonDiagonalNo, self.pushButtonLineNoAttribute)
814
        ConfigurationDialog.setTabOrder(self.pushButtonLineNoAttribute, self.pushButtonAddProperty)
815
        ConfigurationDialog.setTabOrder(self.pushButtonAddProperty, self.pushButtonDeleteProperty)
816
        ConfigurationDialog.setTabOrder(self.pushButtonDeleteProperty, self.listWidgetLineNo)
817
        ConfigurationDialog.setTabOrder(self.listWidgetLineNo, self.pushButtonTagNoAttribute)
818
        ConfigurationDialog.setTabOrder(self.pushButtonTagNoAttribute, self.pushButtonAddTagProperty)
819
        ConfigurationDialog.setTabOrder(self.pushButtonAddTagProperty, self.pushButtonDeleteTagProperty)
820
        ConfigurationDialog.setTabOrder(self.pushButtonDeleteTagProperty, self.listWidgetTagNo)
821
        ConfigurationDialog.setTabOrder(self.listWidgetTagNo, self.checkBoxNoteNoSymbolName)
822
        ConfigurationDialog.setTabOrder(self.checkBoxNoteNoSymbolName, self.lineEditNoteNoSymbolName)
823
        ConfigurationDialog.setTabOrder(self.lineEditNoteNoSymbolName, self.lineEditNoteNoExpression)
824
        ConfigurationDialog.setTabOrder(self.lineEditNoteNoExpression, self.lineEditOPCFromPrefix)
825
        ConfigurationDialog.setTabOrder(self.lineEditOPCFromPrefix, self.lineEditOPCToPrefix)
826
        ConfigurationDialog.setTabOrder(self.lineEditOPCToPrefix, self.lineEditByVendor)
827
        ConfigurationDialog.setTabOrder(self.lineEditByVendor, self.lineEditDrainSize)
828
        ConfigurationDialog.setTabOrder(self.lineEditDrainSize, self.lineEdit_2)
829
        ConfigurationDialog.setTabOrder(self.lineEdit_2, self.tableWidgetLineTypes)
830
        ConfigurationDialog.setTabOrder(self.tableWidgetLineTypes, self.pushButtonInstrumentColor)
831
        ConfigurationDialog.setTabOrder(self.pushButtonInstrumentColor, self.pushButtonEquipColor)
832
        ConfigurationDialog.setTabOrder(self.pushButtonEquipColor, self.spinBoxSymbolOpacity)
833
        ConfigurationDialog.setTabOrder(self.spinBoxSymbolOpacity, self.fontComboBox)
834
        ConfigurationDialog.setTabOrder(self.fontComboBox, self.radioButtonAutoSize)
835
        ConfigurationDialog.setTabOrder(self.radioButtonAutoSize, self.radioButtonFixedSize)
836
        ConfigurationDialog.setTabOrder(self.radioButtonFixedSize, self.spinBoxFontSize)
837
        ConfigurationDialog.setTabOrder(self.spinBoxFontSize, self.radioButtonRandom)
838
        ConfigurationDialog.setTabOrder(self.radioButtonRandom, self.radioButtonProperty)
839
        ConfigurationDialog.setTabOrder(self.radioButtonProperty, self.comboBoxColorOption)
840
        ConfigurationDialog.setTabOrder(self.comboBoxColorOption, self.tableWidgetColorProperty)
841
        ConfigurationDialog.setTabOrder(self.tableWidgetColorProperty, self.radioButtonLoadXmlYes)
842
        ConfigurationDialog.setTabOrder(self.radioButtonLoadXmlYes, self.radioButtonLoadXmlNo)
843
        ConfigurationDialog.setTabOrder(self.radioButtonLoadXmlNo, self.radioButtonSaveUnknownYes)
844
        ConfigurationDialog.setTabOrder(self.radioButtonSaveUnknownYes, self.radioButtonSaveUnknownNo)
845
        ConfigurationDialog.setTabOrder(self.radioButtonSaveUnknownNo, self.pushButtonClearAccessInfo)
846
        ConfigurationDialog.setTabOrder(self.pushButtonClearAccessInfo, self.radioButtonBackTextYes)
847
        ConfigurationDialog.setTabOrder(self.radioButtonBackTextYes, self.radioButtonBackTextNo)
848
        ConfigurationDialog.setTabOrder(self.radioButtonBackTextNo, self.tabWidget)
849

    
850
    def retranslateUi(self, ConfigurationDialog):
851
        _translate = QtCore.QCoreApplication.translate
852
        ConfigurationDialog.setWindowTitle(_translate("ConfigurationDialog", "Configuration"))
853
        self.groupBoxFilter.setTitle(_translate("ConfigurationDialog", "Filter"))
854
        self.lineEditBinaryValue.setText(_translate("ConfigurationDialog", "0"))
855
        self.radioButtonNoThreshold.setText(_translate("ConfigurationDialog", "No"))
856
        self.radioButtonOTSU.setText(_translate("ConfigurationDialog", "OTSU"))
857
        self.radioButtonBinary.setText(_translate("ConfigurationDialog", "Binary"))
858
        self.label_41.setText(_translate("ConfigurationDialog", "thres = "))
859
        self.label_42.setText(_translate("ConfigurationDialog", "thres = "))
860
        self.lineEditOTSUValue.setText(_translate("ConfigurationDialog", "0"))
861
        self.label_32.setText(_translate("ConfigurationDialog", "Drawing Flattening Step : "))
862
        self.label_38.setText(_translate("ConfigurationDialog", "Gaussian Blur"))
863
        self.label_33.setText(_translate("ConfigurationDialog", "Unrecognition Ignore Step : "))
864
        self.label_40.setText(_translate("ConfigurationDialog", "Threshold"))
865
        self.label_10.setText(_translate("ConfigurationDialog", "Minimum Detection Size : "))
866
        self.label_29.setText(_translate("ConfigurationDialog", "Drawing Thickness Reinforcement Step : "))
867
        self.checkBoxApplyGaussianBlur.setText(_translate("ConfigurationDialog", "Apply"))
868
        self.groupBoxText.setTitle(_translate("ConfigurationDialog", "Text Detection"))
869
        self.label_44.setText(_translate("ConfigurationDialog", "Text Area Offset : "))
870
        self.label_21.setText(_translate("ConfigurationDialog", "Erosion Size : "))
871
        self.labelTesseractVersion.setText(_translate("ConfigurationDialog", "TesseractVersion"))
872
        self.label_22.setText(_translate("ConfigurationDialog", "Merge Size : "))
873
        self.label_19.setText(_translate("ConfigurationDialog", "OCR Source : "))
874
        self.label_39.setText(_translate("ConfigurationDialog", "Page segmentations modes"))
875
        self.label_20.setText(_translate("ConfigurationDialog", "Expansion Size : "))
876
        self.label_18.setText(_translate("ConfigurationDialog", "Maximum Text Size : "))
877
        self.label_7.setText(_translate("ConfigurationDialog", "Detected string : "))
878
        self.label_43.setText(_translate("ConfigurationDialog", "OCR Engine Mode"))
879
        self.label_37.setText(_translate("ConfigurationDialog", "Allowed Single Text : "))
880
        self.label_17.setText(_translate("ConfigurationDialog", "Minimum Text Size : "))
881
        self.label_50.setText(_translate("ConfigurationDialog", "Allowable Pair : "))
882
        self.groupBoxAttribute.setTitle(_translate("ConfigurationDialog", "Attribute"))
883
        self.label_6.setText(_translate("ConfigurationDialog", "Size Delimiter : "))
884
        self.label_24.setText(_translate("ConfigurationDialog", "Line Flow Mark Position(Percent) : "))
885
        self.label_15.setText(_translate("ConfigurationDialog", "Attribute Detection Range(Ratio) : "))
886
        self.label_26.setText(_translate("ConfigurationDialog", "Line Flow Mark Minimum Line Length : "))
887
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition), _translate("ConfigurationDialog", "Recognition"))
888
        self.groupBoxLineNo.setTitle(_translate("ConfigurationDialog", "Line No"))
889
        self.pushButtonAddProperty.setText(_translate("ConfigurationDialog", "Add"))
890
        self.pushButtonLineNoAttribute.setText(_translate("ConfigurationDialog", "Attribute"))
891
        self.pushButtonDeleteProperty.setText(_translate("ConfigurationDialog", "Delete"))
892
        self.groupBox.setTitle(_translate("ConfigurationDialog", "Line Detection"))
893
        self.label_45.setText(_translate("ConfigurationDialog", "Detect Without Symbol"))
894
        self.radioButtonGapYes.setText(_translate("ConfigurationDialog", "Yes"))
895
        self.label_4.setText(_translate("ConfigurationDialog", "Ignore Small Object Size : "))
896
        self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : "))
897
        self.label_35.setText(_translate("ConfigurationDialog", "Diagonal Detection"))
898
        self.radioButtonDiagonalYes.setText(_translate("ConfigurationDialog", "Yes"))
899
        self.label_5.setText(_translate("ConfigurationDialog", "< Area < "))
900
        self.label_16.setText(_translate("ConfigurationDialog", "Line Minimum Length : "))
901
        self.label_28.setText(_translate("ConfigurationDialog", "Default Line Type : "))
902
        self.radioButtonDiagonalNo.setText(_translate("ConfigurationDialog", "No"))
903
        self.label_9.setText(_translate("ConfigurationDialog", "Length to Connect Line : "))
904
        self.radioButtonGapNo.setText(_translate("ConfigurationDialog", "No"))
905
        self.groupBoxEquipTag.setTitle(_translate("ConfigurationDialog", "Equipment Tag No"))
906
        self.pushButtonDeleteTagProperty.setText(_translate("ConfigurationDialog", "Delete"))
907
        self.pushButtonAddTagProperty.setText(_translate("ConfigurationDialog", "Add"))
908
        self.pushButtonTagNoAttribute.setText(_translate("ConfigurationDialog", "Attribute"))
909
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition2), _translate("ConfigurationDialog", "Recognition"))
910
        self.groupBox_4.setTitle(_translate("ConfigurationDialog", "Note No Tag Rule"))
911
        self.checkBoxNoteNoSymbolName.setText(_translate("ConfigurationDialog", "Note No Symbol Name : "))
912
        self.label_8.setText(_translate("ConfigurationDialog", "Note No Expression : "))
913
        self.groupBox_8.setTitle(_translate("ConfigurationDialog", "Nozzle Name Rule"))
914
        self.label_27.setText(_translate("ConfigurationDialog", "Nozzle Name : "))
915
        self.groupBox_3.setTitle(_translate("ConfigurationDialog", "Supplied by Tag Rule"))
916
        self.label_11.setText(_translate("ConfigurationDialog", "Supplied by Vendor : "))
917
        self.groupBox_9.setTitle(_translate("ConfigurationDialog", "Drain Size"))
918
        self.label_12.setText(_translate("ConfigurationDialog", "Drain Size : "))
919
        self.groupBox_10.setTitle(_translate("ConfigurationDialog", "OPC Tag Rule"))
920
        self.label_13.setText(_translate("ConfigurationDialog", "From Prefix : "))
921
        self.label_14.setText(_translate("ConfigurationDialog", "To Prefix : "))
922
        self.lineEditOPCFromPrefix.setText(_translate("ConfigurationDialog", "FROM"))
923
        self.lineEditOPCToPrefix.setText(_translate("ConfigurationDialog", "TO"))
924
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabTagNoRule), _translate("ConfigurationDialog", "Tag Rule"))
925
        self.groupBox_6.setTitle(_translate("ConfigurationDialog", "Line Style"))
926
        self.groupBox_2.setTitle(_translate("ConfigurationDialog", "Symbol Style"))
927
        self.label_3.setText(_translate("ConfigurationDialog", "Instrument Color : "))
928
        self.label_23.setText(_translate("ConfigurationDialog", "Equipment Color : "))
929
        self.label_2.setText(_translate("ConfigurationDialog", "Symbol Opacity : "))
930
        self.groupBox_5.setTitle(_translate("ConfigurationDialog", "Text Style"))
931
        self.labelFontSize.setText(_translate("ConfigurationDialog", "Font Size : "))
932
        self.labelFontName.setText(_translate("ConfigurationDialog", "Font Name : "))
933
        self.radioButtonAutoSize.setText(_translate("ConfigurationDialog", "Auto"))
934
        self.radioButtonFixedSize.setText(_translate("ConfigurationDialog", "Fixed"))
935
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDisplayOption), _translate("ConfigurationDialog", "Style"))
936
        self.groupBox_7.setTitle(_translate("ConfigurationDialog", "Line No Color"))
937
        self.radioButtonRandom.setText(_translate("ConfigurationDialog", "Random"))
938
        self.radioButtonProperty.setText(_translate("ConfigurationDialog", "Property"))
939
        self.label_25.setText(_translate("ConfigurationDialog", "Color Representation"))
940
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineColor), _translate("ConfigurationDialog", "Line No Color"))
941
        self.groupBox_12.setTitle(_translate("ConfigurationDialog", "Visual"))
942
        self.label_36.setText(_translate("ConfigurationDialog", "Background Text Transparency"))
943
        self.radioButtonBackTextYes.setText(_translate("ConfigurationDialog", "Yes"))
944
        self.radioButtonBackTextNo.setText(_translate("ConfigurationDialog", "No"))
945
        self.groupBox_11.setTitle(_translate("ConfigurationDialog", "Program Data"))
946
        self.radioButtonLoadXmlOnly.setText(_translate("ConfigurationDialog", "XML Only"))
947
        self.radioButtonLoadXmlYes.setText(_translate("ConfigurationDialog", "XML Frist"))
948
        self.radioButtonLoadXmlNo.setText(_translate("ConfigurationDialog", "Database Only"))
949
        self.label_34.setText(_translate("ConfigurationDialog", "Save Unknown Item to XML Only"))
950
        self.label_30.setText(_translate("ConfigurationDialog", "Load Data From"))
951
        self.radioButtonSaveUnknownYes.setText(_translate("ConfigurationDialog", "Yes"))
952
        self.radioButtonSaveUnknownNo.setText(_translate("ConfigurationDialog", "No"))
953
        self.pushButtonClearAccessInfo.setText(_translate("ConfigurationDialog", "Clear"))
954
        self.label_31.setText(_translate("ConfigurationDialog", "Clear Drawing Access Information"))
955
        self.label_49.setText(_translate("ConfigurationDialog", "Save Alarm(min)"))
956
        self.groupBox_13.setTitle(_translate("ConfigurationDialog", "Recognition Engine"))
957
        self.radioButtonTextAreaLocal.setText(_translate("ConfigurationDialog", "Local"))
958
        self.radioButtonTextAreaServer.setText(_translate("ConfigurationDialog", "Server"))
959
        self.radioButtonOCRLocal.setText(_translate("ConfigurationDialog", "Local"))
960
        self.radioButtonOCRServer.setText(_translate("ConfigurationDialog", "Server"))
961
        self.label_46.setText(_translate("ConfigurationDialog", "Text Area"))
962
        self.label_47.setText(_translate("ConfigurationDialog", "OCR"))
963
        self.label_48.setText(_translate("ConfigurationDialog", "Server Address"))
964
        self.pushButtonServerTest.setText(_translate("ConfigurationDialog", "Test Connection"))
965
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabETC), _translate("ConfigurationDialog", "ETC"))
966

    
967
import MainWindow_rc
968

    
969
if __name__ == "__main__":
970
    import sys
971
    app = QtWidgets.QApplication(sys.argv)
972
    ConfigurationDialog = QtWidgets.QDialog()
973
    ui = Ui_ConfigurationDialog()
974
    ui.setupUi(ConfigurationDialog)
975
    ConfigurationDialog.show()
976
    sys.exit(app.exec_())
977

    
클립보드 이미지 추가 (최대 크기: 500 MB)