개정판 4ba1fc9b
issue #1059: write sheet information to excel
Change-Id: Ica8de1b9759674b07a9238811085820278c83c51
HYTOS/HYTOS/ConfigurationDialog.py | ||
---|---|---|
120 | 120 |
self.ui.comboBox_Length.clear() |
121 | 121 |
self.ui.comboBox_Roughness.clear() |
122 | 122 |
|
123 |
"""load and display sheet history data""" |
|
124 | 123 |
app_doc_data = AppDocData.instance() |
125 |
sheet_histories = app_doc_data.get_sheet_history() |
|
126 |
self.ui.tableWidget.setRowCount(len(sheet_histories)) |
|
127 |
for row in range(len(sheet_histories)): |
|
128 |
item = QTableWidgetItem(sheet_histories[row]['Activity']) |
|
129 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
130 |
self.ui.tableWidget.setItem(row, 0, item) |
|
131 |
item = QTableWidgetItem(sheet_histories[row]['Date']) |
|
132 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
133 |
self.ui.tableWidget.setItem(row, 1, item) |
|
134 |
item = QTableWidgetItem(sheet_histories[row]['User']) |
|
135 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
136 |
self.ui.tableWidget.setItem(row, 2, item) |
|
137 |
item = QTableWidgetItem(sheet_histories[row]['IP']) |
|
138 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
139 |
self.ui.tableWidget.setItem(row, 3, item) |
|
140 |
|
|
141 |
unitsList = AppDocData.instance().getUnits() |
|
124 |
unitsList = app_doc_data.getUnits() |
|
142 | 125 |
for units in unitsList: |
143 | 126 |
uid = units[0] |
144 | 127 |
key = units[1] |
... | ... | |
187 | 170 |
from Drawing import Drawing |
188 | 171 |
|
189 | 172 |
try: |
190 |
appDocData = AppDocData.instance()
|
|
191 |
drawing = appDocData.activeDrawing
|
|
173 |
app_doc_data = AppDocData.instance()
|
|
174 |
drawing = app_doc_data.activeDrawing
|
|
192 | 175 |
if drawing: |
176 |
"""fill up with sheet information""" |
|
177 |
configs = app_doc_data.getAppConfigs('app', 'UserName') |
|
178 |
self.ui.lineEditUserName.setText(configs[0].value) |
|
179 |
configs = app_doc_data.getConfigs('Sheet') |
|
180 |
for config in configs: |
|
181 |
if config.key == 'Date': |
|
182 |
self.ui.lineEditDate.setText(config.value) |
|
183 |
elif config.key == 'Description': |
|
184 |
self.ui.lineEditDescription.setText(config.value) |
|
185 |
elif config.key == 'CheckedBy': |
|
186 |
self.ui.lineEditCheckedBy.setText(config.value) |
|
187 |
elif config.key == 'ApprovedBy': |
|
188 |
self.ui.lineEditApprovedBy.setText(config.value) |
|
189 |
elif config.key == 'RevStatus': |
|
190 |
at = self.ui.comboBoxRevStatus.findText(config.value) |
|
191 |
self.ui.comboBoxRevStatus.setCurrentIndex(at) |
|
192 |
elif config.key == 'JobNo': |
|
193 |
self.ui.lineEditJobNo.setText(config.value) |
|
194 |
elif config.key == 'JobName': |
|
195 |
self.ui.lineEditJobName.setText(config.value) |
|
196 |
|
|
197 |
"""load and display sheet history data""" |
|
198 |
sheet_histories = app_doc_data.get_sheet_history() |
|
199 |
self.ui.tableWidget.setRowCount(len(sheet_histories)) |
|
200 |
for row in range(len(sheet_histories)): |
|
201 |
item = QTableWidgetItem(sheet_histories[row]['Activity']) |
|
202 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
203 |
self.ui.tableWidget.setItem(row, 0, item) |
|
204 |
item = QTableWidgetItem(sheet_histories[row]['Date']) |
|
205 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
206 |
self.ui.tableWidget.setItem(row, 1, item) |
|
207 |
item = QTableWidgetItem(sheet_histories[row]['User']) |
|
208 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
209 |
self.ui.tableWidget.setItem(row, 2, item) |
|
210 |
item = QTableWidgetItem(sheet_histories[row]['IP']) |
|
211 |
item.setFlags(QtCore.Qt.ItemIsEnabled) |
|
212 |
self.ui.tableWidget.setItem(row, 3, item) |
|
213 |
|
|
193 | 214 |
# Control Valve |
194 |
equation = appDocData.getConfigs('Control Valve', 'Equation')
|
|
215 |
equation = app_doc_data.getConfigs('Control Valve', 'Equation')
|
|
195 | 216 |
if len(equation) == 1: |
196 | 217 |
if equation[0].value == 'bd': |
197 | 218 |
self.ui.radioButton_BD.setChecked(True) |
... | ... | |
222 | 243 |
self.ui.radioButton_User.setChecked(True) |
223 | 244 |
|
224 | 245 |
# Calculation |
225 |
liquid_dp_method = appDocData.getConfigs('Calculation', 'Liquid_Drop_Method')
|
|
246 |
liquid_dp_method = app_doc_data.getConfigs('Calculation', 'Liquid_Drop_Method')
|
|
226 | 247 |
|
227 | 248 |
if len(liquid_dp_method) == 1: |
228 | 249 |
if liquid_dp_method[0].value == 'darcy': |
... | ... | |
281 | 302 |
from App import App |
282 | 303 |
from AppDocData import MessageType |
283 | 304 |
|
284 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
305 |
message = 'error occurred({}) in {}:{}'.format(repr(ex), sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
285 | 306 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
286 | 307 |
|
287 | 308 |
|
... | ... | |
295 | 316 |
|
296 | 317 |
configs = [] |
297 | 318 |
|
319 |
# Sheet information |
|
320 |
configs.append(Config('Sheet', 'Date', self.ui.lineEditDate.text())) |
|
321 |
configs.append(Config('Sheet', 'Description', self.ui.lineEditDescription.text())) |
|
322 |
configs.append(Config('Sheet', 'CheckedBy', self.ui.lineEditCheckedBy.text())) |
|
323 |
configs.append(Config('Sheet', 'ApprovedBy', self.ui.lineEditApprovedBy.text())) |
|
324 |
configs.append(Config('Sheet', 'RevStatus', self.ui.comboBoxRevStatus.currentText())) |
|
325 |
configs.append(Config('Sheet', 'JobNo', self.ui.lineEditJobNo.text())) |
|
326 |
configs.append(Config('Sheet', 'JobName', self.ui.lineEditJobName.text())) |
|
327 |
|
|
298 | 328 |
# Units |
299 | 329 |
configs.append(Config('Units', 'Flowrate_Mass', self.ui.comboBox_Flowrate_Mass.currentText())) |
300 | 330 |
configs.append(Config('Units', 'Flowrate_Volume', self.ui.comboBox_Flowrate_Volume.currentText())) |
HYTOS/HYTOS/Configuration_UI.py | ||
---|---|---|
48 | 48 |
self.groupBox_2.setObjectName("groupBox_2") |
49 | 49 |
self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_2) |
50 | 50 |
self.gridLayout_7.setObjectName("gridLayout_7") |
51 |
self.horizontalLayout_8 = QtWidgets.QHBoxLayout() |
|
52 |
self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
|
53 |
self.label_8 = QtWidgets.QLabel(self.groupBox_2) |
|
54 |
self.label_8.setMinimumSize(QtCore.QSize(80, 0)) |
|
51 |
self.gridLayout_16 = QtWidgets.QGridLayout() |
|
52 |
self.gridLayout_16.setObjectName("gridLayout_16") |
|
53 |
self.lineEditUserName = QtWidgets.QLineEdit(self.groupBox_2) |
|
55 | 54 |
font = QtGui.QFont() |
56 | 55 |
font.setFamily("맑은 고딕") |
57 | 56 |
font.setBold(False) |
58 | 57 |
font.setWeight(50) |
59 |
self.label_8.setFont(font) |
|
60 |
self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
61 |
self.label_8.setObjectName("label_8") |
|
62 |
self.horizontalLayout_8.addWidget(self.label_8) |
|
63 |
self.lineEdit_7 = QtWidgets.QLineEdit(self.groupBox_2) |
|
64 |
font = QtGui.QFont() |
|
65 |
font.setFamily("맑은 고딕") |
|
66 |
font.setBold(False) |
|
67 |
font.setWeight(50) |
|
68 |
self.lineEdit_7.setFont(font) |
|
69 |
self.lineEdit_7.setObjectName("lineEdit_7") |
|
70 |
self.horizontalLayout_8.addWidget(self.lineEdit_7) |
|
71 |
self.gridLayout_7.addLayout(self.horizontalLayout_8, 4, 0, 1, 1) |
|
72 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
73 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
74 |
self.label = QtWidgets.QLabel(self.groupBox_2) |
|
75 |
self.label.setMinimumSize(QtCore.QSize(80, 0)) |
|
58 |
self.lineEditUserName.setFont(font) |
|
59 |
self.lineEditUserName.setReadOnly(True) |
|
60 |
self.lineEditUserName.setObjectName("lineEditUserName") |
|
61 |
self.gridLayout_16.addWidget(self.lineEditUserName, 0, 1, 1, 1) |
|
62 |
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
63 |
self.label_3.setMinimumSize(QtCore.QSize(80, 0)) |
|
76 | 64 |
font = QtGui.QFont() |
77 | 65 |
font.setFamily("맑은 고딕") |
78 | 66 |
font.setBold(False) |
79 | 67 |
font.setWeight(50) |
80 |
self.label.setFont(font) |
|
81 |
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
82 |
self.label.setObjectName("label")
|
|
83 |
self.horizontalLayout_2.addWidget(self.label)
|
|
84 |
self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_2)
|
|
68 |
self.label_3.setFont(font)
|
|
69 |
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
70 |
self.label_3.setObjectName("label_3")
|
|
71 |
self.gridLayout_16.addWidget(self.label_3, 1, 0, 1, 1)
|
|
72 |
self.lineEditDate = QtWidgets.QLineEdit(self.groupBox_2)
|
|
85 | 73 |
font = QtGui.QFont() |
86 | 74 |
font.setFamily("맑은 고딕") |
87 | 75 |
font.setBold(False) |
88 | 76 |
font.setWeight(50) |
89 |
self.lineEdit_4.setFont(font) |
|
90 |
self.lineEdit_4.setObjectName("lineEdit_4") |
|
91 |
self.horizontalLayout_2.addWidget(self.lineEdit_4) |
|
92 |
self.gridLayout_7.addLayout(self.horizontalLayout_2, 3, 0, 1, 1) |
|
93 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
|
94 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
95 |
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
96 |
self.label_3.setMinimumSize(QtCore.QSize(80, 0)) |
|
77 |
self.lineEditDate.setFont(font) |
|
78 |
self.lineEditDate.setObjectName("lineEditDate") |
|
79 |
self.gridLayout_16.addWidget(self.lineEditDate, 1, 1, 1, 1) |
|
80 |
self.label_2 = QtWidgets.QLabel(self.groupBox_2) |
|
81 |
self.label_2.setMinimumSize(QtCore.QSize(80, 0)) |
|
97 | 82 |
font = QtGui.QFont() |
98 | 83 |
font.setFamily("맑은 고딕") |
99 | 84 |
font.setBold(False) |
100 | 85 |
font.setWeight(50) |
101 |
self.label_3.setFont(font)
|
|
102 |
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
103 |
self.label_3.setObjectName("label_3")
|
|
104 |
self.horizontalLayout_4.addWidget(self.label_3)
|
|
105 |
self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_2)
|
|
86 |
self.label_2.setFont(font)
|
|
87 |
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
88 |
self.label_2.setObjectName("label_2")
|
|
89 |
self.gridLayout_16.addWidget(self.label_2, 2, 0, 1, 1)
|
|
90 |
self.lineEditDescription = QtWidgets.QLineEdit(self.groupBox_2)
|
|
106 | 91 |
font = QtGui.QFont() |
107 | 92 |
font.setFamily("맑은 고딕") |
108 | 93 |
font.setBold(False) |
109 | 94 |
font.setWeight(50) |
110 |
self.lineEdit_2.setFont(font) |
|
111 |
self.lineEdit_2.setObjectName("lineEdit_2") |
|
112 |
self.horizontalLayout_4.addWidget(self.lineEdit_2) |
|
113 |
self.gridLayout_7.addLayout(self.horizontalLayout_4, 1, 0, 1, 1) |
|
114 |
self.horizontalLayout_9 = QtWidgets.QHBoxLayout() |
|
115 |
self.horizontalLayout_9.setObjectName("horizontalLayout_9") |
|
116 |
self.label_9 = QtWidgets.QLabel(self.groupBox_2) |
|
117 |
self.label_9.setMinimumSize(QtCore.QSize(80, 0)) |
|
95 |
self.lineEditDescription.setFont(font) |
|
96 |
self.lineEditDescription.setObjectName("lineEditDescription") |
|
97 |
self.gridLayout_16.addWidget(self.lineEditDescription, 2, 1, 1, 1) |
|
98 |
self.lineEditCheckedBy = QtWidgets.QLineEdit(self.groupBox_2) |
|
118 | 99 |
font = QtGui.QFont() |
119 | 100 |
font.setFamily("맑은 고딕") |
120 | 101 |
font.setBold(False) |
121 | 102 |
font.setWeight(50) |
122 |
self.label_9.setFont(font)
|
|
123 |
self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
124 |
self.label_9.setObjectName("label_9")
|
|
125 |
self.horizontalLayout_9.addWidget(self.label_9)
|
|
126 |
self.lineEdit_8 = QtWidgets.QLineEdit(self.groupBox_2)
|
|
103 |
self.lineEditCheckedBy.setFont(font)
|
|
104 |
self.lineEditCheckedBy.setObjectName("lineEditCheckedBy")
|
|
105 |
self.gridLayout_16.addWidget(self.lineEditCheckedBy, 3, 1, 1, 1)
|
|
106 |
self.label = QtWidgets.QLabel(self.groupBox_2)
|
|
107 |
self.label.setMinimumSize(QtCore.QSize(80, 0))
|
|
127 | 108 |
font = QtGui.QFont() |
128 | 109 |
font.setFamily("맑은 고딕") |
129 | 110 |
font.setBold(False) |
130 | 111 |
font.setWeight(50) |
131 |
self.lineEdit_8.setFont(font) |
|
132 |
self.lineEdit_8.setObjectName("lineEdit_8") |
|
133 |
self.horizontalLayout_9.addWidget(self.lineEdit_8) |
|
134 |
self.gridLayout_7.addLayout(self.horizontalLayout_9, 5, 0, 1, 1) |
|
135 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
136 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
137 |
self.label_2 = QtWidgets.QLabel(self.groupBox_2) |
|
138 |
self.label_2.setMinimumSize(QtCore.QSize(80, 0)) |
|
112 |
self.label.setFont(font) |
|
113 |
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
114 |
self.label.setObjectName("label") |
|
115 |
self.gridLayout_16.addWidget(self.label, 3, 0, 1, 1) |
|
116 |
self.label_8 = QtWidgets.QLabel(self.groupBox_2) |
|
117 |
self.label_8.setMinimumSize(QtCore.QSize(80, 0)) |
|
139 | 118 |
font = QtGui.QFont() |
140 | 119 |
font.setFamily("맑은 고딕") |
141 | 120 |
font.setBold(False) |
142 | 121 |
font.setWeight(50) |
143 |
self.label_2.setFont(font)
|
|
144 |
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
145 |
self.label_2.setObjectName("label_2")
|
|
146 |
self.horizontalLayout_3.addWidget(self.label_2)
|
|
147 |
self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox_2)
|
|
122 |
self.label_8.setFont(font)
|
|
123 |
self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
124 |
self.label_8.setObjectName("label_8")
|
|
125 |
self.gridLayout_16.addWidget(self.label_8, 4, 0, 1, 1)
|
|
126 |
self.lineEditApprovedBy = QtWidgets.QLineEdit(self.groupBox_2)
|
|
148 | 127 |
font = QtGui.QFont() |
149 | 128 |
font.setFamily("맑은 고딕") |
150 | 129 |
font.setBold(False) |
151 | 130 |
font.setWeight(50) |
152 |
self.lineEdit_3.setFont(font) |
|
153 |
self.lineEdit_3.setObjectName("lineEdit_3") |
|
154 |
self.horizontalLayout_3.addWidget(self.lineEdit_3) |
|
155 |
self.gridLayout_7.addLayout(self.horizontalLayout_3, 2, 0, 1, 1) |
|
156 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout() |
|
157 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
|
131 |
self.lineEditApprovedBy.setFont(font) |
|
132 |
self.lineEditApprovedBy.setObjectName("lineEditApprovedBy") |
|
133 |
self.gridLayout_16.addWidget(self.lineEditApprovedBy, 4, 1, 1, 1) |
|
158 | 134 |
self.label_4 = QtWidgets.QLabel(self.groupBox_2) |
159 | 135 |
self.label_4.setMinimumSize(QtCore.QSize(80, 0)) |
160 | 136 |
font = QtGui.QFont() |
... | ... | |
164 | 140 |
self.label_4.setFont(font) |
165 | 141 |
self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
166 | 142 |
self.label_4.setObjectName("label_4") |
167 |
self.horizontalLayout_5.addWidget(self.label_4) |
|
168 |
self.lineEdit = QtWidgets.QLineEdit(self.groupBox_2) |
|
143 |
self.gridLayout_16.addWidget(self.label_4, 0, 0, 1, 1) |
|
144 |
self.label_9 = QtWidgets.QLabel(self.groupBox_2) |
|
145 |
self.label_9.setMinimumSize(QtCore.QSize(80, 0)) |
|
169 | 146 |
font = QtGui.QFont() |
170 | 147 |
font.setFamily("맑은 고딕") |
171 | 148 |
font.setBold(False) |
172 | 149 |
font.setWeight(50) |
173 |
self.lineEdit.setFont(font) |
|
174 |
self.lineEdit.setObjectName("lineEdit") |
|
175 |
self.horizontalLayout_5.addWidget(self.lineEdit) |
|
176 |
self.gridLayout_7.addLayout(self.horizontalLayout_5, 0, 0, 1, 1) |
|
177 |
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
178 |
self.gridLayout_7.addItem(spacerItem, 6, 0, 1, 1) |
|
150 |
self.label_9.setFont(font) |
|
151 |
self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
152 |
self.label_9.setObjectName("label_9") |
|
153 |
self.gridLayout_16.addWidget(self.label_9, 5, 0, 1, 1) |
|
154 |
self.comboBoxRevStatus = QtWidgets.QComboBox(self.groupBox_2) |
|
155 |
self.comboBoxRevStatus.setEditable(False) |
|
156 |
self.comboBoxRevStatus.setObjectName("comboBoxRevStatus") |
|
157 |
self.comboBoxRevStatus.addItem("") |
|
158 |
self.comboBoxRevStatus.addItem("") |
|
159 |
self.comboBoxRevStatus.addItem("") |
|
160 |
self.comboBoxRevStatus.addItem("") |
|
161 |
self.comboBoxRevStatus.addItem("") |
|
162 |
self.comboBoxRevStatus.addItem("") |
|
163 |
self.comboBoxRevStatus.addItem("") |
|
164 |
self.comboBoxRevStatus.addItem("") |
|
165 |
self.comboBoxRevStatus.addItem("") |
|
166 |
self.comboBoxRevStatus.addItem("") |
|
167 |
self.gridLayout_16.addWidget(self.comboBoxRevStatus, 5, 1, 1, 1) |
|
168 |
self.gridLayout_7.addLayout(self.gridLayout_16, 0, 0, 1, 1) |
|
179 | 169 |
self.gridLayout_5.addWidget(self.groupBox_2, 0, 0, 1, 1) |
180 | 170 |
self.groupBox = QtWidgets.QGroupBox(self.Infomation) |
181 | 171 |
font = QtGui.QFont() |
... | ... | |
186 | 176 |
self.groupBox.setObjectName("groupBox") |
187 | 177 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox) |
188 | 178 |
self.gridLayout_6.setObjectName("gridLayout_6") |
189 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout() |
|
190 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
|
179 |
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
180 |
self.gridLayout_6.addItem(spacerItem, 1, 0, 1, 1) |
|
181 |
self.gridLayout_17 = QtWidgets.QGridLayout() |
|
182 |
self.gridLayout_17.setObjectName("gridLayout_17") |
|
191 | 183 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
192 | 184 |
self.label_5.setMinimumSize(QtCore.QSize(80, 0)) |
193 | 185 |
font = QtGui.QFont() |
... | ... | |
197 | 189 |
self.label_5.setFont(font) |
198 | 190 |
self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
199 | 191 |
self.label_5.setObjectName("label_5") |
200 |
self.horizontalLayout_6.addWidget(self.label_5) |
|
201 |
self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox) |
|
202 |
font = QtGui.QFont() |
|
203 |
font.setFamily("맑은 고딕") |
|
204 |
font.setBold(False) |
|
205 |
font.setWeight(50) |
|
206 |
self.lineEdit_5.setFont(font) |
|
207 |
self.lineEdit_5.setObjectName("lineEdit_5") |
|
208 |
self.horizontalLayout_6.addWidget(self.lineEdit_5) |
|
209 |
self.gridLayout_6.addLayout(self.horizontalLayout_6, 1, 0, 1, 1) |
|
210 |
self.horizontalLayout_7 = QtWidgets.QHBoxLayout() |
|
211 |
self.horizontalLayout_7.setObjectName("horizontalLayout_7") |
|
192 |
self.gridLayout_17.addWidget(self.label_5, 1, 0, 1, 1) |
|
212 | 193 |
self.label_6 = QtWidgets.QLabel(self.groupBox) |
213 | 194 |
self.label_6.setMinimumSize(QtCore.QSize(80, 0)) |
214 | 195 |
font = QtGui.QFont() |
... | ... | |
218 | 199 |
self.label_6.setFont(font) |
219 | 200 |
self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
220 | 201 |
self.label_6.setObjectName("label_6") |
221 |
self.horizontalLayout_7.addWidget(self.label_6)
|
|
222 |
self.radioButton = QtWidgets.QRadioButton(self.groupBox)
|
|
202 |
self.gridLayout_17.addWidget(self.label_6, 0, 0, 1, 1)
|
|
203 |
self.lineEditJobNo = QtWidgets.QLineEdit(self.groupBox)
|
|
223 | 204 |
font = QtGui.QFont() |
224 | 205 |
font.setFamily("맑은 고딕") |
225 | 206 |
font.setBold(False) |
226 | 207 |
font.setWeight(50) |
227 |
self.radioButton.setFont(font) |
|
228 |
self.radioButton.setChecked(True) |
|
229 |
self.radioButton.setObjectName("radioButton") |
|
230 |
self.horizontalLayout_7.addWidget(self.radioButton) |
|
231 |
self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox) |
|
208 |
self.lineEditJobNo.setFont(font) |
|
209 |
self.lineEditJobNo.setObjectName("lineEditJobNo") |
|
210 |
self.gridLayout_17.addWidget(self.lineEditJobNo, 1, 1, 1, 1) |
|
211 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
212 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
213 |
self.radioButtonProject = QtWidgets.QRadioButton(self.groupBox) |
|
214 |
font = QtGui.QFont() |
|
215 |
font.setFamily("맑은 고딕") |
|
216 |
font.setBold(False) |
|
217 |
font.setWeight(50) |
|
218 |
self.radioButtonProject.setFont(font) |
|
219 |
self.radioButtonProject.setChecked(True) |
|
220 |
self.radioButtonProject.setObjectName("radioButtonProject") |
|
221 |
self.horizontalLayout_2.addWidget(self.radioButtonProject) |
|
222 |
self.radioButtonProposal = QtWidgets.QRadioButton(self.groupBox) |
|
232 | 223 |
font = QtGui.QFont() |
233 | 224 |
font.setFamily("맑은 고딕") |
234 | 225 |
font.setBold(False) |
235 | 226 |
font.setWeight(50) |
236 |
self.radioButton_2.setFont(font) |
|
237 |
self.radioButton_2.setObjectName("radioButton_2") |
|
238 |
self.horizontalLayout_7.addWidget(self.radioButton_2) |
|
239 |
self.gridLayout_6.addLayout(self.horizontalLayout_7, 0, 0, 1, 1) |
|
240 |
self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
241 |
self.horizontalLayout.setObjectName("horizontalLayout") |
|
227 |
self.radioButtonProposal.setFont(font) |
|
228 |
self.radioButtonProposal.setObjectName("radioButtonProposal") |
|
229 |
self.horizontalLayout_2.addWidget(self.radioButtonProposal) |
|
230 |
self.gridLayout_17.addLayout(self.horizontalLayout_2, 0, 1, 1, 1) |
|
242 | 231 |
self.label_7 = QtWidgets.QLabel(self.groupBox) |
243 | 232 |
self.label_7.setMinimumSize(QtCore.QSize(80, 0)) |
244 | 233 |
font = QtGui.QFont() |
... | ... | |
248 | 237 |
self.label_7.setFont(font) |
249 | 238 |
self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
250 | 239 |
self.label_7.setObjectName("label_7") |
251 |
self.horizontalLayout.addWidget(self.label_7)
|
|
252 |
self.lineEdit_6 = QtWidgets.QLineEdit(self.groupBox)
|
|
240 |
self.gridLayout_17.addWidget(self.label_7, 2, 0, 1, 1)
|
|
241 |
self.lineEditJobName = QtWidgets.QLineEdit(self.groupBox)
|
|
253 | 242 |
font = QtGui.QFont() |
254 | 243 |
font.setFamily("맑은 고딕") |
255 | 244 |
font.setBold(False) |
256 | 245 |
font.setWeight(50) |
257 |
self.lineEdit_6.setFont(font) |
|
258 |
self.lineEdit_6.setObjectName("lineEdit_6") |
|
259 |
self.horizontalLayout.addWidget(self.lineEdit_6) |
|
260 |
self.gridLayout_6.addLayout(self.horizontalLayout, 2, 0, 1, 1) |
|
261 |
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
262 |
self.gridLayout_6.addItem(spacerItem1, 3, 0, 1, 1) |
|
246 |
self.lineEditJobName.setFont(font) |
|
247 |
self.lineEditJobName.setObjectName("lineEditJobName") |
|
248 |
self.gridLayout_17.addWidget(self.lineEditJobName, 2, 1, 1, 1) |
|
249 |
self.gridLayout_6.addLayout(self.gridLayout_17, 0, 0, 1, 1) |
|
263 | 250 |
self.gridLayout_5.addWidget(self.groupBox, 0, 1, 1, 1) |
264 | 251 |
self.verticalLayout.addLayout(self.gridLayout_5) |
265 | 252 |
self.gridLayout_2.addLayout(self.verticalLayout, 1, 0, 1, 1) |
... | ... | |
281 | 268 |
font.setBold(False) |
282 | 269 |
font.setWeight(50) |
283 | 270 |
self.tableWidget.setFont(font) |
271 |
self.tableWidget.setColumnCount(4) |
|
284 | 272 |
self.tableWidget.setObjectName("tableWidget") |
285 |
self.tableWidget.setColumnCount(0) |
|
286 | 273 |
self.tableWidget.setRowCount(0) |
287 | 274 |
self.gridLayout_9.addWidget(self.tableWidget, 0, 0, 1, 1) |
288 | 275 |
self.gridLayout_8.addWidget(self.groupBox_3, 0, 0, 1, 1) |
... | ... | |
394 | 381 |
self.comboBox_Length.setObjectName("comboBox_Length") |
395 | 382 |
self.horizontalLayout_19.addWidget(self.comboBox_Length) |
396 | 383 |
self.gridLayout_10.addLayout(self.horizontalLayout_19, 3, 0, 1, 1) |
397 |
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
398 |
self.gridLayout_10.addItem(spacerItem2, 5, 0, 1, 1)
|
|
384 |
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
385 |
self.gridLayout_10.addItem(spacerItem1, 5, 0, 1, 1)
|
|
399 | 386 |
self.gridLayout_4.addLayout(self.gridLayout_10, 2, 1, 1, 1) |
400 | 387 |
self.horizontalLayout_16 = QtWidgets.QHBoxLayout() |
401 | 388 |
self.horizontalLayout_16.setObjectName("horizontalLayout_16") |
... | ... | |
430 | 417 |
self.label_PressureUnit.setText("") |
431 | 418 |
self.label_PressureUnit.setObjectName("label_PressureUnit") |
432 | 419 |
self.horizontalLayout_16.addWidget(self.label_PressureUnit) |
433 |
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
434 |
self.horizontalLayout_16.addItem(spacerItem3)
|
|
420 |
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
421 |
self.horizontalLayout_16.addItem(spacerItem2)
|
|
435 | 422 |
self.gridLayout_4.addLayout(self.horizontalLayout_16, 0, 0, 1, 2) |
436 | 423 |
self.gridLayout_11 = QtWidgets.QGridLayout() |
437 | 424 |
self.gridLayout_11.setObjectName("gridLayout_11") |
... | ... | |
453 | 440 |
self.comboBox_Density.setObjectName("comboBox_Density") |
454 | 441 |
self.horizontalLayout_13.addWidget(self.comboBox_Density) |
455 | 442 |
self.gridLayout_11.addLayout(self.horizontalLayout_13, 3, 0, 1, 1) |
456 |
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
457 |
self.gridLayout_11.addItem(spacerItem4, 7, 0, 1, 1)
|
|
443 |
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
444 |
self.gridLayout_11.addItem(spacerItem3, 7, 0, 1, 1)
|
|
458 | 445 |
self.horizontalLayout_22 = QtWidgets.QHBoxLayout() |
459 | 446 |
self.horizontalLayout_22.setObjectName("horizontalLayout_22") |
460 | 447 |
self.label_23 = QtWidgets.QLabel(self.groupBoxText_2) |
... | ... | |
546 | 533 |
self.horizontalLayout_14.addWidget(self.comboBox_Flowrate_Volume) |
547 | 534 |
self.gridLayout_11.addLayout(self.horizontalLayout_14, 2, 0, 1, 1) |
548 | 535 |
self.gridLayout_4.addLayout(self.gridLayout_11, 2, 0, 1, 1) |
549 |
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
550 |
self.gridLayout_4.addItem(spacerItem5, 1, 0, 1, 1)
|
|
536 |
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
537 |
self.gridLayout_4.addItem(spacerItem4, 1, 0, 1, 1)
|
|
551 | 538 |
self.gridLayout.addWidget(self.groupBoxText_2, 0, 0, 1, 1) |
552 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
553 |
self.gridLayout.addItem(spacerItem6, 2, 0, 1, 1)
|
|
539 |
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
540 |
self.gridLayout.addItem(spacerItem5, 2, 0, 1, 1)
|
|
554 | 541 |
self.groupBox_5 = QtWidgets.QGroupBox(self.Unit) |
555 | 542 |
font = QtGui.QFont() |
556 | 543 |
font.setBold(True) |
... | ... | |
1138 | 1125 |
self.radioButton_Hagen.setObjectName("radioButton_Hagen") |
1139 | 1126 |
self.gridLayout_14.addWidget(self.radioButton_Hagen, 2, 0, 1, 1) |
1140 | 1127 |
self.verticalLayout_2.addWidget(self.groupBox_4) |
1141 |
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
1142 |
self.verticalLayout_2.addItem(spacerItem7)
|
|
1128 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
1129 |
self.verticalLayout_2.addItem(spacerItem6)
|
|
1143 | 1130 |
self.gridLayout_12.addLayout(self.verticalLayout_2, 0, 0, 1, 1) |
1144 | 1131 |
self.tabWidget.addTab(self.tab, "") |
1145 | 1132 |
self.gridLayout_15.addWidget(self.tabWidget, 1, 0, 1, 1) |
... | ... | |
1149 | 1136 |
self.buttonBox.accepted.connect(ConfigurationDialog.accept) |
1150 | 1137 |
self.buttonBox.rejected.connect(ConfigurationDialog.reject) |
1151 | 1138 |
QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog) |
1152 |
ConfigurationDialog.setTabOrder(self.lineEdit, self.lineEdit_2) |
|
1153 |
ConfigurationDialog.setTabOrder(self.lineEdit_2, self.lineEdit_3) |
|
1154 |
ConfigurationDialog.setTabOrder(self.lineEdit_3, self.lineEdit_4) |
|
1155 |
ConfigurationDialog.setTabOrder(self.lineEdit_4, self.lineEdit_7) |
|
1156 |
ConfigurationDialog.setTabOrder(self.lineEdit_7, self.lineEdit_8) |
|
1157 |
ConfigurationDialog.setTabOrder(self.lineEdit_8, self.radioButton) |
|
1158 |
ConfigurationDialog.setTabOrder(self.radioButton, self.radioButton_2) |
|
1159 |
ConfigurationDialog.setTabOrder(self.radioButton_2, self.lineEdit_5) |
|
1160 |
ConfigurationDialog.setTabOrder(self.lineEdit_5, self.lineEdit_6) |
|
1161 |
ConfigurationDialog.setTabOrder(self.lineEdit_6, self.tableWidget) |
|
1162 | 1139 |
ConfigurationDialog.setTabOrder(self.tableWidget, self.lineEdit_CurrentBarometricPressure) |
1163 | 1140 |
ConfigurationDialog.setTabOrder(self.lineEdit_CurrentBarometricPressure, self.comboBox_Flowrate_Mass) |
1164 | 1141 |
ConfigurationDialog.setTabOrder(self.comboBox_Flowrate_Mass, self.comboBox_Flowrate_Volume) |
... | ... | |
1176 | 1153 |
_translate = QtCore.QCoreApplication.translate |
1177 | 1154 |
ConfigurationDialog.setWindowTitle(_translate("ConfigurationDialog", "Configuration")) |
1178 | 1155 |
self.groupBox_2.setTitle(_translate("ConfigurationDialog", "Sheet Information")) |
1179 |
self.label_8.setText(_translate("ConfigurationDialog", "Approved By :")) |
|
1180 |
self.label.setText(_translate("ConfigurationDialog", "Checked By :")) |
|
1181 | 1156 |
self.label_3.setText(_translate("ConfigurationDialog", "Date :")) |
1182 |
self.label_9.setText(_translate("ConfigurationDialog", "Rev. Status :")) |
|
1183 | 1157 |
self.label_2.setText(_translate("ConfigurationDialog", "Description :")) |
1158 |
self.label.setText(_translate("ConfigurationDialog", "Checked By :")) |
|
1159 |
self.label_8.setText(_translate("ConfigurationDialog", "Approved By :")) |
|
1184 | 1160 |
self.label_4.setText(_translate("ConfigurationDialog", "Made By :")) |
1161 |
self.label_9.setText(_translate("ConfigurationDialog", "Rev. Status :")) |
|
1162 |
self.comboBoxRevStatus.setItemText(0, _translate("ConfigurationDialog", "0")) |
|
1163 |
self.comboBoxRevStatus.setItemText(1, _translate("ConfigurationDialog", "1")) |
|
1164 |
self.comboBoxRevStatus.setItemText(2, _translate("ConfigurationDialog", "2")) |
|
1165 |
self.comboBoxRevStatus.setItemText(3, _translate("ConfigurationDialog", "3")) |
|
1166 |
self.comboBoxRevStatus.setItemText(4, _translate("ConfigurationDialog", "4")) |
|
1167 |
self.comboBoxRevStatus.setItemText(5, _translate("ConfigurationDialog", "5")) |
|
1168 |
self.comboBoxRevStatus.setItemText(6, _translate("ConfigurationDialog", "6")) |
|
1169 |
self.comboBoxRevStatus.setItemText(7, _translate("ConfigurationDialog", "7")) |
|
1170 |
self.comboBoxRevStatus.setItemText(8, _translate("ConfigurationDialog", "8")) |
|
1171 |
self.comboBoxRevStatus.setItemText(9, _translate("ConfigurationDialog", "9")) |
|
1185 | 1172 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Job Information")) |
1186 | 1173 |
self.label_5.setText(_translate("ConfigurationDialog", "Job No :")) |
1187 | 1174 |
self.label_6.setText(_translate("ConfigurationDialog", "Type :")) |
1188 |
self.radioButton.setText(_translate("ConfigurationDialog", "Project")) |
|
1189 |
self.radioButton_2.setText(_translate("ConfigurationDialog", "Proposal"))
|
|
1175 |
self.radioButtonProject.setText(_translate("ConfigurationDialog", "Project"))
|
|
1176 |
self.radioButtonProposal.setText(_translate("ConfigurationDialog", "Proposal"))
|
|
1190 | 1177 |
self.label_7.setText(_translate("ConfigurationDialog", "Job Name :")) |
1191 | 1178 |
self.groupBox_3.setTitle(_translate("ConfigurationDialog", "Sheet History")) |
1192 | 1179 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Infomation), _translate("ConfigurationDialog", "Information")) |
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
801 | 801 |
cal_image.width *= x_scale |
802 | 802 |
cal_image.height *= y_scale |
803 | 803 |
ws.add_image(cal_image, 'C4') |
804 |
|
|
805 |
"""write sheet information""" |
|
806 |
app_doc_data = AppDocData.instance() |
|
807 |
configs = app_doc_data.getConfigs('Sheet') |
|
808 |
for config in configs: |
|
809 |
if config.key == 'JobNo' and config.value: |
|
810 |
ws['Z58'] = config.value |
|
811 |
elif config.key == 'RevStatus' and config.value: |
|
812 |
ws['Y68'] = config.value |
|
813 |
elif config.key == 'CheckedBy' and config.value: |
|
814 |
ws['Z78'] = config.value |
|
815 |
elif config.key == 'ApprovedBy' and config.value: |
|
816 |
ws['Z79'] = config.value |
|
817 |
|
|
818 |
configs = app_doc_data.getAppConfigs('app', 'UserName') |
|
819 |
if configs and configs[0].value: |
|
820 |
ws['Z77'] = configs[0].value |
|
821 |
"""up to here""" |
|
822 |
|
|
804 | 823 |
wb.save(filename=name) |
805 | 824 |
|
806 | 825 |
QMessageBox.information(self, self.tr('Information'), self.tr('Report is done')) |
HYTOS/HYTOS/UI/Configuration.ui | ||
---|---|---|
62 | 62 |
<string>Sheet Information</string> |
63 | 63 |
</property> |
64 | 64 |
<layout class="QGridLayout" name="gridLayout_7"> |
65 |
<item row="4" column="0"> |
|
66 |
<layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
67 |
<item> |
|
68 |
<widget class="QLabel" name="label_8"> |
|
65 |
<item row="0" column="0"> |
|
66 |
<layout class="QGridLayout" name="gridLayout_16"> |
|
67 |
<item row="0" column="1"> |
|
68 |
<widget class="QLineEdit" name="lineEditUserName"> |
|
69 |
<property name="font"> |
|
70 |
<font> |
|
71 |
<family>맑은 고딕</family> |
|
72 |
<weight>50</weight> |
|
73 |
<bold>false</bold> |
|
74 |
</font> |
|
75 |
</property> |
|
76 |
<property name="readOnly"> |
|
77 |
<bool>true</bool> |
|
78 |
</property> |
|
79 |
</widget> |
|
80 |
</item> |
|
81 |
<item row="1" column="0"> |
|
82 |
<widget class="QLabel" name="label_3"> |
|
69 | 83 |
<property name="minimumSize"> |
70 | 84 |
<size> |
71 | 85 |
<width>80</width> |
... | ... | |
80 | 94 |
</font> |
81 | 95 |
</property> |
82 | 96 |
<property name="text"> |
83 |
<string>Approved By :</string>
|
|
97 |
<string>Date :</string>
|
|
84 | 98 |
</property> |
85 | 99 |
<property name="alignment"> |
86 | 100 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
87 | 101 |
</property> |
88 | 102 |
</widget> |
89 | 103 |
</item> |
90 |
<item> |
|
91 |
<widget class="QLineEdit" name="lineEdit_7">
|
|
104 |
<item row="1" column="1">
|
|
105 |
<widget class="QLineEdit" name="lineEditDate">
|
|
92 | 106 |
<property name="font"> |
93 | 107 |
<font> |
94 | 108 |
<family>맑은 고딕</family> |
... | ... | |
98 | 112 |
</property> |
99 | 113 |
</widget> |
100 | 114 |
</item> |
101 |
</layout> |
|
102 |
</item> |
|
103 |
<item row="3" column="0"> |
|
104 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
105 |
<item> |
|
106 |
<widget class="QLabel" name="label"> |
|
115 |
<item row="2" column="0"> |
|
116 |
<widget class="QLabel" name="label_2"> |
|
107 | 117 |
<property name="minimumSize"> |
108 | 118 |
<size> |
109 | 119 |
<width>80</width> |
... | ... | |
118 | 128 |
</font> |
119 | 129 |
</property> |
120 | 130 |
<property name="text"> |
121 |
<string>Checked By :</string>
|
|
131 |
<string>Description :</string>
|
|
122 | 132 |
</property> |
123 | 133 |
<property name="alignment"> |
124 | 134 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
125 | 135 |
</property> |
126 | 136 |
</widget> |
127 | 137 |
</item> |
128 |
<item> |
|
129 |
<widget class="QLineEdit" name="lineEdit_4">
|
|
138 |
<item row="2" column="1">
|
|
139 |
<widget class="QLineEdit" name="lineEditDescription">
|
|
130 | 140 |
<property name="font"> |
131 | 141 |
<font> |
132 | 142 |
<family>맑은 고딕</family> |
... | ... | |
136 | 146 |
</property> |
137 | 147 |
</widget> |
138 | 148 |
</item> |
139 |
</layout> |
|
140 |
</item> |
|
141 |
<item row="1" column="0"> |
|
142 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
143 |
<item> |
|
144 |
<widget class="QLabel" name="label_3"> |
|
149 |
<item row="3" column="1"> |
|
150 |
<widget class="QLineEdit" name="lineEditCheckedBy"> |
|
151 |
<property name="font"> |
|
152 |
<font> |
|
153 |
<family>맑은 고딕</family> |
|
154 |
<weight>50</weight> |
|
155 |
<bold>false</bold> |
|
156 |
</font> |
|
157 |
</property> |
|
158 |
</widget> |
|
159 |
</item> |
|
160 |
<item row="3" column="0"> |
|
161 |
<widget class="QLabel" name="label"> |
|
145 | 162 |
<property name="minimumSize"> |
146 | 163 |
<size> |
147 | 164 |
<width>80</width> |
... | ... | |
156 | 173 |
</font> |
157 | 174 |
</property> |
158 | 175 |
<property name="text"> |
159 |
<string>Date :</string>
|
|
176 |
<string>Checked By :</string>
|
|
160 | 177 |
</property> |
161 | 178 |
<property name="alignment"> |
162 | 179 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
163 | 180 |
</property> |
164 | 181 |
</widget> |
165 | 182 |
</item> |
166 |
<item> |
|
167 |
<widget class="QLineEdit" name="lineEdit_2"> |
|
168 |
<property name="font"> |
|
169 |
<font> |
|
170 |
<family>맑은 고딕</family> |
|
171 |
<weight>50</weight> |
|
172 |
<bold>false</bold> |
|
173 |
</font> |
|
174 |
</property> |
|
175 |
</widget> |
|
176 |
</item> |
|
177 |
</layout> |
|
178 |
</item> |
|
179 |
<item row="5" column="0"> |
|
180 |
<layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
181 |
<item> |
|
182 |
<widget class="QLabel" name="label_9"> |
|
183 |
<item row="4" column="0"> |
|
184 |
<widget class="QLabel" name="label_8"> |
|
183 | 185 |
<property name="minimumSize"> |
184 | 186 |
<size> |
185 | 187 |
<width>80</width> |
... | ... | |
194 | 196 |
</font> |
195 | 197 |
</property> |
196 | 198 |
<property name="text"> |
197 |
<string>Rev. Status :</string>
|
|
199 |
<string>Approved By :</string>
|
|
198 | 200 |
</property> |
199 | 201 |
<property name="alignment"> |
200 | 202 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
201 | 203 |
</property> |
202 | 204 |
</widget> |
203 | 205 |
</item> |
204 |
<item> |
|
205 |
<widget class="QLineEdit" name="lineEdit_8">
|
|
206 |
<item row="4" column="1">
|
|
207 |
<widget class="QLineEdit" name="lineEditApprovedBy">
|
|
206 | 208 |
<property name="font"> |
207 | 209 |
<font> |
208 | 210 |
<family>맑은 고딕</family> |
... | ... | |
212 | 214 |
</property> |
213 | 215 |
</widget> |
214 | 216 |
</item> |
215 |
</layout> |
|
216 |
</item> |
|
217 |
<item row="2" column="0"> |
|
218 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
219 |
<item> |
|
220 |
<widget class="QLabel" name="label_2"> |
|
217 |
<item row="0" column="0"> |
|
218 |
<widget class="QLabel" name="label_4"> |
|
221 | 219 |
<property name="minimumSize"> |
222 | 220 |
<size> |
223 | 221 |
<width>80</width> |
... | ... | |
232 | 230 |
</font> |
233 | 231 |
</property> |
234 | 232 |
<property name="text"> |
235 |
<string>Description :</string>
|
|
233 |
<string>Made By :</string>
|
|
236 | 234 |
</property> |
237 | 235 |
<property name="alignment"> |
238 | 236 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
239 | 237 |
</property> |
240 | 238 |
</widget> |
241 | 239 |
</item> |
242 |
<item> |
|
243 |
<widget class="QLineEdit" name="lineEdit_3"> |
|
244 |
<property name="font"> |
|
245 |
<font> |
|
246 |
<family>맑은 고딕</family> |
|
247 |
<weight>50</weight> |
|
248 |
<bold>false</bold> |
|
249 |
</font> |
|
250 |
</property> |
|
251 |
</widget> |
|
252 |
</item> |
|
253 |
</layout> |
|
254 |
</item> |
|
255 |
<item row="0" column="0"> |
|
256 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
257 |
<item> |
|
258 |
<widget class="QLabel" name="label_4"> |
|
240 |
<item row="5" column="0"> |
|
241 |
<widget class="QLabel" name="label_9"> |
|
259 | 242 |
<property name="minimumSize"> |
260 | 243 |
<size> |
261 | 244 |
<width>80</width> |
... | ... | |
270 | 253 |
</font> |
271 | 254 |
</property> |
272 | 255 |
<property name="text"> |
273 |
<string>Made By :</string>
|
|
256 |
<string>Rev. Status :</string>
|
|
274 | 257 |
</property> |
275 | 258 |
<property name="alignment"> |
276 | 259 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
277 | 260 |
</property> |
278 | 261 |
</widget> |
279 | 262 |
</item> |
280 |
<item> |
|
281 |
<widget class="QLineEdit" name="lineEdit"> |
|
282 |
<property name="font"> |
|
283 |
<font> |
|
284 |
<family>맑은 고딕</family> |
|
285 |
<weight>50</weight> |
|
286 |
<bold>false</bold> |
|
287 |
</font> |
|
263 |
<item row="5" column="1"> |
|
264 |
<widget class="QComboBox" name="comboBoxRevStatus"> |
|
265 |
<property name="editable"> |
|
266 |
<bool>false</bool> |
|
288 | 267 |
</property> |
268 |
<item> |
|
269 |
<property name="text"> |
|
270 |
<string>0</string> |
|
271 |
</property> |
|
272 |
</item> |
|
273 |
<item> |
|
274 |
<property name="text"> |
|
275 |
<string>1</string> |
|
276 |
</property> |
|
277 |
</item> |
|
278 |
<item> |
|
279 |
<property name="text"> |
|
280 |
<string>2</string> |
|
281 |
</property> |
|
282 |
</item> |
|
283 |
<item> |
|
284 |
<property name="text"> |
|
285 |
<string>3</string> |
|
286 |
</property> |
|
287 |
</item> |
|
288 |
<item> |
|
289 |
<property name="text"> |
|
290 |
<string>4</string> |
|
291 |
</property> |
|
292 |
</item> |
|
293 |
<item> |
|
294 |
<property name="text"> |
|
295 |
<string>5</string> |
|
296 |
</property> |
|
297 |
</item> |
|
298 |
<item> |
|
299 |
<property name="text"> |
|
300 |
<string>6</string> |
|
301 |
</property> |
|
302 |
</item> |
|
303 |
<item> |
|
304 |
<property name="text"> |
|
305 |
<string>7</string> |
|
306 |
</property> |
|
307 |
</item> |
|
308 |
<item> |
|
309 |
<property name="text"> |
|
310 |
<string>8</string> |
|
311 |
</property> |
|
312 |
</item> |
|
313 |
<item> |
|
314 |
<property name="text"> |
|
315 |
<string>9</string> |
|
316 |
</property> |
|
317 |
</item> |
|
289 | 318 |
</widget> |
290 | 319 |
</item> |
291 | 320 |
</layout> |
292 | 321 |
</item> |
293 |
<item row="6" column="0"> |
|
294 |
<spacer name="verticalSpacer"> |
|
295 |
<property name="orientation"> |
|
296 |
<enum>Qt::Vertical</enum> |
|
297 |
</property> |
|
298 |
<property name="sizeHint" stdset="0"> |
|
299 |
<size> |
|
300 |
<width>20</width> |
|
301 |
<height>40</height> |
|
302 |
</size> |
|
303 |
</property> |
|
304 |
</spacer> |
|
305 |
</item> |
|
306 | 322 |
</layout> |
307 | 323 |
</widget> |
308 | 324 |
</item> |
... | ... | |
320 | 336 |
</property> |
321 | 337 |
<layout class="QGridLayout" name="gridLayout_6"> |
322 | 338 |
<item row="1" column="0"> |
323 |
<layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
324 |
<item> |
|
339 |
<spacer name="verticalSpacer_2"> |
|
340 |
<property name="orientation"> |
|
341 |
<enum>Qt::Vertical</enum> |
|
342 |
</property> |
|
343 |
<property name="sizeHint" stdset="0"> |
|
344 |
<size> |
|
345 |
<width>20</width> |
|
346 |
<height>40</height> |
|
347 |
</size> |
|
348 |
</property> |
|
349 |
</spacer> |
|
350 |
</item> |
|
351 |
<item row="0" column="0"> |
|
352 |
<layout class="QGridLayout" name="gridLayout_17"> |
|
353 |
<item row="1" column="0"> |
|
325 | 354 |
<widget class="QLabel" name="label_5"> |
326 | 355 |
<property name="minimumSize"> |
327 | 356 |
<size> |
... | ... | |
344 | 373 |
</property> |
345 | 374 |
</widget> |
346 | 375 |
</item> |
347 |
<item> |
|
348 |
<widget class="QLineEdit" name="lineEdit_5"> |
|
349 |
<property name="font"> |
|
350 |
<font> |
|
351 |
<family>맑은 고딕</family> |
|
352 |
<weight>50</weight> |
|
353 |
<bold>false</bold> |
|
354 |
</font> |
|
355 |
</property> |
|
356 |
</widget> |
|
357 |
</item> |
|
358 |
</layout> |
|
359 |
</item> |
|
360 |
<item row="0" column="0"> |
|
361 |
<layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
362 |
<item> |
|
376 |
<item row="0" column="0"> |
|
363 | 377 |
<widget class="QLabel" name="label_6"> |
364 | 378 |
<property name="minimumSize"> |
365 | 379 |
<size> |
... | ... | |
382 | 396 |
</property> |
383 | 397 |
</widget> |
384 | 398 |
</item> |
385 |
<item> |
|
386 |
<widget class="QRadioButton" name="radioButton">
|
|
399 |
<item row="1" column="1">
|
|
400 |
<widget class="QLineEdit" name="lineEditJobNo">
|
|
387 | 401 |
<property name="font"> |
388 | 402 |
<font> |
389 | 403 |
<family>맑은 고딕</family> |
... | ... | |
391 | 405 |
<bold>false</bold> |
392 | 406 |
</font> |
393 | 407 |
</property> |
394 |
<property name="text"> |
|
395 |
<string>Project</string> |
|
396 |
</property> |
|
397 |
<property name="checked"> |
|
398 |
<bool>true</bool> |
|
399 |
</property> |
|
400 | 408 |
</widget> |
401 | 409 |
</item> |
402 |
<item> |
|
403 |
<widget class="QRadioButton" name="radioButton_2"> |
|
404 |
<property name="font"> |
|
405 |
<font> |
|
406 |
<family>맑은 고딕</family> |
|
407 |
<weight>50</weight> |
|
408 |
<bold>false</bold> |
|
409 |
</font> |
|
410 |
</property> |
|
411 |
<property name="text"> |
|
412 |
<string>Proposal</string> |
|
413 |
</property> |
|
414 |
</widget> |
|
410 |
<item row="0" column="1"> |
|
411 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
412 |
<item> |
|
413 |
<widget class="QRadioButton" name="radioButtonProject"> |
|
414 |
<property name="font"> |
|
415 |
<font> |
|
416 |
<family>맑은 고딕</family> |
|
417 |
<weight>50</weight> |
|
418 |
<bold>false</bold> |
|
419 |
</font> |
|
420 |
</property> |
|
421 |
<property name="text"> |
|
422 |
<string>Project</string> |
|
423 |
</property> |
|
424 |
<property name="checked"> |
|
425 |
<bool>true</bool> |
|
426 |
</property> |
|
427 |
</widget> |
|
428 |
</item> |
|
429 |
<item> |
|
430 |
<widget class="QRadioButton" name="radioButtonProposal"> |
|
431 |
<property name="font"> |
|
432 |
<font> |
|
433 |
<family>맑은 고딕</family> |
|
434 |
<weight>50</weight> |
|
435 |
<bold>false</bold> |
|
436 |
</font> |
|
437 |
</property> |
|
438 |
<property name="text"> |
|
439 |
<string>Proposal</string> |
|
440 |
</property> |
|
441 |
</widget> |
|
442 |
</item> |
|
443 |
</layout> |
|
415 | 444 |
</item> |
416 |
</layout> |
|
417 |
</item> |
|
418 |
<item row="2" column="0"> |
|
419 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
420 |
<item> |
|
445 |
<item row="2" column="0"> |
|
421 | 446 |
<widget class="QLabel" name="label_7"> |
422 | 447 |
<property name="minimumSize"> |
423 | 448 |
<size> |
... | ... | |
440 | 465 |
</property> |
441 | 466 |
</widget> |
442 | 467 |
</item> |
443 |
<item> |
|
444 |
<widget class="QLineEdit" name="lineEdit_6">
|
|
468 |
<item row="2" column="1">
|
|
469 |
<widget class="QLineEdit" name="lineEditJobName">
|
|
445 | 470 |
<property name="font"> |
446 | 471 |
<font> |
447 | 472 |
<family>맑은 고딕</family> |
... | ... | |
453 | 478 |
</item> |
454 | 479 |
</layout> |
455 | 480 |
</item> |
456 |
<item row="3" column="0"> |
|
457 |
<spacer name="verticalSpacer_2"> |
|
458 |
<property name="orientation"> |
|
459 |
<enum>Qt::Vertical</enum> |
|
460 |
</property> |
|
461 |
<property name="sizeHint" stdset="0"> |
|
462 |
<size> |
|
463 |
<width>20</width> |
|
464 |
<height>40</height> |
|
465 |
</size> |
|
466 |
</property> |
|
467 |
</spacer> |
|
468 |
</item> |
|
469 | 481 |
</layout> |
470 | 482 |
</widget> |
471 | 483 |
</item> |
... | ... | |
2493 | 2505 |
</layout> |
2494 | 2506 |
</widget> |
2495 | 2507 |
<tabstops> |
2496 |
<tabstop>lineEdit</tabstop> |
|
2497 |
<tabstop>lineEdit_2</tabstop> |
|
2498 |
<tabstop>lineEdit_3</tabstop> |
|
2499 |
<tabstop>lineEdit_4</tabstop> |
|
2500 |
<tabstop>lineEdit_7</tabstop> |
|
2501 |
<tabstop>lineEdit_8</tabstop> |
|
2502 |
<tabstop>radioButton</tabstop> |
|
2503 |
<tabstop>radioButton_2</tabstop> |
|
2504 |
<tabstop>lineEdit_5</tabstop> |
|
2505 |
<tabstop>lineEdit_6</tabstop> |
|
2506 | 2508 |
<tabstop>tableWidget</tabstop> |
2507 | 2509 |
<tabstop>lineEdit_CurrentBarometricPressure</tabstop> |
2508 | 2510 |
<tabstop>comboBox_Flowrate_Mass</tabstop> |
내보내기 Unified diff