18#include <QtGui/private/qtguiglobal_p.h>
19#include <QtGui/qscreen.h>
20#include <QtGui/qwindow.h>
21#include <qpa/qplatformwindow.h>
23#include <QtCore/private/qobject_p.h>
24#include <QtCore/qelapsedtimer.h>
25#include <QtCore/qxpfunctional.h>
26#include <QtGui/qicon.h>
27#include <QtGui/qpalette.h>
29#include <QtCore/qpointer.h>
54 QPoint globalPosition()
const;
56 QWindow *topLevelWindow(QWindow::AncestorMode
mode = QWindow::IncludeTransients)
const;
61 virtual void setVisible(
bool visible);
62 void updateVisibility();
66 void updateSiblingPosition(SiblingPosition);
68 bool windowRecreationRequired(
QScreen *newScreen)
const;
69 void create(
bool recursive);
71 void setTopLevelScreen(
QScreen *newScreen,
bool recreate);
72 void connectToScreen(
QScreen *topLevelScreen);
73 void disconnectFromScreen();
74 void emitScreenChangedRecursion(
QScreen *newScreen);
76 void setTransientParent(
QWindow *parent);
78 virtual void clearFocusObject();
97 virtual bool participatesInLastWindowClosed()
const;
98 virtual bool treatAsVisible()
const;
102 { positionAutomatic = resizeAutomatic =
a; }
104 bool updateDevicePixelRatio();
115 bool visibilityOnDestroy =
false;
116 bool exposed =
false;
117 bool inClose =
false;
125 QWindow::Visibility visibility = QWindow::Hidden;
126 bool resizeEventPending =
true;
127 bool receivedExpose =
false;
129 bool positionAutomatic =
true;
134 bool resizeAutomatic =
true;
145 bool blockedByModalWindow =
false;
147 bool updateRequestPending =
false;
148 bool transientParentPropertySet =
false;
155 bool hasCursor =
false;
The QCursor class provides a mouse cursor with an arbitrary shape.
The QIcon class provides scalable icons in different modes and states.
The QPalette class contains color groups for each widget state.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
The QScreen class is used to query screen properties. \inmodule QtGui.
\macro QT_RESTRICTED_CAST_FROM_ASCII
SurfaceType
The SurfaceType enum describes what type of surface this is.
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
QPointer< QScreen > topLevelScreen
static QWindowPrivate * get(QWindow *window)
QPointer< QWindow > transientParent
~QWindowPrivate() override
QElapsedTimer lastComposeTime
void setAutomaticPositionAndResizeEnabled(bool a)
virtual void setFocusToTarget(FocusTarget, Qt::FocusReason)
virtual QWindow * eventReceiver()
virtual QPalette windowPalette() const
virtual void processSafeAreaMarginsChanged()
QSurfaceFormat requestedFormat
Combined button and popup list for selecting options.
static void applyCursor(QWindow *w, QCursor c)
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLdouble GLdouble GLdouble GLdouble q
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)
item setCursor(Qt::IBeamCursor)
[1]