39 #ifndef QPLATFORMWINDOW_H
40 #define QPLATFORMWINDOW_H
51 #include <QtGui/qtguiglobal.h>
52 #include <QtCore/qscopedpointer.h>
53 #include <QtCore/qrect.h>
54 #include <QtCore/qmargins.h>
55 #include <QtCore/qstring.h>
56 #include <QtGui/qwindowdefs.h>
57 #include <QtGui/qwindow.h>
58 #include <qpa/qplatformopenglcontext.h>
59 #include <qpa/qplatformsurface.h>
63 #define QWINDOWSIZE_MAX ((1<<24)-1)
90 virtual void setGeometry(
const QRect &
rect);
91 virtual QRect geometry()
const;
92 virtual QRect normalGeometry()
const;
94 virtual QMargins frameMargins()
const;
95 virtual QMargins safeAreaMargins()
const;
97 virtual void setVisible(
bool visible);
98 virtual void setWindowFlags(Qt::WindowFlags
flags);
101 virtual WId winId()
const;
106 virtual void setWindowIcon(
const QIcon &
icon);
107 virtual bool close();
108 virtual void raise();
109 virtual void lower();
111 virtual bool isExposed()
const;
114 virtual bool isEmbedded()
const;
121 virtual void propagateSizeHints();
124 virtual void setMask(
const QRegion ®ion);
125 virtual void requestActivateWindow();
129 virtual qreal devicePixelRatio()
const;
131 virtual bool setKeyboardGrabEnabled(
bool grab);
132 virtual bool setMouseGrabEnabled(
bool grab);
134 virtual bool setWindowModified(
bool modified);
138 virtual bool startSystemResize(Qt::Edges edges);
139 virtual bool startSystemMove();
141 virtual void setFrameStrutEventsEnabled(
bool enabled);
142 virtual bool frameStrutEventsEnabled()
const;
144 virtual void setAlertState(
bool enabled);
145 virtual bool isAlertState()
const;
147 virtual void invalidateSurface();
150 int defaultWidth,
int defaultHeight,
151 const QScreen **resultingScreenReturn =
nullptr);
153 virtual void requestUpdate();
154 bool hasPendingUpdateRequest()
const;
155 virtual void deliverUpdateRequest();
159 QSize windowMinimumSize()
const;
160 QSize windowMaximumSize()
const;
161 QSize windowBaseSize()
const;
162 QSize windowSizeIncrement()
const;
163 QRect windowGeometry()
const;
164 QRect windowFrameGeometry()
const;
165 QRectF windowClosestAcceptableGeometry(
const QRectF &nativeRect)
const;
The QEvent class is the base class of all event classes. Event objects contain event parameters.
The QIcon class provides scalable icons in different modes and states.
The QMargins class defines the four margins of a rectangle.
The QPointF class defines a point in the plane using floating point precision.
The QPoint class defines a point in the plane using integer precision.
The QRectF class defines a finite rectangle in the plane using floating point precision.
The QRect class defines a rectangle in the plane using integer precision.
The QRegion class specifies a clip region for a painter.
The QScreen class is used to query screen properties. \inmodule QtGui.
The QSize class defines the size of a two-dimensional object using integer point precision.
The QString class provides a Unicode character string.
The QWindow class represents a window in the underlying windowing system.
#define Q_DISABLE_COPY_MOVE(Class)
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLenum GLuint GLint level
GLfloat GLfloat GLfloat w
[0]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei const GLuint GLboolean enabled
file setParent(multiPart)
socketLayer initialize(QAbstractSocket::TcpSocket, QAbstractSocket::IPv4Protocol)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent