7#include <QtGui/qtguiglobal.h>
9#include <QtCore/QObject>
10#include <QtCore/QRect>
11#include <QtCore/QSize>
12#include <QtCore/QSizeF>
14#include <QtGui/QTransform>
16#include <QtCore/qnamespace.h>
17#include <QtCore/qnativeinterface.h>
27#ifndef QT_NO_DEBUG_STREAM
42 Q_PROPERTY(
QSize availableSize READ availableSize NOTIFY availableGeometryChanged)
43 Q_PROPERTY(
QSize virtualSize READ virtualSize NOTIFY virtualGeometryChanged)
44 Q_PROPERTY(
QSize availableVirtualSize READ availableVirtualSize NOTIFY virtualGeometryChanged)
46 Q_PROPERTY(
QRect availableGeometry READ availableGeometry NOTIFY availableGeometryChanged)
47 Q_PROPERTY(
QRect virtualGeometry READ virtualGeometry NOTIFY virtualGeometryChanged)
49 NOTIFY virtualGeometryChanged)
52 NOTIFY physicalDotsPerInchChanged)
54 NOTIFY physicalDotsPerInchChanged)
55 Q_PROPERTY(
qreal physicalDotsPerInch READ physicalDotsPerInch NOTIFY physicalDotsPerInchChanged)
56 Q_PROPERTY(
qreal logicalDotsPerInchX READ logicalDotsPerInchX NOTIFY logicalDotsPerInchChanged)
57 Q_PROPERTY(
qreal logicalDotsPerInchY READ logicalDotsPerInchY NOTIFY logicalDotsPerInchChanged)
58 Q_PROPERTY(
qreal logicalDotsPerInch READ logicalDotsPerInch NOTIFY logicalDotsPerInchChanged)
59 Q_PROPERTY(
qreal devicePixelRatio READ devicePixelRatio NOTIFY physicalDotsPerInchChanged)
61 NOTIFY primaryOrientationChanged)
64 Q_PROPERTY(
qreal refreshRate READ refreshRate NOTIFY refreshRateChanged)
79 QRect geometry()
const;
81 QSizeF physicalSize()
const;
83 qreal physicalDotsPerInchX()
const;
84 qreal physicalDotsPerInchY()
const;
85 qreal physicalDotsPerInch()
const;
87 qreal logicalDotsPerInchX()
const;
88 qreal logicalDotsPerInchY()
const;
89 qreal logicalDotsPerInch()
const;
91 qreal devicePixelRatio()
const;
93 QSize availableSize()
const;
94 QRect availableGeometry()
const;
99 QSize virtualSize()
const;
100 QRect virtualGeometry()
const;
102 QSize availableVirtualSize()
const;
103 QRect availableVirtualGeometry()
const;
116 QPixmap grabWindow(WId
window = 0,
int x = 0,
int y = 0,
int w = -1,
int h = -1);
118 qreal refreshRate()
const;
144#ifndef QT_NO_DEBUG_STREAM
Collection of utility functions for UI scaling.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QScreen class is used to query screen properties. \inmodule QtGui.
void logicalDotsPerInchChanged(qreal dpi)
void availableGeometryChanged(const QRect &geometry)
void physicalSizeChanged(const QSizeF &size)
void geometryChanged(const QRect &geometry)
void virtualGeometryChanged(const QRect &rect)
void refreshRateChanged(qreal refreshRate)
void primaryOrientationChanged(Qt::ScreenOrientation orientation)
This signal is emitted when the primary orientation of the screen changes with orientation as an argu...
void physicalDotsPerInchChanged(qreal dpi)
void orientationChanged(Qt::ScreenOrientation orientation)
This signal is emitted when the orientation of the screen changes with orientation as an argument.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QWindowSystemInterface provides an event queue for the QPA platform.
Combined button and popup list for selecting options.
#define QT_DECLARE_NATIVE_INTERFACE_ACCESSOR(T)
Q_CORE_EXPORT QDebug operator<<(QDebug, const QObject *)
GLboolean GLboolean GLboolean b
GLuint64 GLenum void * handle
GLint GLint GLint GLint GLint x
[0]
GLint GLenum GLsizei GLsizei GLsizei depth
GLfloat GLfloat GLfloat w
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLfloat GLfloat GLfloat GLfloat h
QSqlQueryModel * model
[16]