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

Method memLoadState

gui/qt/settings.cpp:410–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void MainWindow::memLoadState() {
411 ui->ramBytes->setValue(m_config->value(SETTING_DEBUGGER_RAM_BYTES, 8).toInt());
412 ui->flashBytes->setValue(m_config->value(SETTING_DEBUGGER_FLASH_BYTES, 8).toInt());
413 ui->ramAscii->setChecked(m_config->value(SETTING_DEBUGGER_RAM_ASCII, true).toBool());
414 ui->flashAscii->setChecked(m_config->value(SETTING_DEBUGGER_FLASH_ASCII, true).toBool());
415 ui->ramEdit->setAsciiArea(ui->ramAscii->isChecked());
416 ui->flashEdit->setAsciiArea(ui->flashAscii->isChecked());
417}
418
419void MainWindow::setMenuBarState(bool state) {
420 ui->menubar->setHidden(state);

Callers

nothing calls this directly

Calls 1

setAsciiAreaMethod · 0.80

Tested by

no test coverage detected