MCPcopy Create free account
hub / github.com/BasicProtein/AugmentCode-Free / _setup_ui

Method _setup_ui

gui_qt6/components.py:196–207  ·  view source on GitHub ↗

设置UI

(self)

Source from the content-addressed store, hash-verified

194 self._setup_ui()
195
196 def _setup_ui(self):
197 """设置UI"""
198 layout = QHBoxLayout(self)
199 layout.setContentsMargins(0, 0, 0, 0)
200
201 # 语言标签
202 self.label = SecondaryLabel(get_text("app.language"))
203 layout.addWidget(self.label)
204
205 # 语言下拉框 - 将在主窗口中实现
206 # 这里只是占位符
207 layout.addStretch()
208
209
210# 导出所有组件

Callers 1

__init__Method · 0.95

Calls 2

get_textFunction · 0.90
SecondaryLabelClass · 0.85

Tested by

no test coverage detected