12#include <qpa/qwindowsysteminterface.h>
13#include <private/qhighdpiscaling_p.h>
29 const QRect requestedNativeGeometry =
31 const QRect availableDeviceIndependentGeometry = (
window->parent())
32 ?
window->parent()->geometry()
37 window, requestedNativeGeometry, availableDeviceIndependentGeometry.
width(),
38 availableDeviceIndependentGeometry.
height());
40 if (requestedNativeGeometry != finalNativeGeometry)
60 availableGeometry.
right(), availableGeometry.
bottom());
145 if (!isNonRegularWindow) {
T fetchAndAddRelaxed(T valueToAdd) noexcept
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr bool isEmpty() const noexcept
Returns true if the rectangle is empty, otherwise returns false.
constexpr int height() const noexcept
Returns the height of the rectangle.
constexpr int bottom() const noexcept
Returns the y-coordinate of the rectangle's bottom edge.
constexpr int top() const noexcept
Returns the y-coordinate of the rectangle's top edge.
constexpr int left() const noexcept
Returns the x-coordinate of the rectangle's left edge.
constexpr int width() const noexcept
Returns the width of the rectangle.
constexpr int right() const noexcept
Returns the x-coordinate of the rectangle's right edge.
The QRegion class specifies a clip region for a painter.
QPlatformScreen * handle() const
Get the platform screen handle.
static bool flushWindowSystemEvents(QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents)
Make Qt Gui process all events on the event queue immediately.
static void handleGeometryChange(QWindow *window, const QRect &newRect)
static bool handleExposeEvent(QWindow *window, const QRegion ®ion)
Qt::WindowFlags flags
the window flags of the window
T toNativePixels(const T &value, const C *context)
T fromNativePixels(const T &value, const C *context)
Combined button and popup list for selecting options.
@ SYSTEM_UI_VISIBILITY_TRANSLUCENT
@ SYSTEM_UI_VISIBILITY_FULLSCREEN
@ SYSTEM_UI_VISIBILITY_NORMAL
void setSystemUiVisibility(SystemUiVisibility uiVisibility)
@ MaximizeUsingFullscreenGeometryHint
#define Q_BASIC_ATOMIC_INITIALIZER(a)
QT_BEGIN_NAMESPACE static Q_CONSTINIT QBasicAtomicInt winIdGenerator
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]