void KColorUtilsDemo::targetSpinChanged() { if (_noUpdate) return; _noUpdate = true; updateSwatch(mtTarget, mtRed, mtGreen, mtBlue); mixChanged(); _noUpdate = false; }
void KColorUtilsDemo::inputSpinChanged() { if (_noUpdate) return; _noUpdate = true; updateSwatch(inColor, inRed, inGreen, inBlue); inputChanged(); _noUpdate = false; }
void Palette::setColour(QColor colour) { setColour(colour.red(), colour.green(), colour.blue(), colour.alpha()); updateSwatch(colour); }