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

Method setCalcSkinTopFromType

gui/qt/settings.cpp:503–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503void MainWindow::setCalcSkinTopFromType(bool python) {
504 QString fileName;
505 if (get_device_type() == TI83PCE) {
506 fileName = python ? "ti83pce_ep.png" : "ti83pce.png";
507 } else {
508 fileName = python ? "ti84pce_py.png" : "ti84pce.png";
509 }
510 ui->calcSkinTop->setStyleSheet(".QFrame { border-image: url(:/skin/resources/skin/" + fileName + ") 0 0 0 0 stretch stretch; }");
511}
512
513void MainWindow::setImagePath() {
514 QString saveImagePath = QFileDialog::getSaveFileName(this, tr("Set saved image to restore from"),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected