개정판 1c9a57a8
issue #000: fixed paint process
Change-Id: Ib58168c9994cc2b36cedbf7bf5799e2bed4d43e2
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
48 | 48 |
@date 2018.05.11 |
49 | 49 |
''' |
50 | 50 |
def getColor(self): |
51 |
return QEngineeringAbstractItem.HOVER_COLOR if self.hover else (self._owner._color if self._owner else self._color)
|
|
51 |
return QEngineeringAbstractItem.HOVER_COLOR if self.hover else (self._owner._color if (self._owner and hasattr(self._owner, '_color')) else self._color)
|
|
52 | 52 | |
53 | 53 |
''' |
54 | 54 |
@brief getter of owner |
내보내기 Unified diff