13 Q_PROPERTY(QString
name MEMBER m_name)
18 explicit
Node(QObject *parent);
50 const virtual bool isVisual()
const {
return false; }
95 QWidget *m_nodeeditor =
nullptr;
98 QString m_name =
"Undefined";
99 QPoint m_position_hint = QPoint(0, 0);
101 QList<Interface> m_interfaces;
102 static QMap<QString, int> instance_counter;
Definition interface.hpp:9
void setInterfaces(const QList< Interface > &interfaces)
Definition node.hpp:20
QPoint position_hint
Definition node.hpp:15
void setPositionHint(QPoint position_hint)
Set the position hint.
Definition node.cpp:34
Interface * getInterface(const QString &identifier)
Get an interface by its identifier.
Definition node.cpp:9
QPoint positionHint() const
Get the position hint.
Definition node.hpp:60
void config()
Set various configurations.
Definition node.cpp:20
QList< Interface > & getInterfaces()
Get the list of interfaces.
Definition node.hpp:29
void positionHintChanged(const QPoint position_hint)
void changedInterfaceValue(const Interface &)
QString name
Definition node.hpp:13
Node(QObject *parent)
Definition node.cpp:5
virtual const bool isVisual() const
Checks if the node is a visual node.
Definition node.hpp:50