Open 3D Engine GraphCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::SceneContextMenu Class Reference

Inherits GraphCanvas::EditorContextMenu.

Public Member Functions

 SceneContextMenu (EditorId editorId, QWidget *parent=nullptr)
 
void OnRefreshActions (const GraphId &graphId, const AZ::EntityId &targetMemberId) override
 
- Public Member Functions inherited from GraphCanvas::EditorContextMenu
 AZ_CLASS_ALLOCATOR (EditorContextMenu, AZ::SystemAllocator)
 
 EditorContextMenu (EditorId editorId, QWidget *parent=nullptr)
 
void SetIsToolBarMenu (bool isToolBarMenu)
 
bool IsToolBarMenu () const
 
EditorId GetEditorId () const
 
void AddActionGroup (const ActionGroupId &actionGroup)
 
void AddMenuAction (QAction *contextMenuAction, MenuActionSection section=MenuActionSection::Default)
 
void AddMenuActionFront (QAction *contextMenuAction)
 
void AddMenuActionBack (QAction *contextMenuAction)
 
void AddNodePaletteMenuAction (const NodePaletteConfig &config)
 
bool IsFinalized () const
 
QMenu * FindSubMenu (AZStd::string_view subMenuPath)
 
void RefreshActions (const GraphId &graphId, const AZ::EntityId &targetMemberId)
 
void showEvent (QShowEvent *showEvent) override
 
const NodePaletteWidgetGetNodePalette () const
 
void ResetSourceSlotFilter ()
 
void FilterForSourceSlot (const GraphId &graphId, const AZ::EntityId &sourceSlotId)
 

Protected Attributes

EditActionsMenuGroup m_editorActionsGroup
 
GraphCanvasConstructActionsMenuGroup m_graphCanvasConstructGroups
 
CreateNodeGroupPresetMenuActionGroup m_nodeGroupPresets
 
AlignmentActionsMenuGroup m_alignmentActionsGroups
 
- Protected Attributes inherited from GraphCanvas::EditorContextMenu
NodePaletteWidgetm_nodePalette = nullptr
 
bool m_finalized
 
bool m_isToolBarMenu
 
AZ::u32 m_userNodePaletteWidth = 300
 
EditorId m_editorId
 
AZStd::vector< ActionGroupId > m_actionGroupOrdering
 
AZStd::unordered_set< ActionGroupId > m_actionGroups
 
AZStd::vector< QAction * > m_unprocessedFrontActions
 
AZStd::vector< QAction * > m_unprocessedActions
 
AZStd::vector< QAction * > m_unprocessedBackActions
 
AZStd::unordered_map< AZStd::string, QMenu * > m_subMenuMap
 

Additional Inherited Members

- Public Types inherited from GraphCanvas::EditorContextMenu
enum class  MenuActionSection { Front , Default , Back }
 
- Protected Slots inherited from GraphCanvas::EditorContextMenu
virtual void SetupDisplay ()
 
virtual void HandleContextMenuSelection ()
 
- Protected Member Functions inherited from GraphCanvas::EditorContextMenu
void keyPressEvent (QKeyEvent *keyEvent) override
 
void ConstructMenu ()
 
void AddUnprocessedActions (AZStd::vector< QAction * > &actions)
 

The documentation for this class was generated from the following file: