Inherits QMenu.
Inherited by GraphCanvas::BookmarkContextMenu, GraphCanvas::CollapsedNodeGroupContextMenu, GraphCanvas::CommentContextMenu, GraphCanvas::ConnectionContextMenu, GraphCanvas::NodeContextMenu, GraphCanvas::NodeGroupContextMenu, GraphCanvas::SceneContextMenu, and GraphCanvas::SlotContextMenu.
|
enum class | MenuActionSection { Front
, Default
, Back
} |
|
|
| 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) |
|
|
virtual void | SetupDisplay () |
|
virtual void | HandleContextMenuSelection () |
|
|
virtual void | OnRefreshActions (const GraphId &graphId, const AZ::EntityId &targetMemberId) |
|
void | keyPressEvent (QKeyEvent *keyEvent) override |
|
void | ConstructMenu () |
|
void | AddUnprocessedActions (AZStd::vector< QAction * > &actions) |
|
|
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 |
|
The documentation for this class was generated from the following file:
- Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/EditorContextMenu/EditorContextMenu.h