(self, text: str, button_type: str = "primary", parent=None)
| 18 | """现代化按钮组件 - 替代CursorProButton""" |
| 19 | |
| 20 | def __init__(self, text: str, button_type: str = "primary", parent=None): |
| 21 | super().__init__(text, parent) |
| 22 | self.button_type = button_type |
| 23 | self._setup_button() |
| 24 | |
| 25 | def _setup_button(self): |
| 26 | """设置按钮样式""" |
nothing calls this directly
no test coverage detected