프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / DTI_PID / Configuration_UI.py @ d935939c

이력 | 보기 | 이력해설 | 다운로드 (31.6 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.9.2
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(550, 643)
15
        font = QtGui.QFont()
16
        font.setFamily("맑은 고딕")
17
        ConfigurationDialog.setFont(font)
18
        ConfigurationDialog.setModal(True)
19
        self.gridLayout = QtWidgets.QGridLayout(ConfigurationDialog)
20
        self.gridLayout.setObjectName("gridLayout")
21
        self.tabWidget = QtWidgets.QTabWidget(ConfigurationDialog)
22
        self.tabWidget.setObjectName("tabWidget")
23
        self.Recognition = QtWidgets.QWidget()
24
        self.Recognition.setObjectName("Recognition")
25
        self.gridLayout_2 = QtWidgets.QGridLayout(self.Recognition)
26
        self.gridLayout_2.setObjectName("gridLayout_2")
27
        self.groupBoxText = QtWidgets.QGroupBox(self.Recognition)
28
        self.groupBoxText.setObjectName("groupBoxText")
29
        self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBoxText)
30
        self.gridLayout_14.setObjectName("gridLayout_14")
31
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
32
        self.verticalLayout_5.setObjectName("verticalLayout_5")
33
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
34
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
35
        self.label_19 = QtWidgets.QLabel(self.groupBoxText)
36
        self.label_19.setObjectName("label_19")
37
        self.horizontalLayout_14.addWidget(self.label_19)
38
        self.textAreaTypeARadioButton = QtWidgets.QRadioButton(self.groupBoxText)
39
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
40
        sizePolicy.setHorizontalStretch(0)
41
        sizePolicy.setVerticalStretch(0)
42
        sizePolicy.setHeightForWidth(self.textAreaTypeARadioButton.sizePolicy().hasHeightForWidth())
43
        self.textAreaTypeARadioButton.setSizePolicy(sizePolicy)
44
        self.textAreaTypeARadioButton.setChecked(True)
45
        self.textAreaTypeARadioButton.setObjectName("textAreaTypeARadioButton")
46
        self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog)
47
        self.buttonGroup.setObjectName("buttonGroup")
48
        self.buttonGroup.addButton(self.textAreaTypeARadioButton)
49
        self.horizontalLayout_14.addWidget(self.textAreaTypeARadioButton)
50
        self.textAreaTypeBRadioButton = QtWidgets.QRadioButton(self.groupBoxText)
51
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
52
        sizePolicy.setHorizontalStretch(0)
53
        sizePolicy.setVerticalStretch(0)
54
        sizePolicy.setHeightForWidth(self.textAreaTypeBRadioButton.sizePolicy().hasHeightForWidth())
55
        self.textAreaTypeBRadioButton.setSizePolicy(sizePolicy)
56
        self.textAreaTypeBRadioButton.setObjectName("textAreaTypeBRadioButton")
57
        self.buttonGroup.addButton(self.textAreaTypeBRadioButton)
58
        self.horizontalLayout_14.addWidget(self.textAreaTypeBRadioButton)
59
        self.textAreaHelpLabel = QtWidgets.QLabel(self.groupBoxText)
60
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
61
        sizePolicy.setHorizontalStretch(0)
62
        sizePolicy.setVerticalStretch(0)
63
        sizePolicy.setHeightForWidth(self.textAreaHelpLabel.sizePolicy().hasHeightForWidth())
64
        self.textAreaHelpLabel.setSizePolicy(sizePolicy)
65
        self.textAreaHelpLabel.setMinimumSize(QtCore.QSize(20, 20))
66
        self.textAreaHelpLabel.setMaximumSize(QtCore.QSize(20, 20))
67
        self.textAreaHelpLabel.setText("")
68
        self.textAreaHelpLabel.setTextFormat(QtCore.Qt.AutoText)
69
        self.textAreaHelpLabel.setPixmap(QtGui.QPixmap("../res/info.png"))
70
        self.textAreaHelpLabel.setScaledContents(True)
71
        self.textAreaHelpLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
72
        self.textAreaHelpLabel.setObjectName("textAreaHelpLabel")
73
        self.horizontalLayout_14.addWidget(self.textAreaHelpLabel)
74
        self.verticalLayout_5.addLayout(self.horizontalLayout_14)
75
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
76
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
77
        self.label_20 = QtWidgets.QLabel(self.groupBoxText)
78
        self.label_20.setObjectName("label_20")
79
        self.horizontalLayout_15.addWidget(self.label_20)
80
        self.spinBoxExpandSize = QtWidgets.QSpinBox(self.groupBoxText)
81
        self.spinBoxExpandSize.setObjectName("spinBoxExpandSize")
82
        self.horizontalLayout_15.addWidget(self.spinBoxExpandSize)
83
        self.verticalLayout_5.addLayout(self.horizontalLayout_15)
84
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
85
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
86
        self.label_21 = QtWidgets.QLabel(self.groupBoxText)
87
        self.label_21.setObjectName("label_21")
88
        self.horizontalLayout_16.addWidget(self.label_21)
89
        self.spinBoxShrinkSize = QtWidgets.QSpinBox(self.groupBoxText)
90
        self.spinBoxShrinkSize.setObjectName("spinBoxShrinkSize")
91
        self.horizontalLayout_16.addWidget(self.spinBoxShrinkSize)
92
        self.verticalLayout_5.addLayout(self.horizontalLayout_16)
93
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
94
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
95
        self.label_17 = QtWidgets.QLabel(self.groupBoxText)
96
        self.label_17.setObjectName("label_17")
97
        self.horizontalLayout_13.addWidget(self.label_17, 0, QtCore.Qt.AlignLeft)
98
        self.minTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
99
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
100
        sizePolicy.setHorizontalStretch(0)
101
        sizePolicy.setVerticalStretch(0)
102
        sizePolicy.setHeightForWidth(self.minTextSizeSpinBox.sizePolicy().hasHeightForWidth())
103
        self.minTextSizeSpinBox.setSizePolicy(sizePolicy)
104
        self.minTextSizeSpinBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
105
        self.minTextSizeSpinBox.setProperty("value", 30)
106
        self.minTextSizeSpinBox.setObjectName("minTextSizeSpinBox")
107
        self.horizontalLayout_13.addWidget(self.minTextSizeSpinBox)
108
        self.label_18 = QtWidgets.QLabel(self.groupBoxText)
109
        self.label_18.setObjectName("label_18")
110
        self.horizontalLayout_13.addWidget(self.label_18)
111
        self.maxTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
112
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
113
        sizePolicy.setHorizontalStretch(0)
114
        sizePolicy.setVerticalStretch(0)
115
        sizePolicy.setHeightForWidth(self.maxTextSizeSpinBox.sizePolicy().hasHeightForWidth())
116
        self.maxTextSizeSpinBox.setSizePolicy(sizePolicy)
117
        self.maxTextSizeSpinBox.setProperty("value", 60)
118
        self.maxTextSizeSpinBox.setObjectName("maxTextSizeSpinBox")
119
        self.horizontalLayout_13.addWidget(self.maxTextSizeSpinBox)
120
        self.verticalLayout_5.addLayout(self.horizontalLayout_13)
121
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
122
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
123
        self.label_22 = QtWidgets.QLabel(self.groupBoxText)
124
        self.label_22.setObjectName("label_22")
125
        self.horizontalLayout_17.addWidget(self.label_22)
126
        self.spinBoxMergeSize = QtWidgets.QSpinBox(self.groupBoxText)
127
        self.spinBoxMergeSize.setObjectName("spinBoxMergeSize")
128
        self.horizontalLayout_17.addWidget(self.spinBoxMergeSize)
129
        self.verticalLayout_5.addLayout(self.horizontalLayout_17)
130
        self.checkBoxRemoveWhiteSpace = QtWidgets.QCheckBox(self.groupBoxText)
131
        self.checkBoxRemoveWhiteSpace.setObjectName("checkBoxRemoveWhiteSpace")
132
        self.verticalLayout_5.addWidget(self.checkBoxRemoveWhiteSpace)
133
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
134
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
135
        self.label_23 = QtWidgets.QLabel(self.groupBoxText)
136
        self.label_23.setObjectName("label_23")
137
        self.horizontalLayout_20.addWidget(self.label_23)
138
        self.lineEditOldStr = QtWidgets.QLineEdit(self.groupBoxText)
139
        self.lineEditOldStr.setObjectName("lineEditOldStr")
140
        self.horizontalLayout_20.addWidget(self.lineEditOldStr)
141
        self.label_24 = QtWidgets.QLabel(self.groupBoxText)
