|
| KeyEvent (InputContext *context, Key rawKey, bool isRelease=false, int time=0) |
|
void | filter () |
|
bool | filtered () const override |
| Whether a event is filtered by handler. More...
|
|
void | filterAndAccept () |
|
| KeyEventBase (EventType type, InputContext *context, Key rawKey, bool isRelease=false, int time=0) |
|
| KeyEventBase (const KeyEventBase &)=default |
|
Key | key () const |
| Normalized key event. More...
|
|
void | setKey (const Key &key) |
| It will automatically be called if input method layout does not match the system keyboard layout. More...
|
|
void | setRawKey (const Key &key) |
| It is designed for faking the key event. More...
|
|
void | setForward (bool forward) |
| It is designed for overriding the key forward option. More...
|
|
Key | origKey () const |
| Key event regardless of keyboard layout conversion. More...
|
|
Key | rawKey () const |
| Key event after layout conversion. More...
|
|
bool | isRelease () const |
|
int | time () const |
|
bool | forward () const |
| If true, the key that produce character will commit a string. More...
|
|
| InputContextEvent (InputContext *context, EventType type) |
|
InputContext * | inputContext () const |
|
| Event (EventType type) |
|
EventType | type () const |
| Type of event, can be used to decide event class. More...
|
|
void | accept () |
|
bool | accepted () const |
| Return value used by Instance::postEvent. More...
|
|
bool | isInputContextEvent () const |
| A helper function to check if a event is input context event. More...
|
|
|
Key | key_ |
|
Key | origKey_ |
|
Key | rawKey_ |
|
bool | isRelease_ |
|
int | time_ |
|
bool | forward_ = false |
|
InputContext * | ic_ |
|
EventType | type_ |
|
bool | accepted_ = false |
|
Definition at line 312 of file event.h.
◆ filtered()
bool fcitx::KeyEvent::filtered |
( |
| ) |
const |
|
inlineoverridevirtual |
Whether a event is filtered by handler.
If event is filtered, it will not send to another handler. For now only keyevent from input context can be filtered.
- Returns
- bool
Reimplemented from fcitx::Event.
Definition at line 320 of file event.h.
The documentation for this class was generated from the following file: