| 206 | } |
| 207 | |
| 208 | void SettingsDialog::on_pushButtonEditViewGridLineColor_clicked() |
| 209 | { |
| 210 | QColor currentColor = ui.viewGridLineColor->getPlainColor(); |
| 211 | QColor newColor = QColorDialog::getColor( |
| 212 | currentColor, this, tr("Select Color"), QColorDialog::ShowAlphaChannel); |
| 213 | if (newColor.isValid() && currentColor != newColor) |
| 214 | ui.viewGridLineColor->setPlainColor(newColor); |
| 215 | } |
| 216 | |
| 217 | void SettingsDialog::on_pushButtonEditPlotBackgroundColor_clicked() |
| 218 | { |
no test coverage detected