MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setUIEditMode

Method setUIEditMode

gui/qt/settings.cpp:633–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633void MainWindow::setUIEditMode(bool mode) {
634 m_uiEditMode = mode;
635 m_config->setValue(SETTING_UI_EDIT_MODE, mode);
636 m_actionToggleUI->setChecked(mode);
637 m_actionAddMemory->setEnabled(mode);
638 m_actionAddVisualizer->setEnabled(mode);
639 setUIBoundaries(mode);
640 setUIDockEditMode(mode);
641}
642
643void MainWindow::setThrottle(int mode) {
644 ui->checkThrottle->setChecked(mode == Qt::Checked);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected