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

Method SetEditCurrent

source/ui/EditUi.cpp:1171–1181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169 lang_trans_t(ui.title_run_label);
1170 lang_trans_t(ui.title_close_button);
1171 lang_trans_t(ui.title_back_button);
1172 lang_trans_t(ui.tab_lock_check);
1173 lang_trans_t(ui.tab_hideTip_check);
1174 lang_trans_t(ui.tab_markPoint_check);
1175 lang_trans_t(ui.tab_range_check);
1176 BindSafeIter(bind_tab_button, [this](QPushButton* p, size_t i) { lang_trans_t(p); });
1177 auto trans = [](QGroupBox* p, size_t i) {
1178 lang_trans_ti(p);
1179 for (auto& object : p->children())
1180 {
1181 const QString name = object->objectName();
1182 const QString class_name = object->metaObject()->className();
1183 if (name.indexOf("_label") != -1 && class_name == "QLabel") lang_trans_t(reinterpret_cast<QLabel*>(object));
1184 else if (name.indexOf("_check") != -1 && class_name == "QCheckBox") lang_trans_t(reinterpret_cast<QCheckBox*>(object));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected