MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / WidgetReload

Method WidgetReload

source/ui/EditUi.cpp:1239–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1237 BindSafeIter(bind_edt2_button, [this, type](QPushButton* p, size_t i) {
1238 if (i == static_cast<size_t>(type)) p->setEnabled(true);
1239 else p->setDisabled(true);
1240 });
1241}
1242void EditUi::SetDebugState(int debugState)
1243{
1244 this->debugState = debugState;
1245 if (debugState == debug_idel)
1246 {
1247 ui.title_run_label->setText(lang_trans("运行"));
1248 ui.title_run_button->setStyleSheet("QPushButton{background-color:#0E0;border-radius:10px}QPushButton:hover{background-color:#0C0}");
1249 Disable(false);
1250 }
1251 else if (debugState == debug_run)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected