프로젝트

일반

사용자정보

개정판 17e67b4f

ID17e67b4f1306defde177aea81f410fbff955df8a
상위 064816ac
하위 e7e6914b

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

issue #563: clear nozzle item

Change-Id: I9b8e9d9ac580c0270dec2e23fa401d874253ac00

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringNozzleItem.py
12 12
from EngineeringConnectorItem import QEngineeringConnectorItem
13 13

  
14 14
class QEngineeringNozzleItem(SymbolSvgItem):
15
    ZVALUE = 20
16
    clicked = pyqtSignal(QGraphicsSvgItem)
17

  
18
    '''
19
    '''
20 15
    def __init__(self, path, uid=None, flip=0):
21 16
        SymbolSvgItem.__init__(self, None, path, uid, flip=flip)
22 17

  
23
        self._props = [['Name', None], ['Size', None]]
24
        self.setZValue(QEngineeringNozzleItem.ZVALUE)
18
        #self._props = [['Name', None], ['Size', None]]
25 19

  
26 20
    '''
27 21
        @brief      getter of property
28 22
        @author     humkyung
29 23
        @date       2018.07.29
30 24
    '''
25
    '''
31 26
    @property
32 27
    def props(self):
33 28
        return self._props
29
    '''
34 30

  
35 31
    '''
36 32
        @brief  connect attribute
37 33
        @author humkyung
38 34
        @date   2018.07.19
39 35
    '''
36
    '''
40 37
    def connectAttribute(self, attributes, clear=True):
41 38
        from QEngineeringTagNoTextItem import QEngineeringTagNoTextItem
42 39

  
......
65 62
            
66 63
            if selected is not None:
67 64
                self.attrs.append(selected)
68
                selected.onwer = self
65
                selected.onwer = self
66
    '''

내보내기 Unified diff

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