#include <YEvent.h>
Public Member Functions | |
YSpecialKeyEvent (const char *id) | |
YSpecialKeyEvent (const std::string &id) | |
std::string | id () const |
![]() | |
YEvent (EventType eventType=UnknownEvent) | |
EventType | eventType () const |
unsigned long | serial () const |
virtual YWidget * | widget () const |
virtual YItem * | item () const |
YDialog * | dialog () const |
bool | isValid () const |
Protected Member Functions | |
virtual | ~YSpecialKeyEvent () |
![]() | |
void | setDialog (YDialog *dia) |
virtual | ~YEvent () |
void | invalidate () |
Protected Attributes | |
std::string | _id |
Additional Inherited Members | |
![]() | |
enum | EventType { NoEvent = 0 , UnknownEvent , WidgetEvent , MenuEvent , KeyEvent , CancelEvent , TimeoutEvent , DebugEvent , SpecialKeyEvent , InvalidEvent = 0x4242 } |
enum | EventReason { UnknownReason = 0 , Activated , SelectionChanged , ValueChanged , ContextMenuActivated } |
![]() | |
static const char * | toString (EventType eventType) |
static const char * | toString (EventReason reason) |
Event to be returned when pressing a special keyboard shortcut.
|
inlineprotectedvirtual |
Protected destructor - events can only be deleted via YDialog::deleteEvent(). The associated dialog will take care of this event and delete it when appropriate.
|
inline |
Return the string ID of this event.