1365:8f8cad8f989e | 1366:f2e7957924cb |
---|---|
28 """ | 28 """ |
29 super().__init__(parent) | 29 super().__init__(parent) |
30 | 30 |
31 self.setFocusPolicy(Qt.NoFocus) | 31 self.setFocusPolicy(Qt.NoFocus) |
32 self.setCursor(Qt.ArrowCursor) | 32 self.setCursor(Qt.ArrowCursor) |
33 self.setTextFormat(Qt.PlainText) | |
33 | 34 |
34 def mouseReleaseEvent(self, evt): | 35 def mouseReleaseEvent(self, evt): |
35 """ | 36 """ |
36 Protected method to handle mouse release events. | 37 Protected method to handle mouse release events. |
37 | 38 |