void ExprControl::linkStateChange(int state) { if (_updating) return; if (state == Qt::Checked) { emit linkColorLink(_id); emit linkColorEdited(_id, getColor()); } else { emit linkColorLink(-1); } }
void SeExprEdVectorControl::sliderChanged(int id,float value) { if (_updating) return; setValue(id,_numberEditable->min + value * (_numberEditable->max-_numberEditable->min)); if (_numberEditable->isColor) emit linkColorEdited(_id,getColor()); }