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.
|
Inherits GraphCanvas::EditorContextMenu.
Public Member Functions | |
NodeGroupContextMenu (EditorId editorId, QWidget *parent=nullptr) | |
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 NodePaletteWidget * | GetNodePalette () const |
void | ResetSourceSlotFilter () |
void | FilterForSourceSlot (const GraphId &graphId, const AZ::EntityId &sourceSlotId) |
Protected Member Functions | |
void | OnRefreshActions (const GraphId &graphId, const AZ::EntityId &targetId) override |
Protected Member Functions inherited from GraphCanvas::EditorContextMenu | |
void | keyPressEvent (QKeyEvent *keyEvent) override |
void | ConstructMenu () |
void | AddUnprocessedActions (AZStd::vector< QAction * > &actions) |
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 Attributes inherited from GraphCanvas::EditorContextMenu | |
NodePaletteWidget * | m_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 |