프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

hytos / DTI_PID / DTI_PID / ProjectInfo_UI.py @ 711ebc11

이력 | 보기 | 이력해설 | 다운로드 (17.7 KB)

1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file './UI/ProjectInfo.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.15.4
6
#
7
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8
# run again.  Do not edit this file unless you know what you are doing.
9

    
10

    
11
from PyQt5 import QtCore, QtGui, QtWidgets
12

    
13

    
14
class Ui_ProjectInfoDialog(object):
15
    def setupUi(self, ProjectInfoDialog):
16
        ProjectInfoDialog.setObjectName("ProjectInfoDialog")
17
        ProjectInfoDialog.resize(768, 485)
18
        font = QtGui.QFont()
19
        font.setFamily("맑은 고딕")
20
        ProjectInfoDialog.setFont(font)
21
        icon = QtGui.QIcon()
22
        icon.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
23
        ProjectInfoDialog.setWindowIcon(icon)
24
        ProjectInfoDialog.setModal(False)
25
        self.gridLayout = QtWidgets.QGridLayout(ProjectInfoDialog)
26
        self.gridLayout.setObjectName("gridLayout")
27
        self.buttonBox = QtWidgets.QDialogButtonBox(ProjectInfoDialog)
28
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
29
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
30
        self.buttonBox.setObjectName("buttonBox")
31
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)
32
        self.tabWidget = QtWidgets.QTabWidget(ProjectInfoDialog)
33
        self.tabWidget.setObjectName("tabWidget")
34
        self.Recognition = QtWidgets.QWidget()
35
        self.Recognition.setObjectName("Recognition")
36
        self.gridLayout_2 = QtWidgets.QGridLayout(self.Recognition)
37
        self.gridLayout_2.setObjectName("gridLayout_2")
38
        self.groupBoxText = QtWidgets.QGroupBox(self.Recognition)
39
        self.groupBoxText.setObjectName("groupBoxText")
40
        self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBoxText)
41
        self.gridLayout_14.setObjectName("gridLayout_14")
42
        self.gridLayout_25 = QtWidgets.QGridLayout()
43
        self.gridLayout_25.setObjectName("gridLayout_25")
44
        self.label_2 = QtWidgets.QLabel(self.groupBoxText)
45
        self.label_2.setObjectName("label_2")
46
        self.gridLayout_25.addWidget(self.label_2, 10, 0, 1, 1)
47
        self.lineEditProjectType = QtWidgets.QLineEdit(self.groupBoxText)
48
        self.lineEditProjectType.setObjectName("lineEditProjectType")
49
        self.gridLayout_25.addWidget(self.lineEditProjectType, 2, 1, 1, 2)
50
        self.label_22 = QtWidgets.QLabel(self.groupBoxText)
51
        self.label_22.setObjectName("label_22")
52
        self.gridLayout_25.addWidget(self.label_22, 8, 0, 1, 1)
53
        self.label_44 = QtWidgets.QLabel(self.groupBoxText)
54
        self.label_44.setObjectName("label_44")
55
        self.gridLayout_25.addWidget(self.label_44, 9, 0, 1, 1)
56
        self.label_19 = QtWidgets.QLabel(self.groupBoxText)
57
        self.label_19.setObjectName("label_19")
58
        self.gridLayout_25.addWidget(self.label_19, 0, 0, 1, 1)
59
        self.lineEditProjectMainProcessDesc = QtWidgets.QLineEdit(self.groupBoxText)
60
        self.lineEditProjectMainProcessDesc.setObjectName("lineEditProjectMainProcessDesc")
61
        self.gridLayout_25.addWidget(self.lineEditProjectMainProcessDesc, 3, 1, 1, 2)
62
        self.label_3 = QtWidgets.QLabel(self.groupBoxText)
63
        self.label_3.setObjectName("label_3")
64
        self.gridLayout_25.addWidget(self.label_3, 11, 0, 1, 1)
65
        self.label_20 = QtWidgets.QLabel(self.groupBoxText)
66
        self.label_20.setObjectName("label_20")
67
        self.gridLayout_25.addWidget(self.label_20, 6, 0, 1, 1)
68
        self.label_43 = QtWidgets.QLabel(self.groupBoxText)
69
        self.label_43.setObjectName("label_43")
70
        self.gridLayout_25.addWidget(self.label_43, 3, 0, 1, 1)
71
        self.lineEditProjectDesc = QtWidgets.QLineEdit(self.groupBoxText)
72
        self.lineEditProjectDesc.setObjectName("lineEditProjectDesc")
73
        self.gridLayout_25.addWidget(self.lineEditProjectDesc, 1, 1, 1, 2)
74
        self.label_7 = QtWidgets.QLabel(self.groupBoxText)
75
        self.label_7.setObjectName("label_7")
76
        self.gridLayout_25.addWidget(self.label_7, 1, 0, 1, 1)
77
        self.label_37 = QtWidgets.QLabel(self.groupBoxText)
78
        self.label_37.setObjectName("label_37")
79
        self.gridLayout_25.addWidget(self.label_37, 4, 0, 1, 1)
80
        self.label_39 = QtWidgets.QLabel(self.groupBoxText)
81
        self.label_39.setObjectName("label_39")
82
        self.gridLayout_25.addWidget(self.label_39, 2, 0, 1, 1)
83
        self.lineEditProjectName = QtWidgets.QLineEdit(self.groupBoxText)
84
        self.lineEditProjectName.setObjectName("lineEditProjectName")
85
        self.gridLayout_25.addWidget(self.lineEditProjectName, 0, 1, 1, 2)
86
        self.lineEditProjectOwner = QtWidgets.QLineEdit(self.groupBoxText)
87
        self.lineEditProjectOwner.setObjectName("lineEditProjectOwner")
88
        self.gridLayout_25.addWidget(self.lineEditProjectOwner, 5, 1, 1, 2)
89
        self.label_17 = QtWidgets.QLabel(self.groupBoxText)
90
        self.label_17.setObjectName("label_17")
91
        self.gridLayout_25.addWidget(self.label_17, 7, 0, 1, 1)
92
        self.label_50 = QtWidgets.QLabel(self.groupBoxText)
93
        self.label_50.setObjectName("label_50")
94
        self.gridLayout_25.addWidget(self.label_50, 5, 0, 1, 1)
95
        self.lineEditProjectDuration = QtWidgets.QLineEdit(self.groupBoxText)
96
        self.lineEditProjectDuration.setObjectName("lineEditProjectDuration")
97
        self.gridLayout_25.addWidget(self.lineEditProjectDuration, 4, 1, 1, 2)
98
        self.lineEditProjectContractor = QtWidgets.QLineEdit(self.groupBoxText)
99
        self.lineEditProjectContractor.setObjectName("lineEditProjectContractor")
100
        self.gridLayout_25.addWidget(self.lineEditProjectContractor, 6, 1, 1, 2)
101
        self.lineEditProjectLicensor = QtWidgets.QLineEdit(self.groupBoxText)
102
        self.lineEditProjectLicensor.setObjectName("lineEditProjectLicensor")
103
        self.gridLayout_25.addWidget(self.lineEditProjectLicensor, 7, 1, 1, 2)
104
        self.spinBoxNoPnID = QtWidgets.QSpinBox(self.groupBoxText)
105
        self.spinBoxNoPnID.setMinimumSize(QtCore.QSize(100, 0))
106
        self.spinBoxNoPnID.setObjectName("spinBoxNoPnID")
107
        self.gridLayout_25.addWidget(self.spinBoxNoPnID, 8, 1, 1, 2)
108
        self.spinBoxNoEquipment = QtWidgets.QSpinBox(self.groupBoxText)
109
        self.spinBoxNoEquipment.setMaximum(99999)
110
        self.spinBoxNoEquipment.setObjectName("spinBoxNoEquipment")
111
        self.gridLayout_25.addWidget(self.spinBoxNoEquipment, 9, 1, 1, 2)
112
        self.spinBoxNoInstrument = QtWidgets.QSpinBox(self.groupBoxText)
113
        self.spinBoxNoInstrument.setMaximum(99999)
114
        self.spinBoxNoInstrument.setObjectName("spinBoxNoInstrument")
115
        self.gridLayout_25.addWidget(self.spinBoxNoInstrument, 10, 1, 1, 2)
116
        self.spinBoxNoLine = QtWidgets.QSpinBox(self.groupBoxText)
117
        self.spinBoxNoLine.setMaximum(99999)
118
        self.spinBoxNoLine.setObjectName("spinBoxNoLine")
119
        self.gridLayout_25.addWidget(self.spinBoxNoLine, 11, 1, 1, 2)
120
        self.gridLayout_14.addLayout(self.gridLayout_25, 0, 0, 1, 1)
121
        self.gridLayout_2.addWidget(self.groupBoxText, 0, 1, 1, 1)
122
        self.tabWidget.addTab(self.Recognition, "")
123
        self.Recognition2 = QtWidgets.QWidget()
124
        self.Recognition2.setObjectName("Recognition2")
125
        self.gridLayout_21 = QtWidgets.QGridLayout(self.Recognition2)
126
        self.gridLayout_21.setObjectName("gridLayout_21")
127
        self.groupBox = QtWidgets.QGroupBox(self.Recognition2)
128
        self.groupBox.setObjectName("groupBox")
129
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox)
130
        self.gridLayout_5.setObjectName("gridLayout_5")
131
        self.gridLayout_11 = QtWidgets.QGridLayout()
132
        self.gridLayout_11.setObjectName("gridLayout_11")
133
        self.label_45 = QtWidgets.QLabel(self.groupBox)
134
        self.label_45.setObjectName("label_45")
135
        self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1)
136
        self.radioButtonGapYes = QtWidgets.QRadioButton(self.groupBox)
137
        self.radioButtonGapYes.setObjectName("radioButtonGapYes")
138
        self.buttonGroup_5 = QtWidgets.QButtonGroup(ProjectInfoDialog)
139
        self.buttonGroup_5.setObjectName("buttonGroup_5")
140
        self.buttonGroup_5.addButton(self.radioButtonGapYes)
141
        self.gridLayout_11.addWidget(self.radioButtonGapYes, 5, 1, 1, 1)
142
        self.comboBoxLineType = QtWidgets.QComboBox(self.groupBox)
143
        self.comboBoxLineType.setObjectName("comboBoxLineType")
144
        self.gridLayout_11.addWidget(self.comboBoxLineType, 4, 1, 1, 2)
145
        self.label_4 = QtWidgets.QLabel(self.groupBox)
146
        self.label_4.setObjectName("label_4")
147
        self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1)
148
        self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox)
149
        self.spinBoxLengthToConnectLine.setProperty("value", 20)
150
        self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine")
151
        self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1)
152
        self.label = QtWidgets.QLabel(self.groupBox)
153
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
154
        self.label.setObjectName("label")
155
        self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1)
156
        self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox)
157
        self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0))
158
        self.spinBoxWidth.setObjectName("spinBoxWidth")
159
        self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1)
160
        self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox)
161
        self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0))
162
        self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox")
163
        self.gridLayout_11.addWidget(self.smallLineMinLengthSpinBox, 2, 1, 1, 1)
164
        self.label_35 = QtWidgets.QLabel(self.groupBox)
165
        self.label_35.setObjectName("label_35")
166
        self.gridLayout_11.addWidget(self.label_35, 6, 0, 1, 1)
167
        self.radioButtonDiagonalYes = QtWidgets.QRadioButton(self.groupBox)
168
        self.radioButtonDiagonalYes.setObjectName("radioButtonDiagonalYes")
169
        self.buttonGroup_3 = QtWidgets.QButtonGroup(ProjectInfoDialog)
170
        self.buttonGroup_3.setObjectName("buttonGroup_3")
171
        self.buttonGroup_3.addButton(self.radioButtonDiagonalYes)
172
        self.gridLayout_11.addWidget(self.radioButtonDiagonalYes, 6, 1, 1, 1)
173
        self.label_5 = QtWidgets.QLabel(self.groupBox)
174
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
175
        self.label_5.setObjectName("label_5")
176
        self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1)
177
        self.label_16 = QtWidgets.QLabel(self.groupBox)
178
        self.label_16.setObjectName("label_16")
179
        self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1)
180
        self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox)
181
        self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0))
182
        self.spinBoxMaxArea.setObjectName("spinBoxMaxArea")
183
        self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1)
