Inherits QOpenGLWidget, and QOpenGLFunctions.
|
| 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) |
|
|
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) |
|