![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Enumerations | |
enum | AndroidMouseButton { BUTTON_PRIMARY = 0x00000001 , BUTTON_SECONDARY = 0x00000002 , BUTTON_TERTIARY = 0x00000004 , BUTTON_BACK = 0x00000008 , BUTTON_FORWARD = 0x00000010 , BUTTON_STYLUS_PRIMARY = 0x00000020 , BUTTON_STYLUS_SECONDARY = 0x00000040 , BUTTON_PRIMARY = 0x00000001 , BUTTON_SECONDARY = 0x00000002 , BUTTON_TERTIARY = 0x00000004 , BUTTON_BACK = 0x00000008 , BUTTON_FORWARD = 0x00000010 , BUTTON_STYLUS_PRIMARY = 0x00000020 , BUTTON_STYLUS_SECONDARY = 0x00000040 } |
enum | AndroidMouseButton { BUTTON_PRIMARY = 0x00000001 , BUTTON_SECONDARY = 0x00000002 , BUTTON_TERTIARY = 0x00000004 , BUTTON_BACK = 0x00000008 , BUTTON_FORWARD = 0x00000010 , BUTTON_STYLUS_PRIMARY = 0x00000020 , BUTTON_STYLUS_SECONDARY = 0x00000040 , BUTTON_PRIMARY = 0x00000001 , BUTTON_SECONDARY = 0x00000002 , BUTTON_TERTIARY = 0x00000004 , BUTTON_BACK = 0x00000008 , BUTTON_FORWARD = 0x00000010 , BUTTON_STYLUS_PRIMARY = 0x00000020 , BUTTON_STYLUS_SECONDARY = 0x00000040 } |
Functions | |
void | updateSelection (int selStart, int selEnd, int candidatesStart, int candidatesEnd) |
void | showSoftwareKeyboard (int left, int top, int width, int height, int inputHints, int enterKeyType) |
void | resetSoftwareKeyboard () |
void | hideSoftwareKeyboard () |
bool | isSoftwareKeyboardVisible () |
QRect | softwareKeyboardRect () |
int | getSelectHandleWidth () |
void | updateHandles (int mode, QPoint editMenuPos, uint32_t editButtons, QPoint cursor, QPoint anchor, bool rtl) |
static Qt::MouseButtons | toMouseButtons (jint j_buttons) |
static void | sendMouseButtonEvents (QWindow *topLevel, QPoint localPos, QPoint globalPos, jint mouseButtonState, QEvent::Type type) |
static void | mouseDown (JNIEnv *, jobject, jint winId, jint x, jint y, jint mouseButtonState) |
static void | mouseUp (JNIEnv *, jobject, jint winId, jint x, jint y, jint mouseButtonState) |
static void | mouseMove (JNIEnv *, jobject, jint winId, jint x, jint y, jint mouseButtonState) |
static void | mouseWheel (JNIEnv *, jobject, jint winId, jint x, jint y, jfloat hdelta, jfloat vdelta) |
static void | longPress (JNIEnv *, jobject, jint winId, jint x, jint y) |
static void | touchBegin (JNIEnv *, jobject, jint) |
static void | touchAdd (JNIEnv *, jobject, jint winId, jint id, jint action, jboolean, jint x, jint y, jfloat major, jfloat minor, jfloat rotation, jfloat pressure) |
static QPointingDevice * | getTouchDevice () |
static void | touchEnd (JNIEnv *, jobject, jint winId, jint) |
static void | touchCancel (JNIEnv *, jobject, jint winId) |
static bool | isTabletEventSupported (JNIEnv *, jobject) |
static void | tabletEvent (JNIEnv *, jobject, jint winId, jint deviceId, jlong time, jint action, jint pointerType, jint buttonState, jfloat x, jfloat y, jfloat pressure) |
static QKeyCombination | mapAndroidKey (int key) |
static Qt::KeyboardModifiers | mapAndroidModifiers (jint modifiers) |
static QString | toString (jint unicode) |
static void | keyDown (JNIEnv *, jobject, jint key, jint unicode, jint modifier, jboolean autoRepeat) |
static void | keyUp (JNIEnv *, jobject, jint key, jint unicode, jint modifier, jboolean autoRepeat) |
static void | keyboardVisibilityChanged (JNIEnv *, jobject, jboolean visibility) |
static void | keyboardGeometryChanged (JNIEnv *, jobject, jint x, jint y, jint w, jint h) |
static void | handleLocationChanged (JNIEnv *, jobject, int id, int x, int y) |
bool | registerNatives (QJniEnvironment &env) |
Variables | |
static bool | m_ignoreMouseEvents = false |
static Qt::MouseButtons | m_lastSeenButtons = Qt::NoButton |
static QRect | m_softwareKeyboardRect |
static QList< QWindowSystemInterface::TouchPoint > | m_touchPoints |
static QPointer< QWindow > | m_mouseGrabber |
static const JNINativeMethod | methods [] |
Definition at line 99 of file androidjniinput.cpp.
Definition at line 99 of file androidjniinput.cpp.
int QtAndroidInput::getSelectHandleWidth | ( | ) |
Definition at line 84 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::updateSelectionHandles().
|
static |
Definition at line 322 of file androidjniinput.cpp.
References QtAndroid::androidPlatformIntegration().
|
static |
Definition at line 907 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext().
void QtAndroidInput::hideSoftwareKeyboard | ( | ) |
Definition at line 65 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::hideInputPanel(), and QAndroidInputContext::reset().
bool QtAndroidInput::isSoftwareKeyboardVisible | ( | ) |
Definition at line 72 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::isInputPanelVisible().
|
static |
Definition at line 377 of file androidjniinput.cpp.
|
static |
Definition at line 894 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_softwareKeyboardRect.
|
static |
Definition at line 878 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_softwareKeyboardRect.
|
static |
Definition at line 858 of file androidjniinput.cpp.
|
static |
Definition at line 868 of file androidjniinput.cpp.
|
static |
Definition at line 228 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_ignoreMouseEvents.
|
static |
Definition at line 433 of file androidjniinput.cpp.
|
static |
Definition at line 833 of file androidjniinput.cpp.
|
static |
Definition at line 166 of file androidjniinput.cpp.
References m_ignoreMouseEvents, and m_mouseGrabber.
|
static |
Definition at line 194 of file androidjniinput.cpp.
References m_ignoreMouseEvents.
|
static |
Definition at line 179 of file androidjniinput.cpp.
References m_ignoreMouseEvents, and m_mouseGrabber.
|
static |
Definition at line 208 of file androidjniinput.cpp.
References m_ignoreMouseEvents.
bool QtAndroidInput::registerNatives | ( | QJniEnvironment & | env | ) |
Definition at line 937 of file androidjniinput.cpp.
void QtAndroidInput::resetSoftwareKeyboard | ( | ) |
Definition at line 58 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::reset().
|
static |
Definition at line 143 of file androidjniinput.cpp.
References m_lastSeenButtons.
void QtAndroidInput::showSoftwareKeyboard | ( | int | left, |
int | top, | ||
int | width, | ||
int | height, | ||
int | inputHints, | ||
int | enterKeyType ) |
Definition at line 48 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
QRect QtAndroidInput::softwareKeyboardRect | ( | ) |
Definition at line 79 of file androidjniinput.cpp.
|
static |
Definition at line 386 of file androidjniinput.cpp.
|
static |
Definition at line 110 of file androidjniinput.cpp.
|
inlinestatic |
Definition at line 853 of file androidjniinput.cpp.
|
static |
Definition at line 263 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), QtAndroid::androidPlatformIntegration(), QAndroidPlatformScreen::defaultAvailableGeometry(), m_touchPoints, QAndroidPlatformIntegration::screen(), and QtAndroid::windowFromId().
|
static |
Definition at line 258 of file androidjniinput.cpp.
References m_touchPoints.
|
static |
Definition at line 361 of file androidjniinput.cpp.
References m_touchPoints, QtAndroid::platformInterfaceMutex(), and QtAndroid::windowFromId().
|
static |
Definition at line 345 of file androidjniinput.cpp.
References m_touchPoints, QtAndroid::platformInterfaceMutex(), and QtAndroid::windowFromId().
void QtAndroidInput::updateHandles | ( | int | mode, |
QPoint | editMenuPos = QPoint(), | ||
uint32_t | editButtons = 0, | ||
QPoint | cursor = QPoint(), | ||
QPoint | anchor = QPoint(), | ||
bool | rtl = false ) |
Definition at line 90 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
void QtAndroidInput::updateSelection | ( | int | selStart, |
int | selEnd, | ||
int | candidatesStart, | ||
int | candidatesEnd ) |
Definition at line 40 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::updateCursorPosition().
|
static |
Definition at line 30 of file androidjniinput.cpp.
Referenced by longPress(), mouseDown(), mouseMove(), mouseUp(), and mouseWheel().
|
static |
Definition at line 31 of file androidjniinput.cpp.
Referenced by sendMouseButtonEvents().
Definition at line 37 of file androidjniinput.cpp.
Referenced by mouseDown(), and mouseUp().
|
static |
Definition at line 33 of file androidjniinput.cpp.
Referenced by keyboardGeometryChanged(), and keyboardVisibilityChanged().
|
static |
Definition at line 35 of file androidjniinput.cpp.
Referenced by touchAdd(), touchBegin(), touchCancel(), and touchEnd().
|
static |
Definition at line 918 of file androidjniinput.cpp.