142
        self.label_24.setObjectName("label_24")
143
        self.horizontalLayout_20.addWidget(self.label_24)
144
        self.lineEditNewStr = QtWidgets.QLineEdit(self.groupBoxText)
145
        self.lineEditNewStr.setObjectName("lineEditNewStr")
146
        self.horizontalLayout_20.addWidget(self.lineEditNewStr)
147
        self.verticalLayout_5.addLayout(self.horizontalLayout_20)
148
        self.gridLayout_14.addLayout(self.verticalLayout_5, 0, 0, 1, 1)
149
        self.gridLayout_2.addWidget(self.groupBoxText, 0, 1, 1, 1)
150
        self.groupBoxAttribute = QtWidgets.QGroupBox(self.Recognition)
151
        self.groupBoxAttribute.setObjectName("groupBoxAttribute")
152
        self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute)
153
        self.gridLayout_6.setObjectName("gridLayout_6")
154
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
155
        self.verticalLayout_3.setObjectName("verticalLayout_3")
156
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
157
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
158
        self.label_6 = QtWidgets.QLabel(self.groupBoxAttribute)
159
        self.label_6.setObjectName("label_6")
160
        self.horizontalLayout_8.addWidget(self.label_6, 0, QtCore.Qt.AlignVCenter)
161
        self.lineEditSizeDelimiter = QtWidgets.QLineEdit(self.groupBoxAttribute)
162
        self.lineEditSizeDelimiter.setObjectName("lineEditSizeDelimiter")
163
        self.horizontalLayout_8.addWidget(self.lineEditSizeDelimiter, 0, QtCore.Qt.AlignVCenter)
164
        self.verticalLayout_3.addLayout(self.horizontalLayout_8)
165
        self.gridLayout_6.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
166
        self.gridLayout_2.addWidget(self.groupBoxAttribute, 1, 1, 1, 1)
167
        self.groupBox = QtWidgets.QGroupBox(self.Recognition)
168
        self.groupBox.setObjectName("groupBox")
169
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
170
        self.gridLayout_5.setObjectName("gridLayout_5")
171
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
172
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
173
        self.label_4 = QtWidgets.QLabel(self.groupBox)
174
        self.label_4.setObjectName("label_4")
175
        self.horizontalLayout_6.addWidget(self.label_4)
176
        self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox)
177
        self.spinBoxMinArea.setObjectName("spinBoxMinArea")
178
        self.horizontalLayout_6.addWidget(self.spinBoxMinArea)
179
        self.label_5 = QtWidgets.QLabel(self.groupBox)
180
        self.label_5.setObjectName("label_5")
181
        self.horizontalLayout_6.addWidget(self.label_5, 0, QtCore.Qt.AlignHCenter)
182
        self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox)
183
        self.spinBoxMaxArea.setObjectName("spinBoxMaxArea")
184
        self.horizontalLayout_6.addWidget(self.spinBoxMaxArea)
185
        self.gridLayout_5.addLayout(self.horizontalLayout_6, 2, 0, 1, 1)
186
        self.horizontalLayout = QtWidgets.QHBoxLayout()
187
        self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
188
        self.horizontalLayout.setObjectName("horizontalLayout")
189
        self.label = QtWidgets.QLabel(self.groupBox)
190
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
191
        self.label.setObjectName("label")
192
        self.horizontalLayout.addWidget(self.label)
193
        self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox)
194
        self.spinBoxWidth.setObjectName("spinBoxWidth")
195
        self.horizontalLayout.addWidget(self.spinBoxWidth)
196
        self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox)
197
        self.spinBoxHeight.setObjectName("spinBoxHeight")
198
        self.horizontalLayout.addWidget(self.spinBoxHeight)
199
        self.gridLayout_5.addLayout(self.horizontalLayout, 3, 0, 1, 1)
200
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
201
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
202
        self.label_16 = QtWidgets.QLabel(self.groupBox)
203
        self.label_16.setObjectName("label_16")
204
        self.horizontalLayout_12.addWidget(self.label_16)
205
        self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox)
206
        self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox")
207
        self.horizontalLayout_12.addWidget(self.smallLineMinLengthSpinBox)
208
        self.gridLayout_5.addLayout(self.horizontalLayout_12, 4, 0, 1, 1)
209
        self.gridLayout_2.addWidget(self.groupBox, 2, 1, 1, 1)
210
        self.groupBoxLineNo = QtWidgets.QGroupBox(self.Recognition)
211
        self.groupBoxLineNo.setObjectName("groupBoxLineNo")
212
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxLineNo)
213
        self.gridLayout_3.setObjectName("gridLayout_3")
214
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
215
        self.verticalLayout_2.setObjectName("verticalLayout_2")
216
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
217
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
218
        self.label_3 = QtWidgets.QLabel(self.groupBoxLineNo)
219
        self.label_3.setObjectName("label_3")
220
        self.horizontalLayout_7.addWidget(self.label_3)
221
        self.radioButtonMetric = QtWidgets.QRadioButton(self.groupBoxLineNo)
222
        self.radioButtonMetric.setObjectName("radioButtonMetric")
223
        self.horizontalLayout_7.addWidget(self.radioButtonMetric)
224
        self.radioButtonInch = QtWidgets.QRadioButton(self.groupBoxLineNo)
225
        self.radioButtonInch.setObjectName("radioButtonInch")
226
        self.horizontalLayout_7.addWidget(self.radioButtonInch)
227
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
228
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
229
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
230
        self.label_2 = QtWidgets.QLabel(self.groupBoxLineNo)
231
        self.label_2.setObjectName("label_2")
232
        self.horizontalLayout_5.addWidget(self.label_2)
233
        self.lineEdit = QtWidgets.QLineEdit(self.groupBoxLineNo)
234
        self.lineEdit.setMaxLength(1)
235
        self.lineEdit.setObjectName("lineEdit")
236
        self.horizontalLayout_5.addWidget(self.lineEdit)
237
        self.pushButtonAddDelimiter = QtWidgets.QPushButton(self.groupBoxLineNo)
238
        self.pushButtonAddDelimiter.setMinimumSize(QtCore.QSize(50, 0))
239
        self.pushButtonAddDelimiter.setMaximumSize(QtCore.QSize(50, 16777215))
240
        self.pushButtonAddDelimiter.setObjectName("pushButtonAddDelimiter")
241
        self.horizontalLayout_5.addWidget(self.pushButtonAddDelimiter)
242
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
243
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
244
        self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
245
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
246
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
247
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
248
        self.horizontalLayout_2.addLayout(self.horizontalLayout_4)
249
        self.comboBoxProperties = QtWidgets.QComboBox(self.groupBoxLineNo)
250
        self.comboBoxProperties.setObjectName("comboBoxProperties")
251
        self.horizontalLayout_2.addWidget(self.comboBoxProperties)
252
        self.pushButtonAddProperty = QtWidgets.QPushButton(self.groupBoxLineNo)
253
        self.pushButtonAddProperty.setMinimumSize(QtCore.QSize(50, 0))
254
        self.pushButtonAddProperty.setMaximumSize(QtCore.QSize(50, 16777215))
255
        self.pushButtonAddProperty.setDefault(False)
256
        self.pushButtonAddProperty.setObjectName("pushButtonAddProperty")
257
        self.horizontalLayout_2.addWidget(self.pushButtonAddProperty)
258
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
259
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
260
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
261
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
262
        self.gridLayout_3.addLayout(self.verticalLayout_2, 6, 0, 1, 1)
263
        self.gridLayout_2.addWidget(self.groupBoxLineNo, 3, 1, 1, 1)
264
        self.tabWidget.addTab(self.Recognition, "")
265
        self.tabTagNoRule = QtWidgets.QWidget()
266
        self.tabTagNoRule.setObjectName("tabTagNoRule")
267
        self.gridLayout_7 = QtWidgets.QGridLayout(self.tabTagNoRule)
268
        self.gridLayout_7.setObjectName("gridLayout_7")
269
        self.groupBox_2 = QtWidgets.QGroupBox(self.tabTagNoRule)
270
        self.groupBox_2.setObjectName("groupBox_2")
271
        self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_2)
272
        self.gridLayout_8.setObjectName("gridLayout_8")
273
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
274
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
275
        self.label_7 = QtWidgets.QLabel(self.groupBox_2)
276
        self.label_7.setMaximumSize(QtCore.QSize(80, 16777215))
277
        self.label_7.setText("")
278
        self.label_7.setPixmap(QtGui.QPixmap(":/newPrefix/Symbols/B01_Inst_FAHH.png"))
279
        self.label_7.setAlignment(QtCore.Qt.AlignCenter)
280
        self.label_7.setObjectName("label_7")
281
        self.horizontalLayout_9.addWidget(self.label_7)
282
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
283
        self.verticalLayout_4.setObjectName("verticalLayout_4")
284
        self.gridLayout_9 = QtWidgets.QGridLayout()
285
        self.gridLayout_9.setObjectName("gridLayout_9")
286
        self.label_8 = QtWidgets.QLabel(self.groupBox_2)
287
        self.label_8.setObjectName("label_8")
288
        self.gridLayout_9.addWidget(self.label_8, 0, 0, 1, 1)
289
        self.lineEditMeasuredVariableCode = QtWidgets.QLineEdit(self.groupBox_2)
290
        self.lineEditMeasuredVariableCode.setObjectName("lineEditMeasuredVariableCode")
291
        self.gridLayout_9.addWidget(self.lineEditMeasuredVariableCode, 0, 1, 1, 1)
292
        self.lineEditTagSeqNo = QtWidgets.QLineEdit(self.groupBox_2)
293
        self.lineEditTagSeqNo.setObjectName("lineEditTagSeqNo")
294
        self.gridLayout_9.addWidget(self.lineEditTagSeqNo, 2, 1, 1, 1)
295
        self.label_9 = QtWidgets.QLabel(self.groupBox_2)
296
        self.label_9.setObjectName("label_9")
297
        self.gridLayout_9.addWidget(self.label_9, 1, 0, 1, 1)
298
        self.lineEditTypeModifier = QtWidgets.QLineEdit(self.groupBox_2)
299
        self.lineEditTypeModifier.setObjectName("lineEditTypeModifier")
300
        self.gridLayout_9.addWidget(self.lineEditTypeModifier, 1, 1, 1, 1)
301
        self.label_10 = QtWidgets.QLabel(self.groupBox_2)
302
        self.label_10.setObjectName("label_10")
303
        self.gridLayout_9.addWidget(self.label_10, 2, 0, 1, 1)
304
        self.label_11 = QtWidgets.QLabel(self.groupBox_2)
305
        self.label_11.setObjectName("label_11")
306
        self.gridLayout_9.addWidget(self.label_11, 3, 0, 1, 1)
307
        self.lineEditTagSuffix = QtWidgets.QLineEdit(self.groupBox_2)
308
        self.lineEditTagSuffix.setObjectName("lineEditTagSuffix")
309
        self.gridLayout_9.addWidget(self.lineEditTagSuffix, 3, 1, 1, 1)
310
        self.verticalLayout_4.addLayout(self.gridLayout_9)
311
        self.horizontalLayout_9.addLayout(self.verticalLayout_4)
312
        self.gridLayout_8.addLayout(self.horizontalLayout_9, 0, 0, 1, 1)
313
        self.gridLayout_7.addWidget(self.groupBox_2, 1, 0, 1, 1)
314
        self.groupBox_3 = QtWidgets.QGroupBox(self.tabTagNoRule)
315
        self.groupBox_3.setObjectName("groupBox_3")
316
        self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox_3)
317
        self.gridLayout_10.setObjectName("gridLayout_10")
318
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
319
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
320
        self.label_12 = QtWidgets.QLabel(self.groupBox_3)
321
        self.label_12.setMaximumSize(QtCore.QSize(80, 16777215))
322
        self.label_12.setText("")
323
        self.label_12.setObjectName("label_12")
324
        self.horizontalLayout_10.addWidget(self.label_12)
325
        self.gridLayout_11 = QtWidgets.QGridLayout()
326
        self.gridLayout_11.setObjectName("gridLayout_11")
327
        self.label_13 = QtWidgets.QLabel(self.groupBox_3)
328
        self.label_13.setObjectName("label_13")
329
        self.gridLayout_11.addWidget(self.label_13, 0, 0, 1, 1)
330
        self.lineEditDescription = QtWidgets.QLineEdit(self.groupBox_3)
331
        self.lineEditDescription.setObjectName("lineEditDescription")
332
        self.gridLayout_11.addWidget(self.lineEditDescription, 0, 1, 1, 1)
333
        self.label_14 = QtWidgets.QLabel(self.groupBox_3)
334
        self.label_14.setObjectName("label_14")
335
        self.gridLayout_11.addWidget(self.label_14, 1, 0, 1, 1)
