Open 3D Engine GraphCanvas Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits GraphCanvas::SlotLayoutItem, SlotUIRequestBus::Handler, and SlotNotificationBus::Handler.
Inherited by GraphCanvas::DataSlotConnectionPin, GraphCanvas::ExecutionSlotConnectionPin, and GraphCanvas::ExtenderSlotConnectionPin.
Public Member Functions | |
AZ_RTTI (SlotConnectionPin, "{4E4A8C30-584A-434B-B8FC-0514C1E7D290}", QGraphicsLayoutItem, QGraphicsItem) | |
AZ_CLASS_ALLOCATOR (SlotConnectionPin, AZ::SystemAllocator) | |
SlotConnectionPin (const AZ::EntityId &slotId) | |
void | Activate () |
void | Deactivate () |
void | OnRegisteredToNode (const AZ::EntityId &nodeId) override |
void | RefreshStyle () override final |
AZ::EntityId | GetEntityId () const override |
QPointF | GetPinCenter () const override |
QPointF | GetConnectionPoint () const override |
QPointF | GetJutDirection () const override |
Public Member Functions inherited from GraphCanvas::SlotLayoutItem | |
AZ_RTTI (SlotLayoutItem, "{ED76860E-35B8-4FEE-A2A0-04B467F778B6}", QGraphicsLayoutItem, QGraphicsItem) | |
AZ_CLASS_ALLOCATOR (SlotLayoutItem, AZ::SystemAllocator) | |
const Styling::StyleHelper & | GetStyle () const |
Protected Member Functions | |
virtual void | OnSlotClicked () |
QRectF | boundingRect () const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
void | keyPressEvent (QKeyEvent *keyEvent) override |
void | keyReleaseEvent (QKeyEvent *keyEvent) override |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *hoverEvent) override |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *hoverEvent) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | OnMouseEnter (bool hasAltModifier) |
void | OnMouseLeave () |
void | setGeometry (const QRectF &rect) override |
QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint={}) const override |
void | HandleNewConnection () |
virtual void | DrawConnectionPin (QPainter *painter, QRectF drawRect, bool isConnected) |
virtual void | OnRefreshStyle () |
Protected Member Functions inherited from GraphCanvas::SlotLayoutItem | |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
QVariant | itemChange (QGraphicsItem::GraphicsItemChange change, const QVariant &value) override |
Protected Attributes | |
ConnectionType | m_connectionType |
AZ::EntityId | m_slotId |
bool | m_trackClick |
bool | m_deletionClick |
bool | m_hovered |
StateSetter< RootGraphicsItemDisplayState > | m_nodeDisplayStateStateSetter |
Protected Attributes inherited from GraphCanvas::SlotLayoutItem | |
Styling::StyleHelper | m_style |