184
        self.label_28 = QtWidgets.QLabel(self.groupBox)
185
        self.label_28.setObjectName("label_28")
186
        self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1)
187
        self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox)
188
        self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0))
189
        self.spinBoxHeight.setObjectName("spinBoxHeight")
190
        self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1)
191
        self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox)
192
        self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0))
193
        self.spinBoxMinArea.setObjectName("spinBoxMinArea")
194
        self.gridLayout_11.addWidget(self.spinBoxMinArea, 0, 1, 1, 1)
195
        self.radioButtonDiagonalNo = QtWidgets.QRadioButton(self.groupBox)
196
        self.radioButtonDiagonalNo.setObjectName("radioButtonDiagonalNo")
197
        self.buttonGroup_3.addButton(self.radioButtonDiagonalNo)
198
        self.gridLayout_11.addWidget(self.radioButtonDiagonalNo, 6, 2, 1, 1)
199
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
200
        self.gridLayout_11.addItem(spacerItem, 0, 4, 1, 1)
201
        self.label_9 = QtWidgets.QLabel(self.groupBox)
202
        self.label_9.setObjectName("label_9")
203
        self.gridLayout_11.addWidget(self.label_9, 3, 0, 1, 1)
204
        self.radioButtonGapNo = QtWidgets.QRadioButton(self.groupBox)
205
        self.radioButtonGapNo.setObjectName("radioButtonGapNo")
206
        self.buttonGroup_5.addButton(self.radioButtonGapNo)
207
        self.gridLayout_11.addWidget(self.radioButtonGapNo, 5, 2, 1, 1)
208
        self.gridLayout_5.addLayout(self.gridLayout_11, 0, 0, 1, 1)
209
        self.gridLayout_21.addWidget(self.groupBox, 0, 1, 1, 1)
210
        self.tabWidget.addTab(self.Recognition2, "")
211
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
212

    
213
        self.retranslateUi(ProjectInfoDialog)
214
        self.tabWidget.setCurrentIndex(0)
215
        self.buttonBox.accepted.connect(ProjectInfoDialog.accept)
216
        self.buttonBox.rejected.connect(ProjectInfoDialog.reject)
217
        QtCore.QMetaObject.connectSlotsByName(ProjectInfoDialog)
218
        ProjectInfoDialog.setTabOrder(self.lineEditProjectName, self.lineEditProjectDesc)
219
        ProjectInfoDialog.setTabOrder(self.lineEditProjectDesc, self.lineEditProjectType)
220
        ProjectInfoDialog.setTabOrder(self.lineEditProjectType, self.lineEditProjectMainProcessDesc)
221
        ProjectInfoDialog.setTabOrder(self.lineEditProjectMainProcessDesc, self.lineEditProjectDuration)
222
        ProjectInfoDialog.setTabOrder(self.lineEditProjectDuration, self.lineEditProjectOwner)
223
        ProjectInfoDialog.setTabOrder(self.lineEditProjectOwner, self.lineEditProjectContractor)
224
        ProjectInfoDialog.setTabOrder(self.lineEditProjectContractor, self.lineEditProjectLicensor)
225
        ProjectInfoDialog.setTabOrder(self.lineEditProjectLicensor, self.spinBoxNoPnID)
226
        ProjectInfoDialog.setTabOrder(self.spinBoxNoPnID, self.spinBoxNoEquipment)
227
        ProjectInfoDialog.setTabOrder(self.spinBoxNoEquipment, self.spinBoxNoInstrument)
228
        ProjectInfoDialog.setTabOrder(self.spinBoxNoInstrument, self.spinBoxNoLine)
229
        ProjectInfoDialog.setTabOrder(self.spinBoxNoLine, self.tabWidget)
230
        ProjectInfoDialog.setTabOrder(self.tabWidget, self.comboBoxLineType)
231
        ProjectInfoDialog.setTabOrder(self.comboBoxLineType, self.spinBoxWidth)
232
        ProjectInfoDialog.setTabOrder(self.spinBoxWidth, self.spinBoxMaxArea)
233
        ProjectInfoDialog.setTabOrder(self.spinBoxMaxArea, self.spinBoxLengthToConnectLine)
234
        ProjectInfoDialog.setTabOrder(self.spinBoxLengthToConnectLine, self.spinBoxMinArea)
235
        ProjectInfoDialog.setTabOrder(self.spinBoxMinArea, self.spinBoxHeight)
236
        ProjectInfoDialog.setTabOrder(self.spinBoxHeight, self.smallLineMinLengthSpinBox)
237
        ProjectInfoDialog.setTabOrder(self.smallLineMinLengthSpinBox, self.radioButtonGapYes)
238
        ProjectInfoDialog.setTabOrder(self.radioButtonGapYes, self.radioButtonGapNo)
239
        ProjectInfoDialog.setTabOrder(self.radioButtonGapNo, self.radioButtonDiagonalYes)
240
        ProjectInfoDialog.setTabOrder(self.radioButtonDiagonalYes, self.radioButtonDiagonalNo)
241

    
242
    def retranslateUi(self, ProjectInfoDialog):
243
        _translate = QtCore.QCoreApplication.translate
244
        ProjectInfoDialog.setWindowTitle(_translate("ProjectInfoDialog", "Project Information"))
245
        self.groupBoxText.setTitle(_translate("ProjectInfoDialog", "General"))
246
        self.label_2.setText(_translate("ProjectInfoDialog", "Total number of Instrument : "))
247
        self.label_22.setText(_translate("ProjectInfoDialog", "Number of P&IDs : "))
248
        self.label_44.setText(_translate("ProjectInfoDialog", "Total number of Equipment : "))
249
        self.label_19.setText(_translate("ProjectInfoDialog", "Project Name : "))
250
        self.label_3.setText(_translate("ProjectInfoDialog", "Total number of Line : "))
251
        self.label_20.setText(_translate("ProjectInfoDialog", "Contractor : "))
252
        self.label_43.setText(_translate("ProjectInfoDialog", "Main Process Description : "))
253
        self.label_7.setText(_translate("ProjectInfoDialog", "Description : "))
254
        self.label_37.setText(_translate("ProjectInfoDialog", "Project Duration : "))
255
        self.label_39.setText(_translate("ProjectInfoDialog", "Project Type : "))
256
        self.label_17.setText(_translate("ProjectInfoDialog", "Licensor : "))
257
        self.label_50.setText(_translate("ProjectInfoDialog", "Owner : "))
258
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition), _translate("ProjectInfoDialog", "Informaiton"))
259
        self.groupBox.setTitle(_translate("ProjectInfoDialog", "Line Detection"))
260
        self.label_45.setText(_translate("ProjectInfoDialog", "Detect Without Symbol : "))
261
        self.radioButtonGapYes.setText(_translate("ProjectInfoDialog", "Yes"))
262
        self.label_4.setText(_translate("ProjectInfoDialog", "Ignore Small Object Size : "))
263
        self.label.setText(_translate("ProjectInfoDialog", "Sliding Window Size(WxH) : "))
264
        self.label_35.setText(_translate("ProjectInfoDialog", "Diagonal Detection : "))
265
        self.radioButtonDiagonalYes.setText(_translate("ProjectInfoDialog", "Yes"))
266
        self.label_5.setText(_translate("ProjectInfoDialog", "< Area < "))
267
        self.label_16.setText(_translate("ProjectInfoDialog", "Line Minimum Length : "))
268
        self.label_28.setText(_translate("ProjectInfoDialog", "Default Line Type : "))
269
        self.radioButtonDiagonalNo.setText(_translate("ProjectInfoDialog", "No"))
270
        self.label_9.setText(_translate("ProjectInfoDialog", "Length to Connect Line : "))
271
        self.radioButtonGapNo.setText(_translate("ProjectInfoDialog", "No"))
272
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition2), _translate("ProjectInfoDialog", "Recognition"))
273
import MainWindow_rc
274

    
275

    
276
if __name__ == "__main__":
277
    import sys
278
    app = QtWidgets.QApplication(sys.argv)
279
    ProjectInfoDialog = QtWidgets.QDialog()
280
    ui = Ui_ProjectInfoDialog()
281
    ui.setupUi(ProjectInfoDialog)
282
    ProjectInfoDialog.show()
283
    sys.exit(app.exec_())
클립보드 이미지 추가 (최대 크기: 500 MB)