GraphDocumentView bridges document system managed graph model graphs with a single graph view per document. More...
#include <GraphDocumentView.h>
Inherits AtomToolsFramework::GraphView, and AtomToolsDocumentNotificationBus::Handler.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (GraphDocumentView, AZ::SystemAllocator) | |
| GraphDocumentView (const AZ::Crc32 &toolId, const AZ::Uuid &documentId, GraphViewSettingsPtr graphViewSettingsPtr, QWidget *parent=0) | |
Public Member Functions inherited from AtomToolsFramework::GraphView | |
| AZ_CLASS_ALLOCATOR (GraphView, AZ::SystemAllocator) | |
| GraphView (const AZ::Crc32 &toolId, const GraphCanvas::GraphId &activeGraphId, GraphViewSettingsPtr graphViewSettingsPtr, QWidget *parent=0) | |
| void | SetActiveGraphId (const GraphCanvas::GraphId &activeGraphId, bool notify) |
Protected Member Functions | |
| void | OnDocumentOpened (const AZ::Uuid &documentId) override |
| void | OnDocumentClosed (const AZ::Uuid &documentId) override |
| void | OnDocumentDestroyed (const AZ::Uuid &documentId) override |
| void | OnSettingsChanged () |
Protected Member Functions inherited from AtomToolsFramework::GraphView | |
| void | CreateActions () |
| void | CreateMenus (QMenuBar *menuBar) override |
| void | UpdateMenus (QMenuBar *menuBar) override |
| AZ::s32 | GetMainMenuPriority () const override |
| AZ::EntityId | CreateNewGraph () override |
| bool | ContainsGraph (const GraphCanvas::GraphId &graphId) const override |
| bool | CloseGraph (const GraphCanvas::GraphId &graphId) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowSceneContextMenu (const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowNodeContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowCommentContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowNodeGroupContextMenu (const AZ::EntityId &groupId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowCollapsedNodeGroupContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowBookmarkContextMenu (const AZ::EntityId &bookmarkId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowConnectionContextMenu (const AZ::EntityId &connectionId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::ContextMenuAction::SceneReaction | ShowSlotContextMenu (const AZ::EntityId &slotId, const QPoint &screenPoint, const QPointF &scenePoint) override |
| GraphCanvas::Endpoint | CreateNodeForProposal (const AZ::EntityId &connectionId, const GraphCanvas::Endpoint &endpoint, const QPointF &scenePoint, const QPoint &screenPoint) override |
| void | OnWrapperNodeActionWidgetClicked (const AZ::EntityId &wrapperNode, const QRect &actionWidgetBoundingRect, const QPointF &scenePoint, const QPoint &screenPoint) override |
| void | OnSelectionChanged () override |
| GraphCanvas::Endpoint | HandleProposedConnection (const GraphCanvas::GraphId &graphId, const GraphCanvas::ConnectionId &connectionId, const GraphCanvas::Endpoint &endpoint, const GraphCanvas::NodeId &proposedNode, const QPoint &screenPoint) |
| GraphCanvas::ContextMenuAction::SceneReaction | HandleContextMenu (GraphCanvas::EditorContextMenu &editorContextMenu, const AZ::EntityId &memberId, const QPoint &screenPoint, const QPointF &scenePoint) const |
| void | AlignSelected (const GraphCanvas::AlignConfig &alignConfig) |
| void | OpenPresetsEditor () |
Protected Attributes | |
| const AZ::Uuid | m_documentId |
| bool | m_openedBefore = false |
| AZ::SettingsRegistryInterface::NotifyEventHandler | m_graphViewSettingsNotifyEventHandler |
Protected Attributes inherited from AtomToolsFramework::GraphView | |
| const AZ::Crc32 | m_toolId |
| GraphCanvas::GraphId | m_activeGraphId |
| GraphViewSettingsPtr | m_graphViewSettingsPtr |
| AzQtComponents::WindowDecorationWrapper * | m_presetWrapper = {} |
| GraphCanvas::ConstructPresetDialog * | m_presetEditor = {} |
| GraphCanvas::GraphCanvasGraphicsView * | m_graphicsView = {} |
| GraphCanvas::AssetEditorToolbar * | m_editorToolbar = {} |
| GraphCanvas::SceneContextMenu * | m_sceneContextMenu = {} |
| GraphCanvas::EditorContextMenu * | m_createNodeProposalContextMenu = {} |
| QAction * | m_actionCut = {} |
| QAction * | m_actionCopy = {} |
| QAction * | m_actionPaste = {} |
| QAction * | m_actionDelete = {} |
| QAction * | m_actionDuplicate = {} |
| QAction * | m_actionRemoveUnusedNodes = {} |
| QAction * | m_actionRemoveUnusedElements = {} |
| QAction * | m_actionSelectAll = {} |
| QAction * | m_actionSelectNone = {} |
| QAction * | m_actionSelectInputs = {} |
| QAction * | m_actionSelectOutputs = {} |
| QAction * | m_actionSelectConnected = {} |
| QAction * | m_actionSelectEnable = {} |
| QAction * | m_actionSelectDisable = {} |
| QAction * | m_actionScreenShot = {} |
| QAction * | m_actionAlignTop = {} |
| QAction * | m_actionAlignBottom = {} |
| QAction * | m_actionAlignLeft = {} |
| QAction * | m_actionAlignRight = {} |
| QAction * | m_actionPresetEditor = {} |
| QAction * | m_actionShowEntireGraph = {} |
| QAction * | m_actionZoomIn = {} |
| QAction * | m_actionZoomOut = {} |
| QAction * | m_actionZoomSelection = {} |
| QAction * | m_actionGotoStartOfChain = {} |
| QAction * | m_actionGotoEndOfChain = {} |
| QToolButton * | m_takeScreenshot = {} |
GraphDocumentView bridges document system managed graph model graphs with a single graph view per document.