Krita Source Code Documentation
Loading...
Searching...
No Matches
MultinodePropertyConnectorInterface Class Referenceabstract

#include <kis_multinode_property.h>

+ Inheritance diagram for MultinodePropertyConnectorInterface:

Signals

void sigValueChanged ()
 

Public Member Functions

virtual void connectAutoEnableWidget (QWidget *widget)
 
virtual void connectIgnoreCheckBox (QCheckBox *ignoreBox)=0
 
void connectValueChangedSignal (const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoConnection)
 
virtual void notifyIgnoreChanged ()=0
 
virtual void notifyValueChanged ()
 
 ~MultinodePropertyConnectorInterface () override
 

Protected Slots

virtual void slotIgnoreCheckBoxChanged (int state)=0
 

Detailed Description

Definition at line 290 of file kis_multinode_property.h.

Constructor & Destructor Documentation

◆ ~MultinodePropertyConnectorInterface()

MultinodePropertyConnectorInterface::~MultinodePropertyConnectorInterface ( )
override

Definition at line 13 of file kis_multinode_property.cpp.

14{
15}

Member Function Documentation

◆ connectAutoEnableWidget()

void MultinodePropertyConnectorInterface::connectAutoEnableWidget ( QWidget * widget)
virtual

Clicking on this widget will automatically enable it, setting "Ignored" property to false.

Default implementation does nothing.

Reimplemented in MultinodePropertyBaseConnector.

Definition at line 26 of file kis_multinode_property.cpp.

27{
28 Q_UNUSED(widget);
29}

◆ connectIgnoreCheckBox()

virtual void MultinodePropertyConnectorInterface::connectIgnoreCheckBox ( QCheckBox * ignoreBox)
pure virtual

◆ connectValueChangedSignal()

void MultinodePropertyConnectorInterface::connectValueChangedSignal ( const QObject * receiver,
const char * method,
Qt::ConnectionType type = Qt::AutoConnection )

Definition at line 17 of file kis_multinode_property.cpp.

17 {
18 connect(this, SIGNAL(sigValueChanged()), receiver, method, type);
20}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))

References connect(), notifyValueChanged(), and sigValueChanged().

◆ notifyIgnoreChanged()

virtual void MultinodePropertyConnectorInterface::notifyIgnoreChanged ( )
pure virtual

◆ notifyValueChanged()

void MultinodePropertyConnectorInterface::notifyValueChanged ( )
virtual

Interface for KisMultinodeProperty's notifications

Reimplemented in MultinodePropertyBoolConnector< PropertyAdapter >.

Definition at line 22 of file kis_multinode_property.cpp.

22 {
23 Q_EMIT sigValueChanged();
24}

References sigValueChanged().

◆ sigValueChanged

void MultinodePropertyConnectorInterface::sigValueChanged ( )
signal

◆ slotIgnoreCheckBoxChanged

virtual void MultinodePropertyConnectorInterface::slotIgnoreCheckBoxChanged ( int state)
protectedpure virtualslot

The documentation for this class was generated from the following files: