Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Functions | |
void | createRootWindow (JNIEnv *, jclass, QtJniTypes::View rootView, jint x, jint y, jint width, jint height) |
void | deleteWindow (JNIEnv *, jclass, jlong windowRef) |
void | setWindowVisible (JNIEnv *, jclass, jlong windowRef, jboolean visible) |
void | resizeWindow (JNIEnv *, jclass, jlong windowRef, jint x, jint y, jint width, jint height) |
bool | registerNatives (QJniEnvironment &env) |
void QtAndroidWindowEmbedding::createRootWindow | ( | JNIEnv * | , |
jclass | , | ||
QtJniTypes::View | rootView, | ||
jint | x, | ||
jint | y, | ||
jint | width, | ||
jint | height ) |
Definition at line 17 of file androidwindowembedding.cpp.
References QMetaObject::invokeMethod(), qApp, and QWindow::setGeometry().
Referenced by registerNatives().
void QtAndroidWindowEmbedding::deleteWindow | ( | JNIEnv * | , |
jclass | , | ||
jlong | windowRef ) |
Definition at line 29 of file androidwindowembedding.cpp.
References window().
Referenced by registerNatives().
bool QtAndroidWindowEmbedding::registerNatives | ( | QJniEnvironment & | env | ) |
Definition at line 60 of file androidwindowembedding.cpp.
References createRootWindow(), deleteWindow(), resizeWindow(), and setWindowVisible().
Referenced by JNI_OnLoad().
void QtAndroidWindowEmbedding::resizeWindow | ( | JNIEnv * | , |
jclass | , | ||
jlong | windowRef, | ||
jint | x, | ||
jint | y, | ||
jint | width, | ||
jint | height ) |
Definition at line 49 of file androidwindowembedding.cpp.
References QMetaObject::invokeMethod(), qApp, QWindow::setGeometry(), and window().
Referenced by registerNatives().
void QtAndroidWindowEmbedding::setWindowVisible | ( | JNIEnv * | , |
jclass | , | ||
jlong | windowRef, | ||
jboolean | visible ) |
Definition at line 35 of file androidwindowembedding.cpp.
References QMetaObject::invokeMethod(), qApp, and window().
Referenced by registerNatives().