(self)
| 594 | self.placing_started.emit() |
| 595 | |
| 596 | def start_command_placement(self): |
| 597 | self._end_wire(commit=False) |
| 598 | self._cancel_placement() |
| 599 | ghost = QGraphicsSimpleTextItem(".command") |
| 600 | ghost.setOpacity(0.4) |
| 601 | ghost.setAcceptedMouseButtons(Qt.NoButton) |
| 602 | self._ghost = ghost |
| 603 | self._ghost.setPos(QPointF(-9999, -9999)) |
| 604 | self.addItem(self._ghost) |
| 605 | self._mode = _Mode.PLACING_COMMAND |
| 606 | self.placing_started.emit() |
| 607 | |
| 608 | def start_border_placement(self, width: int, height: int, show_in_export: bool): |
| 609 | self._end_wire(commit=False) |
nothing calls this directly
no test coverage detected