개정판 84e69cc8
issue #1212 : Mixed(Liquid + Vapor)
Change-Id: I2117a2ddcd82566eac9ad9cb5ddc0433148fd7fd
HYTOS/HYTOS/FittingsDialog.py | ||
---|---|---|
1192 | 1192 |
selected_fitting = '{} x {} = {}'.format(name, count, int(count) * float(k)) |
1193 | 1193 |
self.ui.tableWidget_2K_SelectedFitting.setItem(row, 7, set_table_widget_item_properties(selected_fitting, |
1194 | 1194 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1195 |
|
|
1196 |
self.ui.tableWidget_2K_SelectedFitting.resizeRowsToContents() |
|
1195 | 1197 |
except Exception as ex: |
1196 | 1198 |
from App import App |
1197 | 1199 |
from AppDocData import MessageType |
... | ... | |
1215 | 1217 |
set_table_widget_item_properties( |
1216 | 1218 |
selected_fitting, |
1217 | 1219 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1220 |
|
|
1221 |
self.ui.tableWidget_Equivalent_Length_SelectedFitting.resizeRowsToContents() |
|
1218 | 1222 |
except Exception as ex: |
1219 | 1223 |
from App import App |
1220 | 1224 |
from AppDocData import MessageType |
... | ... | |
1243 | 1247 |
self.ui.tableWidget_CraneK_SelectedFitting.setItem(row, 10, |
1244 | 1248 |
set_table_widget_item_properties(selected_fitting, |
1245 | 1249 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1250 |
|
|
1251 |
self.ui.tableWidget_CraneK_SelectedFitting.resizeRowsToContents() |
|
1246 | 1252 |
except Exception as ex: |
1247 | 1253 |
from App import App |
1248 | 1254 |
from AppDocData import MessageType |
... | ... | |
1313 | 1319 |
self.ui.tableWidget_2K_SelectedFitting.setItem(row, 7, set_table_widget_item_properties(selected_fitting, |
1314 | 1320 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1315 | 1321 |
|
1322 |
self.ui.tableWidget_2K_SelectedFitting.resizeRowsToContents() |
|
1323 |
|
|
1316 | 1324 |
except Exception as ex: |
1317 | 1325 |
from App import App |
1318 | 1326 |
from AppDocData import MessageType |
... | ... | |
1356 | 1364 |
self.ui.tableWidget_Equivalent_Length_SelectedFitting.setItem(row, 7, set_table_widget_item_properties( |
1357 | 1365 |
selected_fitting, |
1358 | 1366 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1367 |
|
|
1368 |
self.ui.tableWidget_Equivalent_Length_SelectedFitting.resizeRowsToContents() |
|
1359 | 1369 |
except Exception as ex: |
1360 | 1370 |
from App import App |
1361 | 1371 |
from AppDocData import MessageType |
... | ... | |
1403 | 1413 |
self.ui.tableWidget_CraneK_SelectedFitting.setItem(row, 10, |
1404 | 1414 |
set_table_widget_item_properties(selected_fitting, |
1405 | 1415 |
Qt.AlignLeft | Qt.AlignVCenter)) |
1416 |
|
|
1417 |
self.ui.tableWidget_CraneK_SelectedFitting.resizeRowsToContents() |
|
1406 | 1418 |
except Exception as ex: |
1407 | 1419 |
from App import App |
1408 | 1420 |
from AppDocData import MessageType |
내보내기 Unified diff