#include <ushortcutevent.hpp>
Inheritance diagram for ufo::UShortcutEvent:
Public Member Functions | |
UShortcutEvent (UWidget *source, Type type, const UKeyStroke &stroke, bool ambiguous=false) | |
const UKeyStroke & | getKey () const |
bool | isAmbiguous () const |
A shortcut event is fired when there is at least one visible, focused widget. The widget which has registered the shortcut gets this event via processEvent and processShortcutEvent. Only one widgets gets a shortcut event. If more than one widget registered for the same shortcut, isAmbiguous() returns true. Pressing the stroke again dispatches a newly created event to the next listener.
|
|
|
|