Inherits EMStudio::NodeGraphWidget.
Public Slots | |
void | DeleteSelectedItems () |
void | OnContextMenuCreateNode (const BlendGraphMimeEvent *event) |
void | CreateNodeFromMimeEvent (const BlendGraphMimeEvent *event, const QPoint &location) |
void | CreateNodeGroup () |
void | AssignSelectedNodesToGroup (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
void | RenameNodeGroup (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
void | ChangeNodeGroupColor (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
void | DeleteNodeGroup (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
void | DeleteNodeGroupAndNodes (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
void | EnableSelectedTransitions () |
void | DisableSelectedTransitions () |
void | OnRowsInserted (const QModelIndex &parent, int first, int last) |
void | OnRowsAboutToBeRemoved (const QModelIndex &parent, int first, int last) |
void | OnDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles) |
void | OnFocusChanged (const QModelIndex &newFocusIndex, const QModelIndex &newFocusParent, const QModelIndex &oldFocusIndex, const QModelIndex &oldFocusParent) |
void | OnSelectionModelChanged (const QItemSelection &selected, const QItemSelection &deselected) |
Public Member Functions | |
BlendGraphWidget (AnimGraphPlugin *plugin, QWidget *parent) | |
bool | CheckIfIsCreateConnectionValid (AZ::u16 portNr, GraphNode *portNode, NodePort *port, bool isInputPort) override |
bool | CheckIfIsValidTransition (GraphNode *sourceState, GraphNode *targetState) override |
bool | CheckIfIsValidTransitionSource (GraphNode *sourceState) override |
bool | CreateConnectionMustBeCurved () override |
bool | CreateConnectionShowsHelpers () override |
void | OnMoveStart () override |
void | OnMoveNode (GraphNode *node, int32 x, int32 y) override |
void | OnMoveEnd () override |
void | OnNodeCollapsed (GraphNode *node, bool isCollapsed) override |
void | OnShiftClickedNode (GraphNode *node) override |
void | OnVisualizeToggle (GraphNode *node, bool visualizeEnabled) override |
void | OnEnabledToggle (GraphNode *node, bool enabled) override |
void | OnSetupVisualizeOptions (GraphNode *node) override |
void | ReplaceTransition (NodeConnection *connection, QPoint oldStartOffset, QPoint oldEndOffset, GraphNode *oldSourceNode, GraphNode *oldTargetNode, GraphNode *newSourceNode, GraphNode *newTargetNode) override |
void | OnCreateConnection (AZ::u16 sourcePortNr, GraphNode *sourceNode, bool sourceIsInputPort, AZ::u16 targetPortNr, GraphNode *targetNode, bool targetIsInputPort, const QPoint &startOffset, const QPoint &endOffset) override |
void | DeleteSelectedItems (NodeGraph *nodeGraph) |
bool | CheckIfIsStateMachine () |
void | AddAssignNodeToGroupSubmenu (QMenu *menu, EMotionFX::AnimGraph *animGraph, EMotionFX::AnimGraphNodeGroup *currentlyAssignedGroup) |
void | AddPreviewMotionSubmenu (QMenu *menu, AnimGraphActionManager *actionManager, const EMotionFX::AnimGraphNode *selectedNode) |
void | OnContextMenuEvent (QWidget *parentWidget, QPoint localMousePos, QPoint globalMousePos, AnimGraphPlugin *plugin, const AZStd::vector< EMotionFX::AnimGraphNode * > &selectedNodes, bool graphWidgetOnlyMenusEnabled, bool selectingAnyReferenceNodeFromNavigation, const AnimGraphActionFilter &actionFilter) |
void | SetSelectedTransitionsEnabled (bool isEnabled) |
bool | PreparePainting () override |
void | ProcessFrame (bool redraw) |
void | SetVirtualFinalNode (const QModelIndex &nodeModelIndex) |
![]() | |
NodeGraphWidget (AnimGraphPlugin *plugin, NodeGraph *activeGraph=nullptr, QWidget *parent=nullptr) | |
AnimGraphPlugin * | GetPlugin () |
void | SetActiveGraph (NodeGraph *graph) |
NodeGraph * | GetActiveGraph () const |
MCORE_INLINE const QPoint & | GetMousePos () const |
MCORE_INLINE void | SetMousePos (const QPoint &pos) |
MCORE_INLINE void | SetShowFPS (bool showFPS) |
size_t | CalcNumSelectedNodes () const |
QPoint | LocalToGlobal (const QPoint &inPoint) const |
QPoint | GlobalToLocal (const QPoint &inPoint) const |
QPoint | SnapLocalToGrid (const QPoint &inPoint) const |
void | CalcSelectRect (QRect &outRect) |
virtual bool | PreparePainting () |
virtual bool | CheckIfIsCreateConnectionValid (AZ::u16 portNr, GraphNode *portNode, NodePort *port, bool isInputPort) |
virtual bool | CheckIfIsValidTransition (GraphNode *sourceState, GraphNode *targetState) |
virtual bool | CheckIfIsValidTransitionSource (GraphNode *sourceState) |
virtual bool | CreateConnectionMustBeCurved () |
virtual bool | CreateConnectionShowsHelpers () |
virtual void | OnDrawOverlay (QPainter &painter) |
virtual void | OnMoveStart () |
virtual void | OnMoveNode (GraphNode *node, int32 x, int32 y) |
virtual void | OnMoveEnd () |
virtual void | OnCreateConnection (AZ::u16 sourcePortNr, GraphNode *sourceNode, bool sourceIsInputPort, AZ::u16 targetPortNr, GraphNode *targetNode, bool targetIsInputPort, const QPoint &startOffset, const QPoint &endOffset) |
virtual void | OnNodeCollapsed (GraphNode *node, bool isCollapsed) |
virtual void | OnShiftClickedNode (GraphNode *node) |
virtual void | OnVisualizeToggle (GraphNode *node, bool visualizeEnabled) |
virtual void | OnEnabledToggle (GraphNode *node, bool enabled) |
virtual void | OnSetupVisualizeOptions (GraphNode *node) |
virtual void | ReplaceTransition (NodeConnection *connection, QPoint oldStartOffset, QPoint oldEndOffset, GraphNode *oldSourceNode, GraphNode *oldTargetNode, GraphNode *newSourceNode, GraphNode *newTargetNode) |
void | EnableBorderOverwrite (const QColor &borderColor, float borderWidth) |
void | DisableBorderOverwrite () |
const QString & | GetTitleBarText () const |
void | SetTitleBarText (const QString &text) |
Static Public Member Functions | |
static bool | OnEnterDropEvent (QDragEnterEvent *event, EMotionFX::AnimGraphNode *currentNode) |
Protected Member Functions | |
void | dropEvent (QDropEvent *event) override |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dragLeaveEvent (QDragLeaveEvent *event) override |
void | dragMoveEvent (QDragMoveEvent *event) override |
void | mouseDoubleClickEvent (QMouseEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | OnContextMenuEvent (QPoint mousePos, QPoint globalMousePos, const AnimGraphActionFilter &actionFilter) |
bool | event (QEvent *event) override |
![]() | |
void | mouseMoveEvent (QMouseEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseDoubleClickEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | wheelEvent (QWheelEvent *event) override |
void | resizeEvent (QResizeEvent *event) override |
void | keyPressEvent (QKeyEvent *event) override |
void | keyReleaseEvent (QKeyEvent *event) override |
void | focusInEvent (QFocusEvent *event) override |
void | focusOutEvent (QFocusEvent *event) override |
void | initializeGL () override |
void | paintGL () override |
void | resizeGL (int w, int h) override |
GraphNode * | UpdateMouseCursor (const QPoint &localMousePos, const QPoint &globalMousePos) |
void | SelectNodesInGroup (EMotionFX::AnimGraphNodeGroup *nodeGroup) |
Additional Inherited Members | |
![]() | |
void | ActiveGraphChanged () |
![]() | |
static constexpr uint32 | s_snapCellSize = 10 |
![]() | |
AnimGraphPlugin * | m_plugin |
bool | m_showFps |
QPoint | m_mousePos |
QPoint | m_mouseLastPos |
QPoint | m_mouseLastPressPos |
QPoint | m_selectStart |
QPoint | m_selectEnd |
int | m_prevWidth |
int | m_prevHeight |
int | m_curWidth |
int | m_curHeight |
GraphNode * | m_moveNode |
NodeGraph * | m_activeGraph = nullptr |
QFont | m_font |
QFontMetrics * | m_fontMetrics |
AZ::Debug::Timer | m_renderTimer |
AZStd::string | m_tempString |
AZStd::string | m_fullActorName |
AZStd::string | m_actorName |
bool | m_allowContextMenu |
bool | m_leftMousePressed |
bool | m_middleMousePressed |
bool | m_rightMousePressed |
bool | m_panning |
bool | m_rectSelecting |
bool | m_shiftPressed |
bool | m_controlPressed |
bool | m_altPressed |
bool | m_borderOverwrite = false |
QColor | m_borderOverwriteColor |
float | m_borderOverwriteWidth |
QString | m_titleBarText |
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.
|
overridevirtual |
Reimplemented from EMStudio::NodeGraphWidget.