프로젝트

일반

사용자정보

개정판 c3fff180

IDc3fff180b8681412f60ffc343b8ec667e1d9f51d
상위 0f607bdb
하위 6660556e, c4316998, 18e758c8

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

issue #000: change line type at once

Change-Id: I44c87d6cb67d6629d9c6607c51ae09c90dd0ce9c

차이점 보기:

DTI_PID/DTI_PID/ItemPropertyTableWidget.py
378 378
        lineType = self._lineTypeComboBox.itemText(param)
379 379
        data = self._lineTypeComboBox.tag.data(Qt.UserRole)
380 380
        if type(data) is QEngineeringLineItem:
381
            data.lineType = lineType
381
            self.changeConnectedLineType(data, lineType)
382

  
383
    def changeConnectedLineType(self, line, lineType):
384
        line.lineType = lineType
385
        if type(line.connectors[0].connectedItem) is QEngineeringLineItem and line.connectors[0].connectedItem.lineType is not lineType:
386
            self.changeConnectedLineType(line.connectors[0].connectedItem, lineType)
387
        if type(line.connectors[1].connectedItem) is QEngineeringLineItem and line.connectors[1].connectedItem.lineType is not lineType:
388
            self.changeConnectedLineType(line.connectors[1].connectedItem, lineType)
382 389

  
383 390
    def show_icon_item(self, row, col, prop):
384 391
        """ show icon item on grid """
DTI_PID/DTI_PID/TextItemEditDialog.py
119 119
                if text == replace:
120 120
                    return
121 121
                item.setPlainText(item.text().replace(text, replace))
122
                print(item.text())
122
                #print(item.text())
123 123

  
124 124
    '''
125 125
        @brief      key press event

내보내기 Unified diff

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