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>
52 QPoint globalPosition()
const;
54 QWindow *topLevelWindow(QWindow::AncestorMode
mode = QWindow::IncludeTransients)
const;
59 virtual void setVisible(
bool visible);
60 void updateVisibility();
64 void updateSiblingPosition(SiblingPosition);
66 bool windowRecreationRequired(
QScreen *newScreen)
const;
67 void create(
bool recursive, WId nativeHandle = 0);
69 void setTopLevelScreen(
QScreen *newScreen,
bool recreate);
70 void connectToScreen(
QScreen *topLevelScreen);
71 void disconnectFromScreen();
72 void emitScreenChangedRecursion(
QScreen *newScreen);
76 virtual void clearFocusObject();
85 virtual bool participatesInLastWindowClosed()
const;
86 virtual bool treatAsVisible()
const;
90 { positionAutomatic = resizeAutomatic =
a; }
92 void updateDevicePixelRatio();
103 bool visibilityOnDestroy =
false;
104 bool exposed =
false;
105 bool inClose =
false;
113 QWindow::Visibility visibility = QWindow::Hidden;
114 bool resizeEventPending =
true;
115 bool receivedExpose =
false;
117 bool positionAutomatic =
true;
122 bool resizeAutomatic =
true;
133 bool blockedByModalWindow =
false;
135 bool updateRequestPending =
false;
136 bool transientParentPropertySet =
false;
143 bool hasCursor =
false;
146 bool compositing =
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 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]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent