Open 3D Engine AzQtComponents API Reference
2305.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <ShortcutDispatch.h>
Inherits EBusTraits.
Public Types | |
using | Bus = AZ::EBus< ShortcutDispatchTraits > |
using | BusIdType = QWidget * |
Public Member Functions | |
virtual QWidget * | GetShortcutDispatchScopeRoot (QWidget *) |
Static Public Attributes | |
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.
|
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.