#include <ActionBus.h>
Inherits AZ::EBusTraits.
|
virtual void | AddActionViaBus (int id, QAction *action)=0 |
| Allow default actions to be added to the Action Manager via a Bus call.
|
|
virtual void | AddActionViaBusCrc (AZ::Crc32 id, QAction *action)=0 |
| Allow default actions to be added to the Action Manager via a Bus call and using the CRC id method.
|
|
virtual void | RemoveActionViaBus (QAction *action)=0 |
| Remove default actions added to the Action Manager via a Bus Call.
|
|
virtual void | EnableDefaultActions ()=0 |
| Enable all default actions that are active during the normal Editor state.
|
|
virtual void | DisableDefaultActions ()=0 |
|
virtual void | AttachOverride (QWidget *object)=0 |
|
virtual void | DetachOverride ()=0 |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
Bus to allow default actions to be disabled/enabled and an override widget attached. (Note: Used to support custom actions/shortcuts in ComponentMode).
◆ AttachOverride()
virtual void AzToolsFramework::EditorActionRequests::AttachOverride |
( |
QWidget * |
object | ) |
|
|
pure virtual |
Attach the override widget. The override widget will be responsible for 'first try' at all Actions that are routed through the Shortcut Dispatcher. If the override widget does not handle the action, it will pass through to normal handling.
◆ DetachOverride()
virtual void AzToolsFramework::EditorActionRequests::DetachOverride |
( |
| ) |
|
|
pure virtual |
Detach the override widget. Stop the override widget from attempting to intercept events routed through the ShortcutDispatcher
◆ DisableDefaultActions()
virtual void AzToolsFramework::EditorActionRequests::DisableDefaultActions |
( |
| ) |
|
|
pure virtual |
Disable all default actions that are active during the normal Editor state. All Actions excluding those marked "Reserved" will be disabled (Undo/Redo/Save are excluded).
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ActionBus.h