MCPcopy Create free account
hub / github.com/echQoQ/RustSL / _create_bottom_layout

Method _create_bottom_layout

gui/main_window.py:267–302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

265 return sign_widget
266
267 def _create_bottom_layout(self):
268 bottom_layout = QHBoxLayout()
269
270 log_group = QGroupBox('📋 Log')
271 log_layout = QVBoxLayout()
272 self.log = QTextEdit()
273 self.log.setReadOnly(True)
274 log_layout.addWidget(self.log)
275 log_group.setLayout(log_layout)
276
277 right_layout = QVBoxLayout()
278
279 fixed_height = 230
280
281 # Horizontal layout for checkboxes
282 checkbox_layout = QHBoxLayout()
283 self.win7_checkbox = QCheckBox("Win7")
284 self.win7_checkbox.setChecked(False)
285 self.debug_checkbox = QCheckBox("Debug")
286 self.debug_checkbox.setChecked(False)
287 checkbox_layout.addWidget(self.win7_checkbox)
288 checkbox_layout.addWidget(self.debug_checkbox)
289
290 self.gen_btn = QPushButton(QIcon(os.path.join('gui', 'icons', 'rocket.ico')), '')
291 self.gen_btn.setIconSize(QSize(100, 100))
292 self.gen_btn.setFixedSize(fixed_height, fixed_height)
293
294 right_layout.addLayout(checkbox_layout)
295 right_layout.addWidget(self.gen_btn)
296
297 self.gen_btn.clicked.connect(self.run_all)
298
299 bottom_layout.addWidget(log_group)
300 bottom_layout.addLayout(right_layout)
301
302 return bottom_layout
303
304 def update_loading_icon(self):
305 self.gen_btn.setIcon(QIcon(self.loading_movie.currentPixmap()))

Callers 1

init_uiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected