5#include <QtCore/qdebug.h>
6#include <QtGui/qguiapplication.h>
7#include <qpa/qplatformcursor.h>
8#include <QtGui/private/qguiapplication_p.h>
9#include <qpa/qplatformscreen_p.h>
10#include <qpa/qplatformintegration.h>
11#include <QtGui/qscreen.h>
12#include <QtGui/qwindow.h>
13#include <private/qhighdpiscaling_p.h>
14#include <private/qwindow_p.h>
29 "QPlatformScreens should be removed via QWindowSystemInterface::handleScreenRemoved()");
109 list << const_cast<QPlatformScreen *>(
this);
133 static const int dpi = 100;
229 return window->screen()->handle();
339 if (supportsMaximizeUsingFullscreen
342 w->handle()->setGeometry(newNativeGeometry);
344 w->handle()->setGeometry(newNativeAvailableGeometry);
346 w->handle()->setGeometry(newNativeGeometry);
368 qWarning(
"Use QScreen version of %sBetween() when passing Qt::PrimaryOrientation",
"angle");
383 int angles[] = { 0, 90, 180, 270 };
384 return angles[delta];
390 qWarning(
"Use QScreen version of %sBetween() when passing Qt::PrimaryOrientation",
"transform");
421 qWarning(
"Use QScreen version of %sBetween() when passing Qt::PrimaryOrientation",
"map");
446 static int type = -1;
451 else if (env ==
"BGR")
453 else if (env ==
"VRGB")
455 else if (env ==
"VBGR")
535 if (!m_virtualSibling)
static QPlatformIntegration * platformIntegration()
static QWindowList topLevelWindows()
Returns a list of the top-level windows in the application.
static QWindowList allWindows()
Returns a list of all the windows in the application.
static QList< QScreen * > screens()
Returns a list of all the screens associated with the windowing system the application is connected t...
const_reverse_iterator crbegin() const noexcept
void append(parameter_type t)
const_reverse_iterator crend() const noexcept
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
bool contains(const QRect &r, bool proper=false) const noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
constexpr QSize size() const noexcept
Returns the size of the rectangle.
The QScreen class is used to query screen properties. \inmodule QtGui.
QRect availableGeometry
the screen's available geometry in pixels
QRect geometry
the screen's geometry in pixels
QPlatformScreen * handle() const
Get the platform screen handle.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSet< QString >::iterator it
T toNativePixels(const T &value, const C *context)
Combined button and popup list for selecting options.
@ InvertedPortraitOrientation
@ MaximizeUsingFullscreenGeometryHint
std::pair< T1, T2 > QPair
static bool contains(const QJsonArray &haystack, unsigned needle)
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei height
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
#define Q_ASSERT_X(cond, x, msg)
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept