| 501 | } |
| 502 | |
| 503 | void 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 | |
| 513 | void MainWindow::setImagePath() { |
| 514 | QString saveImagePath = QFileDialog::getSaveFileName(this, tr("Set saved image to restore from"), |
nothing calls this directly
no outgoing calls
no test coverage detected