개정판 d3b7de6d
issue #481: text data list and validation can be sorted
Change-Id: I1a59b70d486681812f036324ad23b3e323678df0
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
280 | 280 |
self.tableWidgetInconsistency.setEditTriggers(QAbstractItemView.NoEditTriggers) |
281 | 281 |
self.tableWidgetInconsistency.itemClicked.connect(self.inconsistencyItemClickEvent) |
282 | 282 |
self.tableWidgetInconsistency.keyPressEvent = self.inconsistencyTableKeyPressEvent |
283 |
self.tableWidgetInconsistency.setSortingEnabled(True) |
|
283 | 284 |
|
284 | 285 |
def eventFilter(self, source, event): |
285 | 286 |
""" |
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py | ||
---|---|---|
1029 | 1029 |
error = SymbolSvgItem.createItem('Error', dataPath) |
1030 | 1030 |
error.setPosition(connector.center()) |
1031 | 1031 |
error.parent = self |
1032 |
error.msg = _translate('disconnected from another side', 'disconnected from another side')
|
|
1032 |
error.msg = _translate('disconnected from opposite side', 'disconnected from opposite side')
|
|
1033 | 1033 |
error.setToolTip(error.msg) |
1034 | 1034 |
error.area = 'Drawing' |
1035 | 1035 |
error.name = 'Error' |
DTI_PID/DTI_PID/TextDataListDialog.py | ||
---|---|---|
28 | 28 |
# for List |
29 | 29 |
self.ui.tableWidget.setSelectionMode(QAbstractItemView.SingleSelection) |
30 | 30 |
self.ui.tableWidget.setColumnCount(2) |
31 |
self.ui.tableWidget.setSortingEnabled(True) |
|
31 | 32 |
|
32 | 33 |
## column header 명 설정 |
33 | 34 |
self.ui.tableWidget.setHorizontalHeaderLabels([self.tr('Text Image'), self.tr('Recognized Text')]) |
내보내기 Unified diff