| 1204 | } |
| 1205 | |
| 1206 | void splitViewWidget::gridSetColor(bool) |
| 1207 | { |
| 1208 | const auto newColor = QColorDialog::getColor(this->regularGridColor); |
| 1209 | if (newColor.isValid() && newColor != this->regularGridColor) |
| 1210 | { |
| 1211 | QSettings settings; |
| 1212 | settings.setValue("View/GridColor", newColor); |
| 1213 | this->regularGridColor = newColor; |
| 1214 | this->update(); |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | void splitViewWidget::toggleZoomBox(bool) |
| 1219 | { |