MCPcopy Create free account
hub / github.com/YACReader/yacreader / brightnessChanged

Method brightnessChanged

YACReader/options_dialog.cpp:425–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void OptionsDialog::brightnessChanged(int value)
426{
427 QSettings settings(YACReader::getSettingsPath() + "/YACReader.ini", QSettings::IniFormat);
428 settings.setValue(BRIGHTNESS, value);
429 emit changedFilters(brightnessS->getValue(), contrastS->getValue(), gammaS->getValue());
430 // emit(changedImageOptions());
431}
432
433void OptionsDialog::contrastChanged(int value)
434{

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.80
getValueMethod · 0.80

Tested by

no test coverage detected