개정판 0b2e1439
change context menu order
Change-Id: I27c7e6617df51b8c18dfbc79c55519b726845b04
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
189 | 189 |
explodeKeepAction.triggered.connect(self.contextExplodeKeep) |
190 | 190 |
menu.addAction(explodeKeepAction) |
191 | 191 |
|
192 |
showAction = QAction('Show From, To(H)', None) if not self.lineNoFromToIndicatorShowFlag else QAction('Hide From, To(H)', None) |
|
193 |
showAction.triggered.connect(self.contextShow) |
|
194 |
menu.addAction(showAction) |
|
195 |
|
|
192 | 196 |
freezeAction = QAction("Freeze Attributes of All Child Items" , None) |
193 | 197 |
freezeAction.triggered.connect(lambda: self.freeze_attriute(True)) |
194 | 198 |
menu.addAction(freezeAction) |
... | ... | |
205 | 209 |
toAction.triggered.connect(self.contextTo) |
206 | 210 |
menu.addAction(toAction) |
207 | 211 |
|
208 |
showAction = QAction('Show From, To(H)', None) if not self.lineNoFromToIndicatorShowFlag else QAction('Hide From, To(H)', None) |
|
209 |
showAction.triggered.connect(self.contextShow) |
|
210 |
menu.addAction(showAction) |
|
211 |
|
|
212 | 212 |
allAction = QAction('Select All in View(A)', None) |
213 | 213 |
allAction.triggered.connect(self.contextSelectAll) |
214 | 214 |
menu.addAction(allAction) |
내보내기 Unified diff