336
        self.lineEditOPCTag = QtWidgets.QLineEdit(self.groupBox_3)
337
        self.lineEditOPCTag.setObjectName("lineEditOPCTag")
338
        self.gridLayout_11.addWidget(self.lineEditOPCTag, 1, 1, 1, 1)
339
        self.horizontalLayout_10.addLayout(self.gridLayout_11)
340
        self.gridLayout_10.addLayout(self.horizontalLayout_10, 0, 0, 1, 1)
341
        self.gridLayout_7.addWidget(self.groupBox_3, 2, 0, 1, 1)
342
        self.groupBox_4 = QtWidgets.QGroupBox(self.tabTagNoRule)
343
        self.groupBox_4.setObjectName("groupBox_4")
344
        self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_4)
345
        self.gridLayout_12.setObjectName("gridLayout_12")
346
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
347
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
348
        self.label_15 = QtWidgets.QLabel(self.groupBox_4)
349
        self.label_15.setObjectName("label_15")
350
        self.horizontalLayout_11.addWidget(self.label_15)
351
        self.gridLayout_13 = QtWidgets.QGridLayout()
352
        self.gridLayout_13.setObjectName("gridLayout_13")
353
        self.lineEditLineNoTagSeqNo = QtWidgets.QLineEdit(self.groupBox_4)
354
        self.lineEditLineNoTagSeqNo.setObjectName("lineEditLineNoTagSeqNo")
355
        self.gridLayout_13.addWidget(self.lineEditLineNoTagSeqNo, 0, 0, 1, 1)
356
        self.horizontalLayout_11.addLayout(self.gridLayout_13)
357
        self.gridLayout_12.addLayout(self.horizontalLayout_11, 0, 0, 1, 1)
358
        self.gridLayout_7.addWidget(self.groupBox_4, 0, 0, 1, 1)
359
        self.tabWidget.addTab(self.tabTagNoRule, "")
360
        self.tabDisplayOption = QtWidgets.QWidget()
361
        self.tabDisplayOption.setObjectName("tabDisplayOption")
362
        self.gridLayout_4 = QtWidgets.QGridLayout(self.tabDisplayOption)
363
        self.gridLayout_4.setObjectName("gridLayout_4")
364
        self.verticalLayout = QtWidgets.QVBoxLayout()
365
        self.verticalLayout.setObjectName("verticalLayout")
366
        self.groupBox_6 = QtWidgets.QGroupBox(self.tabDisplayOption)
367
        self.groupBox_6.setObjectName("groupBox_6")
368
        self.gridLayout_16 = QtWidgets.QGridLayout(self.groupBox_6)
369
        self.gridLayout_16.setObjectName("gridLayout_16")
370
        self.tableWidgetLineTypes = QtWidgets.QTableWidget(self.groupBox_6)
371
        self.tableWidgetLineTypes.setColumnCount(3)
372
        self.tableWidgetLineTypes.setObjectName("tableWidgetLineTypes")
373
        self.tableWidgetLineTypes.setRowCount(0)
374
        self.tableWidgetLineTypes.verticalHeader().setVisible(False)
375
        self.gridLayout_16.addWidget(self.tableWidgetLineTypes, 0, 0, 1, 1)
376
        self.verticalLayout.addWidget(self.groupBox_6)
377
        self.groupBox_5 = QtWidgets.QGroupBox(self.tabDisplayOption)
378
        self.groupBox_5.setObjectName("groupBox_5")
379
        self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_5)
380
        self.gridLayout_15.setObjectName("gridLayout_15")
381
        self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
382
        self.horizontalLayout_19.setObjectName("horizontalLayout_19")
383
        self.labelFontSize = QtWidgets.QLabel(self.groupBox_5)
384
        self.labelFontSize.setObjectName("labelFontSize")
385
        self.horizontalLayout_19.addWidget(self.labelFontSize, 0, QtCore.Qt.AlignLeft)
386
        self.radioButtonAutoSize = QtWidgets.QRadioButton(self.groupBox_5)
387
        self.radioButtonAutoSize.setObjectName("radioButtonAutoSize")
388
        self.horizontalLayout_19.addWidget(self.radioButtonAutoSize)
389
        self.radioButtonFixedSize = QtWidgets.QRadioButton(self.groupBox_5)
390
        self.radioButtonFixedSize.setMaximumSize(QtCore.QSize(50, 16777215))
