| 99 | } |
| 100 | |
| 101 | void OptionsDialog::on_pbWidgetFont_clicked() |
| 102 | { |
| 103 | bool ok; |
| 104 | QFont font = QFontDialog::getFont(&ok, ui->leWidgetFont->font(), this); |
| 105 | if (ok) |
| 106 | ui->leWidgetFont->setFont(font); |
| 107 | } |
| 108 | |
| 109 | void OptionsDialog::on_cbPalette_currentIndexChanged(int index) |
| 110 | { |