(4946982534d4d256590dffd44046fe642456703f)
#include "qqnxinputcontext_imf.h"
#include "qqnxabstractvirtualkeyboard.h"
#include "qqnxintegration.h"
#include "qqnxscreen.h"
#include "qqnxscreeneventhandler.h"
#include <QtGui/QGuiApplication>
#include <QtGui/QInputMethodEvent>
#include <QtGui/QTextCharFormat>
#include <QtCore/QDebug>
#include <QtCore/QMutex>
#include <QtCore/QVariant>
#include <QtCore/QVariantHash>
#include <QtCore/QWaitCondition>
#include <QtCore/QQueue>
#include <QtCore/QGlobalStatic>
#include <dlfcn.h>
#include "imf/imf_client.h"
#include "imf/input_control.h"
#include <process.h>
#include <sys/keycodes.h>
Go to the source code of this file.
|
enum | ImfEventType {
ImfCommitText
, ImfDeleteSurroundingText
, ImfFinishComposingText
, ImfGetCursorPosition
,
ImfGetTextAfterCursor
, ImfGetTextBeforeCursor
, ImfSendEvent
, ImfSetComposingRegion
,
ImfSetComposingText
, ImfIsTextSelected
, ImfIsAllTextSelected
, ImfCommitText
,
ImfDeleteSurroundingText
, ImfFinishComposingText
, ImfGetCursorPosition
, ImfGetTextAfterCursor
,
ImfGetTextBeforeCursor
, ImfSendEvent
, ImfSetComposingRegion
, ImfSetComposingText
,
ImfIsTextSelected
, ImfIsAllTextSelected
} |
enum | ImfEventType {
ImfCommitText
, ImfDeleteSurroundingText
, ImfFinishComposingText
, ImfGetCursorPosition
,
ImfGetTextAfterCursor
, ImfGetTextBeforeCursor
, ImfSendEvent
, ImfSetComposingRegion
,
ImfSetComposingText
, ImfIsTextSelected
, ImfIsAllTextSelected
, ImfCommitText
,
ImfDeleteSurroundingText
, ImfFinishComposingText
, ImfGetCursorPosition
, ImfGetTextAfterCursor
,
ImfGetTextBeforeCursor
, ImfSendEvent
, ImfSetComposingRegion
, ImfSetComposingText
,
ImfIsTextSelected
, ImfIsAllTextSelected
} |
◆ ImfEventType [1/2]
Enumerator |
---|
ImfCommitText | |
ImfDeleteSurroundingText | |
ImfFinishComposingText | |
ImfGetCursorPosition | |
ImfGetTextAfterCursor | |
ImfGetTextBeforeCursor | |
ImfSendEvent | |
ImfSetComposingRegion | |
ImfSetComposingText | |
ImfIsTextSelected | |
ImfIsAllTextSelected | |
ImfCommitText | |
ImfDeleteSurroundingText | |
ImfFinishComposingText | |
ImfGetCursorPosition | |
ImfGetTextAfterCursor | |
ImfGetTextBeforeCursor | |
ImfSendEvent | |
ImfSetComposingRegion | |
ImfSetComposingText | |
ImfIsTextSelected | |
ImfIsAllTextSelected | |
Definition at line 40 of file qqnxinputcontext_imf.cpp.
◆ ImfEventType [2/2]
Enumerator |
---|
ImfCommitText | |
ImfDeleteSurroundingText | |
ImfFinishComposingText | |
ImfGetCursorPosition | |
ImfGetTextAfterCursor | |
ImfGetTextBeforeCursor | |
ImfSendEvent | |
ImfSetComposingRegion | |
ImfSetComposingText | |
ImfIsTextSelected | |
ImfIsAllTextSelected | |
ImfCommitText | |
ImfDeleteSurroundingText | |
ImfFinishComposingText | |
ImfGetCursorPosition | |
ImfGetTextAfterCursor | |
ImfGetTextBeforeCursor | |
ImfSendEvent | |
ImfSetComposingRegion | |
ImfSetComposingText | |
ImfIsTextSelected | |
ImfIsAllTextSelected | |
Definition at line 40 of file qqnxinputcontext_imf.cpp.
◆ adjustIndex()
int adjustIndex |
( |
const QChar * | text, |
|
|
int | utf32Index, |
|
|
int | utf16StartIndex, |
|
|
int * | highSurrogateCount ) |
|
static |
◆ executeIMFRequest()
◆ imfAvailable()
◆ initEvent()
void initEvent |
( |
event_t * | pEvent, |
|
|
const input_session_t * | pSession, |
|
|
EventType | eventType, |
|
|
int | eventId, |
|
|
int | eventSize ) |
|
static |
◆ isSessionOkay()
bool isSessionOkay |
( |
input_session_t * | ic | ) |
|
|
static |
◆ Q_LOGGING_CATEGORY()
Q_LOGGING_CATEGORY |
( |
lcQpaInputMethods | , |
|
|
"qt.qpa.input.methods" | ) |
◆ toSpannableString()
spannable_string_t * toSpannableString |
( |
const QString & | text | ) |
|
|
static |
◆ p_ictrl_close_session
void(* p_ictrl_close_session)(input_session_t *) |
( |
input_session_t * | | ) |
= nullptr |
|
static |
◆ p_ictrl_dispatch_event
int32_t(* p_ictrl_dispatch_event)(event_t *) |
( |
event_t * | | ) |
= nullptr |
|
static |
◆ p_ictrl_get_num_active_sessions
int32_t(* p_ictrl_get_num_active_sessions)() |
( |
| ) |
= nullptr |
|
static |
◆ p_ictrl_open_session
const input_session_t *(* p_ictrl_open_session)(connection_interface_t *) |
( |
connection_interface_t * | | ) |
= nullptr |
|
static |
◆ p_imf_client_disconnect
void(* p_imf_client_disconnect)() |
( |
| ) |
= nullptr |
|
static |
◆ p_imf_client_init
int32_t(* p_imf_client_init)() |
( |
| ) |
= nullptr |
|
static |
◆ p_vkb_init_selection_service
int32_t(* p_vkb_init_selection_service)() |
( |
| ) |
= nullptr |
|
static |
◆ s_imfInitFailed
bool s_imfInitFailed = false |
|
static |
◆ sInputContextInstance
◆ sInputSession
const input_session_t * sInputSession = nullptr |
|
static |
◆ sSelectedColor
QColor sSelectedColor |
( |
0 | , |
|
|
0xb8 | , |
|
|
0 | , |
|
|
85 | ) |
|
static |
◆ sSpellCheckSession
const input_session_t * sSpellCheckSession = nullptr |
|
static |