391
        self.radioButtonFixedSize.setObjectName("radioButtonFixedSize")
392
        self.horizontalLayout_19.addWidget(self.radioButtonFixedSize)
393
        self.spinBoxFontSize = QtWidgets.QSpinBox(self.groupBox_5)
394
        self.spinBoxFontSize.setObjectName("spinBoxFontSize")
395
        self.horizontalLayout_19.addWidget(self.spinBoxFontSize)
396
        self.gridLayout_15.addLayout(self.horizontalLayout_19, 2, 0, 1, 1)
397
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
398
        self.verticalLayout_6.setObjectName("verticalLayout_6")
399
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
400
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
401
        self.labelFontName = QtWidgets.QLabel(self.groupBox_5)
402
        self.labelFontName.setObjectName("labelFontName")
403
        self.horizontalLayout_18.addWidget(self.labelFontName)
404
        self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_5)
405
        self.fontComboBox.setObjectName("fontComboBox")
406
        self.horizontalLayout_18.addWidget(self.fontComboBox)
407
        self.verticalLayout_6.addLayout(self.horizontalLayout_18)
408
        self.gridLayout_15.addLayout(self.verticalLayout_6, 0, 0, 1, 1)
409
        self.verticalLayout.addWidget(self.groupBox_5)
410
        self.gridLayout_4.addLayout(self.verticalLayout, 0, 0, 1, 1)
411
        self.tabWidget.addTab(self.tabDisplayOption, "")
412
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
413
        self.buttonBox = QtWidgets.QDialogButtonBox(ConfigurationDialog)
414
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
415
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
416
        self.buttonBox.setObjectName("buttonBox")
417
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)
418

    
419
        self.retranslateUi(ConfigurationDialog)
420
        self.tabWidget.setCurrentIndex(0)
421
        self.buttonBox.accepted.connect(ConfigurationDialog.accept)
422
        self.buttonBox.rejected.connect(ConfigurationDialog.reject)
423
        QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog)
424
        ConfigurationDialog.setTabOrder(self.lineEditSizeDelimiter, self.spinBoxMinArea)
425
        ConfigurationDialog.setTabOrder(self.spinBoxMinArea, self.spinBoxMaxArea)
426
        ConfigurationDialog.setTabOrder(self.spinBoxMaxArea, self.spinBoxWidth)
427
        ConfigurationDialog.setTabOrder(self.spinBoxWidth, self.spinBoxHeight)
428
        ConfigurationDialog.setTabOrder(self.spinBoxHeight, self.radioButtonMetric)
429
        ConfigurationDialog.setTabOrder(self.radioButtonMetric, self.radioButtonInch)
430
        ConfigurationDialog.setTabOrder(self.radioButtonInch, self.lineEdit)
431
        ConfigurationDialog.setTabOrder(self.lineEdit, self.comboBoxProperties)
432
        ConfigurationDialog.setTabOrder(self.comboBoxProperties, self.pushButtonAddProperty)
433
        ConfigurationDialog.setTabOrder(self.pushButtonAddProperty, self.lineEditMeasuredVariableCode)
434
        ConfigurationDialog.setTabOrder(self.lineEditMeasuredVariableCode, self.lineEditTypeModifier)
435
        ConfigurationDialog.setTabOrder(self.lineEditTypeModifier, self.lineEditTagSeqNo)
436
        ConfigurationDialog.setTabOrder(self.lineEditTagSeqNo, self.lineEditTagSuffix)
437
        ConfigurationDialog.setTabOrder(self.lineEditTagSuffix, self.lineEditDescription)
438
        ConfigurationDialog.setTabOrder(self.lineEditDescription, self.lineEditOPCTag)
439
        ConfigurationDialog.setTabOrder(self.lineEditOPCTag, self.tabWidget)
440

    
441
    def retranslateUi(self, ConfigurationDialog):
442
        _translate = QtCore.QCoreApplication.translate
443
        ConfigurationDialog.setWindowTitle(_translate("ConfigurationDialog", "Configuration"))
444
        self.groupBoxText.setTitle(_translate("ConfigurationDialog", "텍스트 검출"))
445
        self.label_19.setText(_translate("ConfigurationDialog", "텍스트 영역 검출 방식 : "))
446
        self.textAreaTypeARadioButton.setText(_translate("ConfigurationDialog", "Type A"))
447
        self.textAreaTypeBRadioButton.setText(_translate("ConfigurationDialog", "Type B"))
448
        self.label_20.setText(_translate("ConfigurationDialog", "팽창 크기 : "))
449
        self.label_21.setText(_translate("ConfigurationDialog", "침식 크기 : "))
450
        self.label_17.setText(_translate("ConfigurationDialog", "Minimum Text Size : "))
451
        self.label_18.setText(_translate("ConfigurationDialog", "Maximum Text Size : "))
452
        self.label_22.setText(_translate("ConfigurationDialog", "병합 크기 : "))
453
        self.checkBoxRemoveWhiteSpace.setText(_translate("ConfigurationDialog", "공백 제거"))
454
        self.label_23.setText(_translate("ConfigurationDialog", "Replace"))
455
        self.label_24.setText(_translate("ConfigurationDialog", "with"))
456
        self.groupBoxAttribute.setTitle(_translate("ConfigurationDialog", "속성 검출"))
457
        self.label_6.setText(_translate("ConfigurationDialog", "Size Delimiter : "))
458
        self.groupBox.setTitle(_translate("ConfigurationDialog", "라인 검출"))
459
        self.label_4.setText(_translate("ConfigurationDialog", "Small Object Size : "))
460
        self.label_5.setText(_translate("ConfigurationDialog", " < Area < "))
461
        self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : "))
462
        self.label_16.setText(_translate("ConfigurationDialog", "Small Line Minimum Length"))
463
        self.groupBoxLineNo.setTitle(_translate("ConfigurationDialog", "Line No"))
464
        self.label_3.setText(_translate("ConfigurationDialog", "Size Unit : "))
465
        self.radioButtonMetric.setText(_translate("ConfigurationDialog", "Metric"))
466
        self.radioButtonInch.setText(_translate("ConfigurationDialog", "Inch"))
467
        self.label_2.setText(_translate("ConfigurationDialog", "Delimiter : "))
468
        self.pushButtonAddDelimiter.setText(_translate("ConfigurationDialog", "추가"))
469
        self.pushButtonAddProperty.setText(_translate("ConfigurationDialog", "추가"))
470
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition), _translate("ConfigurationDialog", "인식"))
471
        self.groupBox_2.setTitle(_translate("ConfigurationDialog", "Instrument Tag No Rule"))
472
        self.label_8.setText(_translate("ConfigurationDialog", "Measured Variable Code"))
473
        self.label_9.setText(_translate("ConfigurationDialog", "Type Modifier"))
474
        self.label_10.setText(_translate("ConfigurationDialog", "Tag Seq No"))
475
        self.label_11.setText(_translate("ConfigurationDialog", "Tag Suffix"))
476
        self.groupBox_3.setTitle(_translate("ConfigurationDialog", "OPC Tag No Rule"))
477
        self.label_13.setText(_translate("ConfigurationDialog", "Description"))
478
        self.label_14.setText(_translate("ConfigurationDialog", "OPC Tag"))
479
        self.groupBox_4.setTitle(_translate("ConfigurationDialog", "Line No Tag Rule"))
480
        self.label_15.setText(_translate("ConfigurationDialog", "Tag Seq No"))
481
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabTagNoRule), _translate("ConfigurationDialog", "태그 넘버 룰"))
482
        self.groupBox_6.setTitle(_translate("ConfigurationDialog", "라인 스타일"))
483
        self.groupBox_5.setTitle(_translate("ConfigurationDialog", "텍스트"))
484
        self.labelFontSize.setText(_translate("ConfigurationDialog", "폰트 크기 : "))
485
        self.radioButtonAutoSize.setText(_translate("ConfigurationDialog", "자동"))
486
        self.radioButtonFixedSize.setText(_translate("ConfigurationDialog", "고정"))
487
        self.labelFontName.setText(_translate("ConfigurationDialog", "폰트 이름 : "))
488
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDisplayOption), _translate("ConfigurationDialog", "표기"))
489

    
490

    
491
if __name__ == "__main__":
492
    import sys
493
    app = QtWidgets.QApplication(sys.argv)
494
    ConfigurationDialog = QtWidgets.QDialog()
495
    ui = Ui_ConfigurationDialog()
496
    ui.setupUi(ConfigurationDialog)
497
    ConfigurationDialog.show()
498
    sys.exit(app.exec_())
499

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