Fcitx
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fcitx::VirtualKeyboardEvent Class Reference
Inheritance diagram for fcitx::VirtualKeyboardEvent:
Inheritance graph
[legend]
Collaboration diagram for fcitx::VirtualKeyboardEvent:
Collaboration graph
[legend]

Public Member Functions

 VirtualKeyboardEvent (InputContext *context, bool isRelease, int time=0)
 
int time () const
 
void setKey (Key key)
 
const Keykey () const
 
void setPosition (float x, float y)
 
float x () const
 
float y () const
 
void setLongPress (bool longPress)
 
bool isLongPress () const
 
void setUserAction (uint64_t actionId)
 
uint64_t userAction () const
 
void setText (std::string text)
 
const std::string & text () const
 
std::unique_ptr< KeyEventtoKeyEvent () const
 
- Public Member Functions inherited from fcitx::InputContextEvent
 InputContextEvent (InputContext *context, EventType type)
 
InputContextinputContext () const
 
- Public Member Functions inherited from fcitx::Event
 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...
 
virtual bool filtered () const
 Whether a event is filtered by handler. More...
 
bool isInputContextEvent () const
 A helper function to check if a event is input context event. More...
 

Protected Member Functions

 FCITX_DECLARE_PRIVATE (VirtualKeyboardEvent)
 

Protected Attributes

std::unique_ptr< VirtualKeyboardEventPrivated_ptr
 
- Protected Attributes inherited from fcitx::InputContextEvent
InputContextic_
 
- Protected Attributes inherited from fcitx::Event
EventType type_
 
bool accepted_ = false
 

Detailed Description

Definition at line 377 of file event.h.


The documentation for this class was generated from the following files: