프로젝트

일반

사용자정보

개정판 d3b7de6d

IDd3b7de6d0b18d641f2a036235b5e2f6df02e439b
상위 af725313
하위 34b1790c, 7a23ea42

함의성이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)