OpendTect
6.6
|
Handles KeyboardEvent. More...
Public Member Functions | |
KeyboardEventHandler () | |
const KeyboardEvent & | event () const |
bool | hasEvent () const |
bool | isHandled () const |
void | setHandled (bool yn) |
void | triggerKeyPressed (const KeyboardEvent &) |
void | triggerKeyReleased (const KeyboardEvent &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
Public Attributes | |
Notifier< KeyboardEventHandler > | keyPressed |
Notifier< KeyboardEventHandler > | keyReleased |
Protected Attributes | |
const KeyboardEvent * | event_ |
bool | ishandled_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Handles KeyboardEvent.
<>
KeyboardEventHandler::KeyboardEventHandler | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void KeyboardEventHandler::triggerKeyPressed | ( | const KeyboardEvent & | ) |
void KeyboardEventHandler::triggerKeyReleased | ( | const KeyboardEvent & | ) |
|
protected |
|
protected |
Notifier<KeyboardEventHandler> KeyboardEventHandler::keyPressed |
Notifier<KeyboardEventHandler> KeyboardEventHandler::keyReleased |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022