Inherits GraphCanvas::RootGraphicsItem< QGraphicsItem >, and StyleNotificationBus::Handler.
|
| AZ_TYPE_INFO (GridGraphicsItem, "{D483E19C-8046-472B-801D-A6B1A9F2FF33}") |
|
| AZ_CLASS_ALLOCATOR (GridGraphicsItem, AZ::SystemAllocator) |
|
| GridGraphicsItem (GridVisualComponent &gridVisual) |
|
void | Init () |
|
void | Activate () |
|
void | Deactivate () |
|
QRectF | GetBoundingRect () const override |
|
void | OnStyleChanged () override |
|
QRectF | boundingRect (void) 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 ([[maybe_unused]] 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 void | Reflect (AZ::ReflectContext *context)=delete |
|
|
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
|
| 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 | OnDeleteItem () |
|
virtual void | OnEnabledStateChanged (RootGraphicsItemEnabledState enabledState) |
|
void | SetAllowQuickDeletion (bool enabled) |
|
The documentation for this class was generated from the following file:
- Gems/GraphCanvas/Code/Source/Components/GridVisualComponent.h