Exemplo n.º 1
0
 void IntegerParameter::setValue(value_type value, bool forceNotification)
 {
     if (m_value != value || forceNotification)
     {
         m_value = value;
         setValueImpl(value, forceNotification);
         markDirty(ParameterField::Value | (forceNotification ? ParameterField::ForceUpdate : 0), true);
     }
 }
Exemplo n.º 2
0
/**
 * Set this widget's value.
 *
 * @param value :: the value to set
 */
void PropertyWidget::setValue(const QString &value) {
  setValueImpl(value);
  valueChangedSlot();
  updateIconVisibility();
}