#include <GraphView.h>
Inherits QWidget, AtomToolsFramework::AtomToolsMainMenuRequestBus::Handler, GraphCanvas::SceneNotificationBus::Handler, and GraphCanvas::AssetEditorRequestBus::Handler.
Inherited by AtomToolsFramework::GraphDocumentView.
Public Member Functions | |
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 Attributes | |
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 = {} |
GraphView manages displaying and interacting with a single Graph Canvas graph. Graph Canvas has other classes like the AssetEditorMainWindow that manage everything related to multiple graphs but it is too heavyweight and incompatible with the AtomToolsFramework application, main window, and document system. This class focuses on a single graph that might typically be represented or wrapped by a document class. It might be possible to reimplement AssetEditorMainWindow in terms of this to consolidate code and features.