MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / __init__

Method __init__

gui_qt6/components.py:20–23  ·  view source on GitHub ↗
(self, text: str, button_type: str = "primary", parent=None)

Source from the content-addressed store, hash-verified

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 """设置按钮样式"""

Callers

nothing calls this directly

Calls 2

_setup_buttonMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected