| 474 | } |
| 475 | |
| 476 | void WizPreferenceWindow::on_pushButtonBackgroundColor_clicked() |
| 477 | { |
| 478 | QColorDialog dlg; |
| 479 | QString color = m_app.userSettings().editorBackgroundColor(); |
| 480 | if (!color.isEmpty()) { |
| 481 | dlg.setCurrentColor(color); |
| 482 | } |
| 483 | if (dlg.exec() == QDialog::Accepted) |
| 484 | { |
| 485 | QString strColor = dlg.currentColor().name(); |
| 486 | updateEditorBackgroundColor(strColor); |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | void WizPreferenceWindow::on_pushButtonClearBackground_clicked() |
| 491 | { |
nothing calls this directly
no test coverage detected