12#include <QtGui/QGuiApplication>
13#include <qpa/qplatformnativeinterface.h>
14#include <qpa/qwindowsysteminterface.h>
28 qt_extended_surface_destroy(
object());
37 update_generic_property(
name, byteValue);
44 wlmask |= QT_EXTENDED_SURFACE_ORIENTATION_PRIMARYORIENTATION;
46 wlmask |= QT_EXTENDED_SURFACE_ORIENTATION_PORTRAITORIENTATION;
48 wlmask |= QT_EXTENDED_SURFACE_ORIENTATION_LANDSCAPEORIENTATION;
50 wlmask |= QT_EXTENDED_SURFACE_ORIENTATION_INVERTEDPORTRAITORIENTATION;
52 wlmask |= QT_EXTENDED_SURFACE_ORIENTATION_INVERTEDLANDSCAPEORIENTATION;
53 set_content_orientation_mask(wlmask);
58 m_window->
window()->setVisibility(
static_cast<QWindow::Visibility
>(visibility));
85 set_window_flags(wlFlags);
static QByteArray fromRawData(const char *data, qsizetype size)
Constructs a QByteArray that uses the first size bytes of the data array.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
static bool handleCloseEvent(QWindow *window)
void setContentOrientationMask(Qt::ScreenOrientations mask)
Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags)
void extended_surface_close() override
~QWaylandExtendedSurface() override
void extended_surface_onscreen_visibility(int32_t visibility) override
void updateGenericProperty(const QString &name, const QVariant &value)
void extended_surface_set_generic_property(const QString &name, wl_array *value) override
QWaylandExtendedSurface(QWaylandWindow *window)
void setProperty(const QString &name, const QVariant &value)
struct wl_display * display
Combined button and popup list for selecting options.
@ InvertedLandscapeOrientation
@ InvertedPortraitOrientation
@ BypassWindowManagerHint
@ WindowOverridesSystemGestures
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask