4#ifndef QPLATFORMSCREEN_H
5#define QPLATFORMSCREEN_H
16#include <QtGui/qtguiglobal.h>
17#include <QtCore/qmetatype.h>
18#include <QtCore/qnamespace.h>
19#include <QtCore/qcoreevent.h>
20#include <QtCore/qvariant.h>
21#include <QtCore/qrect.h>
22#include <QtCore/qobject.h>
24#include <QtGui/qcolorspace.h>
25#include <QtGui/qcursor.h>
26#include <QtGui/qimage.h>
27#include <QtGui/qwindowdefs.h>
28#include <qpa/qplatformpixmap.h>
40typedef QPair<qreal, qreal>
QDpi;
85 virtual QSizeF physicalSize()
const;
86 virtual QDpi logicalDpi()
const;
87 virtual QDpi logicalBaseDpi()
const;
88 virtual qreal devicePixelRatio()
const;
90 virtual qreal refreshRate()
const;
98 virtual QList<QPlatformScreen *> virtualSiblings()
const;
109 virtual QString manufacturer()
const;
111 virtual QString serialNumber()
const;
116 virtual PowerState powerState()
const;
117 virtual void setPowerState(PowerState
state);
119 virtual QList<Mode> modes()
const;
121 virtual int currentMode()
const;
122 virtual int preferredMode()
const;
131 void resizeMaximizedWindows();
133 QScopedPointer<QPlatformScreenPrivate>
d_ptr;
153 int depth()
const override {
return 32; }
155 QList<QPlatformScreen *> virtualSiblings()
const override;
157 bool m_virtualSibling =
true;
The QColorSpace class provides a color space abstraction.
Format
The following image formats are available in Qt.
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.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static QFontEngine::SubpixelAntialiasingType subpixelAntialiasingTypeHint()
QPair< qreal, qreal > QDpi
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height
GLboolean GLboolean GLboolean GLboolean a
[7]
static QT_BEGIN_NAMESPACE QWindow * topLevelAt(const QPoint &pos)
QSqlQueryModel * model
[16]