#include <visual.hpp>
|
| void | config () |
| | Set various configurations.
|
| |
◆ Visual()
| Visual::Visual |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~Visual()
| virtual Visual::~Visual |
( |
| ) |
|
|
inlinevirtual |
◆ isVisual()
| const bool Visual::isVisual |
( |
| ) |
const |
|
inlineoverridevirtual |
Checks if the node is a visual node.
This method returns true.
- Returns
- True, since this is a visual node.
- See also
- Node::isVisual()
Reimplemented from Node.
◆ paintWidget()
Paints the visual node onto a VisualContainer.
This method creates and returns a QWidget that represents the visual node. It is the entry point for rendering content to the panel. The QWidget is a child of the given VisualContainer and is styled to visually represent the node.
- Parameters
-
| parent | The VisualContainer to which the visual node's widget will be added as a child. |
- Returns
- A QWidget that visually represents the node, styled and ready to be displayed within the panel.
- See also
- Panel
-
VisualContainer
◆ setWidget()
| void Visual::setWidget |
( |
QWidget * | widget | ) |
|
Sets the widget associated with this visual node.
This method sets the QWidget that is associated with this visual node. The QWidget is a VisualContainer and is managed by the panel.
- Parameters
-
| widget | The QWidget to associate with this visual node. |
- See also
- widget()
-
VisualContainer
-
Panel::addVisual()
◆ widget()
| QWidget * Visual::widget |
( |
| ) |
const |
|
inline |
◆ widgetChanged
| void Visual::widgetChanged |
( |
QWidget * | widget | ) |
|
|
signal |
◆ widget
The documentation for this class was generated from the following files: