![]() |
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 100 of file androidjniinput.cpp.
Definition at line 100 of file androidjniinput.cpp.
| int QtAndroidInput::getSelectHandleWidth | ( | ) |
Definition at line 85 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::updateSelectionHandles().
|
static |
Definition at line 323 of file androidjniinput.cpp.
References QtAndroid::androidPlatformIntegration().
|
static |
Definition at line 908 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext().
| void QtAndroidInput::hideSoftwareKeyboard | ( | ) |
Definition at line 66 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::hideInputPanel(), and QAndroidInputContext::reset().
| bool QtAndroidInput::isSoftwareKeyboardVisible | ( | ) |
Definition at line 73 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::isInputPanelVisible().
|
static |
Definition at line 378 of file androidjniinput.cpp.
|
static |
Definition at line 895 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_softwareKeyboardRect.
|
static |
Definition at line 879 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_softwareKeyboardRect.
|
static |
Definition at line 859 of file androidjniinput.cpp.
|
static |
Definition at line 869 of file androidjniinput.cpp.
|
static |
Definition at line 229 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), and m_ignoreMouseEvents.
|
static |
Definition at line 434 of file androidjniinput.cpp.
|
static |
Definition at line 834 of file androidjniinput.cpp.
|
static |
Definition at line 167 of file androidjniinput.cpp.
References m_ignoreMouseEvents, and m_mouseGrabber.
|
static |
Definition at line 195 of file androidjniinput.cpp.
References m_ignoreMouseEvents.
|
static |
Definition at line 180 of file androidjniinput.cpp.
References m_ignoreMouseEvents, and m_mouseGrabber.
|
static |
Definition at line 209 of file androidjniinput.cpp.
References m_ignoreMouseEvents.
| bool QtAndroidInput::registerNatives | ( | QJniEnvironment & | env | ) |
Definition at line 938 of file androidjniinput.cpp.
References methods.
| void QtAndroidInput::resetSoftwareKeyboard | ( | ) |
Definition at line 59 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::reset().
|
static |
Definition at line 144 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 49 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::showInputPanel().
| QRect QtAndroidInput::softwareKeyboardRect | ( | ) |
Definition at line 80 of file androidjniinput.cpp.
|
static |
Definition at line 387 of file androidjniinput.cpp.
|
static |
Definition at line 111 of file androidjniinput.cpp.
References BUTTON_BACK, BUTTON_FORWARD, BUTTON_PRIMARY, BUTTON_SECONDARY, BUTTON_STYLUS_PRIMARY, BUTTON_STYLUS_SECONDARY, and BUTTON_TERTIARY.
|
inlinestatic |
Definition at line 854 of file androidjniinput.cpp.
|
static |
Definition at line 264 of file androidjniinput.cpp.
References QAndroidInputContext::androidInputContext(), QtAndroid::androidPlatformIntegration(), QAndroidPlatformScreen::defaultAvailableGeometry(), m_touchPoints, QAndroidPlatformIntegration::screen(), and QtAndroid::windowFromId().
|
static |
Definition at line 259 of file androidjniinput.cpp.
References m_touchPoints.
|
static |
Definition at line 362 of file androidjniinput.cpp.
References m_touchPoints, QtAndroid::platformInterfaceMutex(), and QtAndroid::windowFromId().
|
static |
Definition at line 346 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 91 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
| void QtAndroidInput::updateSelection | ( | int | selStart, |
| int | selEnd, | ||
| int | candidatesStart, | ||
| int | candidatesEnd ) |
Definition at line 41 of file androidjniinput.cpp.
References QtAndroid::backendRegister().
Referenced by QAndroidInputContext::updateCursorPosition().
|
static |
Definition at line 31 of file androidjniinput.cpp.
Referenced by longPress(), mouseDown(), mouseMove(), mouseUp(), and mouseWheel().
|
static |
Definition at line 32 of file androidjniinput.cpp.
Referenced by sendMouseButtonEvents().
Definition at line 38 of file androidjniinput.cpp.
Referenced by mouseDown(), and mouseUp().
|
static |
Definition at line 34 of file androidjniinput.cpp.
Referenced by keyboardGeometryChanged(), and keyboardVisibilityChanged().
|
static |
Definition at line 36 of file androidjniinput.cpp.
Referenced by touchAdd(), touchBegin(), touchCancel(), and touchEnd().
|
static |
Definition at line 919 of file androidjniinput.cpp.
Referenced by registerNatives().