| 2508 | } |
| 2509 | |
| 2510 | void MainWindow::varLaunch(const calc_var_t *prgm) { |
| 2511 | keypadBridge->releaseAll(); |
| 2512 | ui->lcd->setFocus(); |
| 2513 | guiDelay(50); |
| 2514 | |
| 2515 | sendEmuKey(CE_KEY_CLEAR); |
| 2516 | if (calc_var_is_asmprog(prgm)) { |
| 2517 | sendEmuKey(CE_KEY_ASM); |
| 2518 | } |
| 2519 | sendEmuKey(CE_KEY_PRGM); |
| 2520 | for (const uint8_t *c = prgm->name; *c; c++) { |
| 2521 | sendEmuLetterKey(static_cast<char>(*c)); // type program name |
| 2522 | } |
| 2523 | sendEmuKey(CE_KEY_ENTER); |
| 2524 | ui->lcd->setFocus(); |
| 2525 | } |
| 2526 | |
| 2527 | void MainWindow::contextVars(const QPoint& posa) { |
| 2528 | QModelIndex nameIndex = ui->emuVarView->indexAt(posa); |
nothing calls this directly
no test coverage detected