65 watched->installEventFilter(
this);
72 if (event->type() == QEvent::MouseButtonPress ||
73 event->type() == QEvent::TabletPress) {
120#include "kis_multinode_property.moc"
float value(const T *src, size_t ch)
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisMultinodePropertyInterface()
virtual void setIgnored(bool value)=0
virtual bool savedValuesDiffer() const =0
virtual bool haveTheOnlyNode() const =0
virtual bool isIgnored() const =0
virtual ~KisMultinodePropertyInterface()
QPointer< QCheckBox > m_ignoreBox
MultinodePropertyBaseConnector(KisMultinodePropertyInterface *parent)
void notifyIgnoreChanged() override
void connectAutoEnableWidget(QWidget *widget) override
KisMultinodePropertyInterface * m_parent
void slotIgnoreCheckBoxChanged(int state) override
void connectIgnoreCheckBox(QCheckBox *ignoreBox) override
virtual void notifyValueChanged()
~MultinodePropertyConnectorInterface() override
virtual void connectAutoEnableWidget(QWidget *widget)
void connectValueChangedSignal(const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoConnection)
#define KIS_SAFE_ASSERT_RECOVER_RETURN(cond)
KisMultinodePropertyInterface * m_property
void enableWidget(bool value)
bool eventFilter(QObject *watched, QEvent *event) override
AutoEnabler(QObject *watched, KisMultinodePropertyInterface *property, QObject *parent)