4#ifndef QOFFSCREENWINDOW_H
5#define QOFFSCREENWINDOW_H
7#include <qpa/qplatformbackingstore.h>
8#include <qpa/qplatformwindow.h>
28 WId
winId()
const override;
33 void setFrameMarginsEnabled(
bool enabled);
36 QRect m_normalGeometry;
38 bool m_positionIncludesFrame;
40 bool m_pendingGeometryChangeOnShow;
41 bool m_frameMarginsRequested;
void setWindowState(Qt::WindowStates states) override
Requests setting the window state of this surface to type.
static QOffscreenWindow * windowForWinId(WId id)
WId winId() const override
Reimplement in subclasses to return a handle to the native window.
void requestActivateWindow() override
Reimplement to let Qt be able to request activation/focus for a window.
void setGeometry(const QRect &rect) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
QMargins frameMargins() const override
void setVisible(bool visible) override
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled