| 1470 | } |
| 1471 | |
| 1472 | void ControlPanelDialog::chooseGridColor() { |
| 1473 | QColor chosen = QColorDialog::getColor(selectedGridColor, this, tr("Select Grid/Line Color")); |
| 1474 | if (chosen.isValid()) { |
| 1475 | selectedGridColor = chosen; |
| 1476 | gridColorButton->setStyleSheet(QString("background-color: %1").arg(selectedGridColor.name())); |
| 1477 | } |
| 1478 | } |
| 1479 | |
| 1480 | void ControlPanelDialog::createThemeTab() { |
| 1481 | themeTab = new QWidget(this); |