6#include <QtGui/QGuiApplication>
7#include <QtGui/QScreen>
60 d->dirtyRegion +=
rect;
77 d->dirtyRegion += region;
134 return int(QWindow::devicePixelRatio());
163 d->handleUpdateEvent();
166 d->markWindowAsDirty();
197#include "moc_qpaintdevicewindow.cpp"
The QExposeEvent class contains event parameters for expose events. \inmodule QtGui.
QScreen * primaryScreen
the primary (or default) screen of the application.
QPaintDeviceWindowPrivate()
~QPaintDeviceWindowPrivate() override
bool event(QEvent *event) override
QPaintDeviceWindow(QPaintDeviceWindowPrivate &dd, QWindow *parent)
int width
the width of the window's geometry
void exposeEvent(QExposeEvent *) override
QPaintEngine * paintEngine() const override
void update()
Marks the entire window as dirty and schedules a repaint.
void paintEvent(QPaintEvent *event) override
Handles paint events passed in the event parameter.
int metric(PaintDeviceMetric metric) const override
int height
the height of the window's geometry
@ PdmDevicePixelRatioScaled
virtual int metric(PaintDeviceMetric metric) const
static qreal devicePixelRatioFScale()
The QPaintEvent class contains event parameters for paint events.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr int height() const noexcept
Returns the height of the rectangle.
constexpr int width() const noexcept
Returns the width of the rectangle.
The QRegion class specifies a clip region for a painter.
The QScreen class is used to query screen properties. \inmodule QtGui.
qreal logicalDotsPerInchY
the number of logical dots or pixels per inch in the vertical direction
qreal logicalDotsPerInchX
the number of logical dots or pixels per inch in the horizontal direction
QSizeF physicalSize
the screen's physical size (in millimeters)
QRect geometry
the screen's geometry in pixels
qreal physicalDotsPerInchY
the number of physical dots or pixels per inch in the vertical direction
qreal physicalDotsPerInchX
the number of physical dots or pixels per inch in the horizontal direction
constexpr qreal width() const noexcept
Returns the width.
constexpr qreal height() const noexcept
Returns the height.
virtual void exposeEvent(QExposeEvent *)
The expose event (ev) is sent by the window system when a window moves between the un-exposed and exp...
QSize size() const override
Returns the size of the window excluding any window frame.
virtual bool event(QEvent *) override
Override this to handle any event (ev) sent to the window.
Combined button and popup list for selecting options.
int qRound(qfloat16 d) noexcept
GLuint64 GLenum void * handle
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent