|
| NodeItem (QGraphicsItem *parent) |
|
void | setLabel (QString label) |
|
void | addInlet (QString name) |
|
void | addOutlet (QString name) |
|
void | updateRect () |
|
QRectF | rect () const noexcept |
|
QRectF | boundingRect () const |
|
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
|
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
|
void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) |
|
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
|
QPointF | firstInletPos () |
|
QPointF | firstOutletPos () |
|
std::optional< int > | inletAtPos (QPointF pos) |
|
std::optional< int > | outletAtPos (QPointF pos) |
|
|
QString | m_label |
|
std::vector< Port > | m_inlets |
|
std::vector< Port > | m_outlets |
|
QRectF | m_rect {0, 0, 100, 100} |
|
bool | m_hover {} |
|
|
static constexpr double | diameter = 20. |
|
static constexpr double | radius = diameter / 2. |
|
The documentation for this struct was generated from the following file:
- score_plugin_avnd.graph.cpp