Update the label text based on current settings.
(self)
| 67 | return base_name |
| 68 | |
| 69 | def update_label_text(self): |
| 70 | """Update the label text based on current settings.""" |
| 71 | if hasattr(self, 'label') and self.label: |
| 72 | self.label.setPlainText(self._get_display_name()) |
| 73 | self.update_label_pos() |
| 74 | |
| 75 | def destroy(self): |
| 76 | """Cleanly remove the pin and its label from the scene.""" |
no test coverage detected