Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qscreen_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSCREEN_P_H
5#define QSCREEN_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include <QtGui/qscreen.h>
20#include <qpa/qplatformscreen.h>
21#include "qhighdpiscaling_p.h"
22
23#include <QtCore/private/qobject_p.h>
24
26
38
40{
41 Q_DECLARE_PUBLIC(QScreen)
42public:
43 void updateGeometry();
45
47 {
48 public:
49 explicit UpdateEmitter(QScreen *screen);
51 UpdateEmitter(UpdateEmitter&&) noexcept = default;
52 private:
53 Q_DISABLE_COPY(UpdateEmitter)
54 QScreenData initialState;
55 };
56};
57
59
60#endif // QSCREEN_P_H
The QPlatformScreen class provides an abstraction for visual displays.
\inmodule QtCore\reentrant
Definition qrect.h:30
UpdateEmitter(QScreen *screen)
Definition qscreen.cpp:785
UpdateEmitter(UpdateEmitter &&) noexcept=default
void updatePrimaryOrientation()
Definition qscreen.cpp:615
void updateGeometry()
Definition qscreen.cpp:59
The QScreen class is used to query screen properties. \inmodule QtGui.
Definition qscreen.h:32
Combined button and popup list for selecting options.
ScreenOrientation
Definition qnamespace.h:271
@ LandscapeOrientation
Definition qnamespace.h:274
@ PrimaryOrientation
Definition qnamespace.h:272
QPair< qreal, qreal > QDpi
QScreen * screen
[1]
Definition main.cpp:29
double qreal
Definition qtypes.h:187
QDpi logicalDpi
Definition qscreen_p.h:35
qreal refreshRate
Definition qscreen_p.h:36
QPlatformScreen * platformScreen
Definition qscreen_p.h:29
QRect availableGeometry
Definition qscreen_p.h:34
QRect geometry
Definition qscreen_p.h:33
Qt::ScreenOrientation primaryOrientation
Definition qscreen_p.h:32
Qt::ScreenOrientation orientation
Definition qscreen_p.h:31