|
| 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 |
|
| 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 |
|
|
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 |
|
| 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 |
|
virtual QRectF | GetBoundingRect () const=0 |
|
int | type () const override |
|
virtual void | OnDeleteItem () |
|
virtual void | OnEnabledStateChanged (RootGraphicsItemEnabledState enabledState) |
|
void | SetAllowQuickDeletion (bool enabled) |
|
Base class to handle a bunch of the weird quirky stuff that the NodeFrames need to manage. Will not paint anything.