#include <node.hpp>
|
| void | config () |
| | Set various configurations.
|
| |
◆ Node()
| Node::Node |
( |
QObject * | parent | ) |
|
|
explicit |
◆ changedInterfaceValue
| void Node::changedInterfaceValue |
( |
const Interface & | | ) |
|
|
signal |
◆ config()
Set various configurations.
This method sets the object name of instance. It contains the class name and an instance counter. The method also logs the creation of the object.
◆ getInterface()
| Interface * Node::getInterface |
( |
const QString & | identifier | ) |
|
Get an interface by its identifier.
This method returns a pointer to the interface with the given identifier, or nullptr if no such interface exists.
- Parameters
-
| identifier | The identifier of the interface to retrieve. |
- Returns
- A pointer to the interface with the given identifier, or nullptr if no such interface exists.
- See also
- setInterfaces()
-
Interface
◆ getInterfaces()
Get the list of interfaces.
This method returns the reference to the interfaces of the node.
- Returns
- A reference to the list of interfaces.
- See also
- getInterface()
-
Interface
◆ isVisual()
| virtual const bool Node::isVisual |
( |
| ) |
const |
|
inlinevirtual |
Checks if the node is a visual node.
This method returns true if the node is a visual node, false otherwise. Nodes are no visual nodes by default, so this method is overridden by the visual base class.
- Returns
- True if the node is a visual node, false otherwise.
- See also
- Visual
Reimplemented in Visual.
◆ positionHint()
| QPoint Node::positionHint |
( |
| ) |
const |
|
inline |
Get the position hint.
This property is used to store the position hint of the node. It is used to position the node in the node editor or panel.
- Returns
- The position hint of the node.
- See also
- setPositionHint()
◆ positionHintChanged
| void Node::positionHintChanged |
( |
const QPoint | position_hint | ) |
|
|
signal |
◆ setInterfaces()
| void Node::setInterfaces |
( |
const QList< Interface > & | interfaces | ) |
|
|
inline |
◆ setPositionHint()
| void Node::setPositionHint |
( |
QPoint | position_hint | ) |
|
Set the position hint.
This property is used to store the position hint of the node. It is used to position the node in the node editor or panel.
- Parameters
-
| position_hint | The position hint of the node. |
- See also
- positionHint()
◆ name
◆ position_hint
| QPoint Node::position_hint |
|
readwrite |
The documentation for this class was generated from the following files: