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

Method ListJumpPointReload

source/ui/EditUi.cpp:2704–2718  ·  view source on GitHub ↗

id list

Source from the content-addressed store, hash-verified

2702{
2703 ui.soundPlay_edit->setText(soundPlay.file);
2704 ui.soundPlay_sync_check->setChecked(soundPlay.sync);
2705 if (soundPlay.state == QiSoundPlay::play) ui.soundPlay_play_radio->setChecked(true);
2706 if (soundPlay.state == QiSoundPlay::pause) ui.soundPlay_pause_radio->setChecked(true);
2707 if (soundPlay.state == QiSoundPlay::resume) ui.soundPlay_resume_radio->setChecked(true);
2708 if (soundPlay.state == QiSoundPlay::stop) ui.soundPlay_stop_radio->setChecked(true);
2709}
2710void EditUi::WidgetSet(const QiMsgView& msgView)
2711{
2712 ui.msgView_textedit->setPlainText(msgView.text);
2713 if (msgView.option == QiMsgView::set) ui.msgView_type_set_radio->setChecked(true);
2714 else if (msgView.option == QiMsgView::add) ui.msgView_type_add_radio->setChecked(true);
2715 else if (msgView.option == QiMsgView::clear) ui.msgView_type_clear_radio->setChecked(true);
2716 else if (msgView.option == QiMsgView::show) ui.msgView_type_show_radio->setChecked(true);
2717 else if (msgView.option == QiMsgView::hide) ui.msgView_type_hide_radio->setChecked(true);
2718 if (msgView.level == MsgViewInfo::_msg) ui.msgView_level_msg_radio->setChecked(true);
2719 else if (msgView.level == MsgViewInfo::_war) ui.msgView_level_war_radio->setChecked(true);
2720 else if (msgView.level == MsgViewInfo::_err) ui.msgView_level_err_radio->setChecked(true);
2721}

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected