개정판 1447ed3e
fix ui
Change-Id: I88c4c18582c7dba664e74b39e37573f4dcf2082a
DTI_PID/DTI_PID/ItemPropertyTableWidget.py | ||
---|---|---|
384 | 384 |
self.setItem(0, 1, QTableWidgetItem(self.tr("Note No"))) |
385 | 385 |
self.setItem(1, 1, QTableWidgetItem(self.tr("Desc."))) |
386 | 386 |
elif type(item) is QEngineeringLineNoTextItem: |
387 |
self.setRowCount(2) |
|
388 |
self.setItem(0, 1, QTableWidgetItem(self.tr("UID"))) |
|
389 | 387 |
#configs = AppDocData.instance().getConfigs('Project', 'Operation') |
390 | 388 |
_desc = AppDocData.instance().getCurrentProject().desc.split('!-!') |
391 | 389 |
if len(_desc) == 2 and _desc[0] == 'Instrument': |
390 |
self.setRowCount(2) |
|
392 | 391 |
self.setItem(1, 1, QTableWidgetItem(self.tr("Set Batch"))) |
392 |
else: |
|
393 |
self.setRowCount(1) |
|
394 |
self.setItem(0, 1, QTableWidgetItem(self.tr("UID"))) |
|
393 | 395 |
elif type(item) is QEngineeringLineItem: |
394 | 396 |
self.setRowCount(5) |
395 | 397 |
self.setItem(0, 1, QTableWidgetItem(self.tr('UID'))) |
내보내기 Unified diff