개정판 7c7f8619
issue #506: short text
Change-Id: I7f7b65252ed855621f0fdf9b6644ee81d6d095f7
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1570 | 1570 |
def onViewText(self, isChecked): |
1571 | 1571 |
selected = [item for item in self.graphicsView.scene().items() if issubclass(type(item), QEngineeringTextItem)] |
1572 | 1572 |
for item in selected: |
1573 |
item.setVisible(isChecked) |
|
1573 |
if type(item) is not QEngineeringLineNoTextItem: |
|
1574 |
item.setVisible(isChecked) |
|
1574 | 1575 |
|
1575 | 1576 |
''' |
1576 | 1577 |
@brief visible/invisible Symbol |
내보내기 Unified diff