7#include <QtGui/QScreen>
8#include <qpa/qwindowsysteminterface.h>
50 const bool forceFullScreen = !envDisableForceFullScreen && !platformDisableForceFullScreen && fbScreen->
windowCount() == 0;
108 if (oldGeometryLocal != currentGeometry)
110 auto topLeft = currentGeometry.
topLeft();
111 for (
auto rect : region)
T fetchAndAddRelaxed(T valueToAdd) noexcept
virtual int windowCount() const
virtual Flags flags() const
QRect geometry() const override
Reimplement in subclass to return the pixel geometry of the screen.
virtual void lower(QFbWindow *window)
@ DontForceFirstWindowToFullScreen
virtual void raise(QFbWindow *window)
virtual void setDirty(const QRect &rect)
virtual void removeWindow(QFbWindow *window)
virtual void addWindow(QFbWindow *window)
QFbWindow(QWindow *window)
Qt::WindowFlags windowFlags() const
QFbScreen * platformScreen() const
void setVisible(bool visible) override
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false.
virtual void repaint(const QRegion &)
Qt::WindowFlags mWindowFlags
void setGeometry(const QRect &rect) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
Qt::WindowStates mWindowState
void lower() override
Reimplement to be able to let Qt lower windows to the bottom of the desktop.
void raise() override
Reimplement to be able to let Qt raise windows to the top of the desktop.
void setWindowFlags(Qt::WindowFlags type) override
Requests setting the window flags of this surface to flags.
void setWindowState(Qt::WindowStates state) override
Requests setting the window state of this surface to type.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr bool isEmpty() const noexcept
Returns true if the rectangle is empty, otherwise returns false.
constexpr QPoint topLeft() const noexcept
Returns the position of the rectangle's top-left corner.
The QRegion class specifies a clip region for a painter.
QPlatformScreen * handle() const
Get the platform screen handle.
static void handleGeometryChange(QWindow *window, const QRect &newRect)
static bool handleExposeEvent(QWindow *window, const QRegion ®ion)
Combined button and popup list for selecting options.
#define Q_BASIC_ATOMIC_INITIALIZER(a)
QT_BEGIN_NAMESPACE static Q_CONSTINIT QBasicAtomicInt winIdGenerator
GLenum GLuint GLintptr GLsizeiptr size
[1]
Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept