Open 3D Engine GraphCanvas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::ExtenderSlotConnectionPin Class Reference

Inherits GraphCanvas::SlotConnectionPin.

Public Member Functions

 AZ_RTTI (ExtenderSlotConnectionPin, "{E495A7EA-98E2-4A7B-B776-097F2CBF6636}", SlotConnectionPin)
 
 AZ_CLASS_ALLOCATOR (ExtenderSlotConnectionPin, AZ::SystemAllocator)
 
 ExtenderSlotConnectionPin (const AZ::EntityId &slotId)
 
void OnRefreshStyle () override
 
void DrawConnectionPin (QPainter *painter, QRectF drawRect, bool isConnected) override
 
- Public Member Functions inherited from GraphCanvas::SlotConnectionPin
 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::StyleHelperGetStyle () const
 

Protected Member Functions

void OnSlotClicked () override
 
- Protected Member Functions inherited from GraphCanvas::SlotConnectionPin
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
 
virtual void RefreshStyle ()
 
virtual AZ::EntityId GetEntityId () const =0
 

Additional Inherited Members

- Protected Attributes inherited from GraphCanvas::SlotConnectionPin
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
 

Member Function Documentation

◆ DrawConnectionPin()

void GraphCanvas::ExtenderSlotConnectionPin::DrawConnectionPin ( QPainter *  painter,
QRectF  drawRect,
bool  isConnected 
)
overridevirtual

Reimplemented from GraphCanvas::SlotConnectionPin.

◆ OnRefreshStyle()

void GraphCanvas::ExtenderSlotConnectionPin::OnRefreshStyle ( )
overridevirtual

Reimplemented from GraphCanvas::SlotConnectionPin.

◆ OnSlotClicked()

void GraphCanvas::ExtenderSlotConnectionPin::OnSlotClicked ( )
overrideprotectedvirtual

Reimplemented from GraphCanvas::SlotConnectionPin.


The documentation for this class was generated from the following file: