MCPcopy Create free account
hub / github.com/IENT/YUView / gridSetColor

Method gridSetColor

YUViewLib/src/ui/views/SplitViewWidget.cpp:1206–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204}
1205
1206void 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
1218void splitViewWidget::toggleZoomBox(bool)
1219{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
isValidMethod · 0.45

Tested by

no test coverage detected