| 552 | } |
| 553 | |
| 554 | void MainWindow::setFontAction() { |
| 555 | bool isok; |
| 556 | QFont qf = QFontDialog::getFont( |
| 557 | &isok, QFont("Courier New", 10), this, tr("选择字体")); |
| 558 | if(isok) |
| 559 | qApp->setFont(qf); |
| 560 | } |
| 561 | |
| 562 | void MainWindow::instruction() { |
| 563 | Instructions instructions(this); |
nothing calls this directly
no outgoing calls
no test coverage detected