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

Method on_pushButtonEditViewGridLineColor_clicked

YUViewLib/src/ui/SettingsDialog.cpp:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void 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
217void SettingsDialog::on_pushButtonEditPlotBackgroundColor_clicked()
218{

Callers 1

Calls 3

getPlainColorMethod · 0.80
setPlainColorMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected