프로젝트

일반

사용자정보

개정판 0b2e4877

ID0b2e48778b26ca60194fd8b940c39e70fefe838e
상위 dafb81a9
하위 a509a350

함의성이(가) 약 6년 전에 추가함

issue #486: line save on going

차이점 보기:

DTI_PID/DTI_PID/ItemPropertyTableWidget.py
621 621
            elif keyCell.text() == 'CONN' and type(items[0]) is QEngineeringLineNoTextItem:
622 622
                from SymbolAttr import SymbolAttr
623 623
                attr = SymbolAttr()
624
                attr.AttributeType == "Line Item"
624
                attr.AttributeType = "Line Item"
625
                cmd = SelectAttributeCommand.SelectAttributeCommand(items[0], attr, self.mainWindow.graphicsView)
626
                cmd.onSuccess.connect(self.onSuccessSelectAttribute)
627
                self.mainWindow.graphicsView.command = cmd
628
            elif keyCell.text().find('CONN') is 0 and type(items[0]) is QEngineeringLineItem:
629
                from SymbolAttr import SymbolAttr
630
                attr = SymbolAttr()
631
                attr.AttributeType = "Line Conn"
632
                attr.ConnNum = int(keyCell.text().replace('CONN', ''))
625 633
                cmd = SelectAttributeCommand.SelectAttributeCommand(items[0], attr, self.mainWindow.graphicsView)
626 634
                cmd.onSuccess.connect(self.onSuccessSelectAttribute)
627 635
                self.mainWindow.graphicsView.command = cmd
628 636
            #elif Qt.ItemIsEnabled is not self.item(row, column).flags():
629 637
            #    self.editItem(self.item(row, column))
638
            
630 639

  
631 640
    '''
632 641
        @brief      success select attribute 

내보내기 Unified diff

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