#include <ShortcutDispatch.h>
Inherits AZ::EBusTraits.
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
The ShortcutDispatcBus is intended to allow systems to hook in and override providing a valid keyboard shortcut scopeRoot. GraphCanvas uses sub-systems of Qt which don't play well with the regular Qt widget hierarchy and as a result, some widgets which should have parents don't.
◆ GetShortcutDispatchScopeRoot()
virtual QWidget * AzQtComponents::ShortcutDispatchTraits::GetShortcutDispatchScopeRoot |
( |
QWidget * |
| ) |
|
|
inlinevirtual |
Sent when the Editor's shortcut dispatcher can't find a parent for the given focus widget. Specifically used for GraphCanvas widgets, as they don't have parents and aren't part of the regular Qt hierarchy.
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Buses/ShortcutDispatch.h