Пример #1
0
void WEffectParameterBase::setEffectParameterSlot(EffectParameterSlotBasePointer pEffectParameterSlot) {
	m_pEffectParameterSlot = pEffectParameterSlot;
  if (m_pEffectParameterSlot) {
      connect(m_pEffectParameterSlot.data(), SIGNAL(updated()),
              this, SLOT(parameterUpdated()));
  }
  parameterUpdated();
}
Пример #2
0
bool CTreeModel::setData(const QModelIndex & item_index, const QVariant & value, int role)
{
	bool tmp = QStandardItemModel::setData(item_index, value, role);
	emit parameterUpdated();

	return tmp;
}
Пример #3
0
WEffectParameterBase::WEffectParameterBase(QWidget* pParent, EffectsManager* pEffectsManager)
        : WLabel(pParent),
          m_pEffectsManager(pEffectsManager) {
    parameterUpdated();
}