6#include <QtCore/qvariant.h>
7#include <qpa/qwindowsysteminterface.h>
8#include <QtCore/private/qjnihelpers_p.h>
9#include <QtCore/qjnitypes.h>
16 m_view =
reinterpret_cast<jobject
>(nativeHandle);
45 if (m_nativeViewInserted)
56 if (!m_view.isValid())
61 if (!visible && m_nativeViewInserted) {
63 m_nativeViewInserted =
false;
64 }
else if (!m_nativeViewInserted) {
73 && m_nativeViewInserted) {
75 m_nativeViewInserted =
false;
76 }
else if (m_view.isValid() && !m_nativeViewInserted){
87 return reinterpret_cast<WId
>(m_view.object());
93void QAndroidPlatformForeignWindow::addViewToWindow()
98 jint
x = 0,
y = 0,
w = -1,
h = -1;
103 m_nativeViewInserted =
true;
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
void setViewVisibility(jobject view, bool visible)
constexpr const T & qMax(const T &a, const T &b)
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h