The QGraphicsItem for the generic frame. More...
#include <GeneralNodeFrameComponent.h>
Inherits GraphCanvas::NodeFrameGraphicsWidget.
Inherited by GraphCanvas::CommentNodeFrameGraphicsWidget.
Public Member Functions | |
| AZ_RTTI (GeneralNodeFrameGraphicsWidget, "{15200183-8316-4A7D-985E-5C3257CD2463}", NodeFrameGraphicsWidget) | |
| AZ_CLASS_ALLOCATOR (GeneralNodeFrameGraphicsWidget, AZ::SystemAllocator) | |
| GeneralNodeFrameGraphicsWidget (const AZ::EntityId &nodeVisual) | |
| QPainterPath | GetOutline () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
Public Member Functions inherited from GraphCanvas::NodeFrameGraphicsWidget | |
| AZ_TYPE_INFO (NodeFrameGraphicsWidget, "{33B9DFFB-9E40-4D55-82A7-85468F7E7790}") | |
| AZ_CLASS_ALLOCATOR (NodeFrameGraphicsWidget, AZ::SystemAllocator) | |
| NodeFrameGraphicsWidget (const AZ::EntityId &nodeVisual) | |
| void | Activate () |
| void | Deactivate () |
| QRectF | GetBoundingRect () const override |
| QGraphicsItem * | GetRootGraphicsItem () override |
| QGraphicsLayoutItem * | GetRootGraphicsLayoutItem () override |
| void | SetSelected (bool selected) override |
| bool | IsSelected () const override |
| void | SetZValue (qreal zValue) override |
| qreal | GetZValue () const override |
| void | OnPositionChanged (const AZ::EntityId &entityId, const AZ::Vector2 &position) override |
| void | OnStyleChanged () override |
| QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const override |
| void | resizeEvent (QGraphicsSceneResizeEvent *) override |
| void | OnDeleteItem () override |
| QGraphicsItem * | AsGraphicsItem () override |
| bool | Contains (const AZ::Vector2 &position) const override |
| void | SetVisible (bool visible) override |
| bool | IsVisible () const override |
| void | OnNodeActivated () override |
| void | OnAddedToScene (const AZ::EntityId &graphId) override |
| void | OnNodeWrapped (const AZ::EntityId &wrappingNode) override |
| void | AdjustSize () override |
| void | SetSteppedSizingEnabled (bool sizing) override |
| void | SetSnapToGrid (bool snapToGrid) override |
| void | SetResizeToGrid (bool resizeToGrid) override |
| void | SetGrid (AZ::EntityId gridId) override |
| qreal | GetCornerRadius () const override |
| qreal | GetBorderWidth () const override |
Public Member Functions inherited from GraphCanvas::RootGraphicsItem< QGraphicsWidget > | |
| RootGraphicsItem (AZ::EntityId itemId) | |
| AZ::EntityId | GetEntityId () const |
| bool | IsSnappedToGrid () const |
| bool | IsResizedToGrid () const |
| int | GetGridXStep () const |
| int | GetGridYStep () const |
| void | SetSnapToGridEnabled (bool enabled) |
| void | SetResizeToGridEnabled (bool enabled) |
| void | SetGridSize (const AZ::Vector2 &gridSize) |
| void | SetAnchorPoint (const AZ::Vector2 &anchorPoint) |
| void | OnStateChanged (const RootGraphicsItemDisplayState &displayState) override |
| void | OnTick (float delta, AZ::ScriptTimePoint) override |
| void | AnimatePositionTo (const QPointF &scenePoint, const AZStd::chrono::milliseconds &duration) override |
| void | CancelAnimation () override |
| void | OffsetBy (const AZ::Vector2 &delta) override |
| void | SignalGroupAnimationStart (AZ::EntityId groupId) override |
| void | SignalGroupAnimationEnd (AZ::EntityId groupId) override |
| StateController< RootGraphicsItemDisplayState > * | GetDisplayStateStateController () override |
| RootGraphicsItemDisplayState | GetDisplayState () const override |
| void | SetEnabledState (RootGraphicsItemEnabledState state) override |
| RootGraphicsItemEnabledState | GetEnabledState () const override |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *)=delete |
Static Public Member Functions inherited from GraphCanvas::NodeFrameGraphicsWidget | |
| static void | Reflect (AZ::ReflectContext *)=delete |
Additional Inherited Members | |
Public Types inherited from GraphCanvas::RootGraphicsItem< QGraphicsWidget > | |
| enum | |
Protected Member Functions inherited from GraphCanvas::NodeFrameGraphicsWidget | |
| void | SetDisplayState (NodeFrameDisplayState displayState) |
| void | UpdateDisplayState (NodeFrameDisplayState displayState, bool enabled) |
| int | GrowToNextStep (int value, int step, StepAxis stepAxis=StepAxis::Unknown) const |
| int | RoundToClosestStep (int value, int step) const |
| int | ShrinkToPreviousStep (int value, int step) const |
| virtual void | OnActivated () |
| virtual void | OnDeactivated () |
| virtual void | OnRefreshStyle () |
| NodeFrameGraphicsWidget (const NodeFrameGraphicsWidget &)=delete | |
Protected Member Functions inherited from GraphCanvas::RootGraphicsItem< QGraphicsWidget > | |
| RootGraphicsItem (const RootGraphicsItem &)=delete | |
| void | SetDisplayState (RootGraphicsItemDisplayState displayState) |
| void | OnAltModifier (bool enabled) override |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *hoverEvent) override |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *hoverEvent) override |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *mouseEvent) override |
| QVariant | itemChange (QGraphicsItem::GraphicsItemChange change, const QVariant &value) override |
| int | type () const override |
| virtual void | OnEnabledStateChanged (RootGraphicsItemEnabledState enabledState) |
| void | SetAllowQuickDeletion (bool enabled) |
Protected Attributes inherited from GraphCanvas::NodeFrameGraphicsWidget | |
| Styling::StyleHelper | m_style |
| NodeFrameDisplayState | m_displayState |
| bool | m_enabledSteppedSizing = true |
| EditorId | m_editorId |
| AZ::EntityId | m_wrapperNode |
| bool | m_isWrapped = false |
The QGraphicsItem for the generic frame.