7#include <UIKit/UIKit.h>
9#include <qpa/qplatformscreen.h>
11@class QIOSOrientationListener;
20#if !defined(Q_OS_VISIONOS)
31 int depth()
const override;
43#if !defined(Q_OS_VISIONOS)
52 void deliverUpdateRequests()
const;
54#if !defined(Q_OS_VISIONOS)
55 UIScreen *m_uiScreen =
nullptr;
58 QRect m_availableGeometry;
60#if !defined(Q_OS_VISIONOS)
64 CADisplayLink *m_displayLink =
nullptr;
qreal devicePixelRatio() const override
Reimplement this function in subclass to return the device pixel ratio for the screen.
void setUpdatesPaused(bool)
int depth() const override
Reimplement in subclass to return current depth of the screen.
QRect availableGeometry() const override
Reimplement in subclass to return the pixel geometry of the available space This normally is the desk...
Qt::ScreenOrientation nativeOrientation() const override
Reimplement this function in subclass to return the native orientation of the screen,...
QIOSScreen(UIScreen *screen)
qreal refreshRate() const override
Reimplement this function in subclass to return the vertical refresh rate of the screen,...
QImage::Format format() const override
Reimplement in subclass to return the image format which corresponds to the screen format.
QSizeF physicalSize() const override
Reimplement this function in subclass to return the physical size of the screen, in millimeters.
QRect geometry() const override
Reimplement in subclass to return the pixel geometry of the screen.
Qt::ScreenOrientation orientation() const override
Reimplement this function in subclass to return the current orientation of the screen,...
QDpi logicalBaseDpi() const override
Reimplement to return the base logical DPI for the platform.
QPixmap grabWindow(WId window, int x, int y, int width, int height) const override
This function is called when Qt needs to be able to grab the content of a window.
UIScreen * uiScreen() const
QString name() const override
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
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
QPair< qreal, qreal > QDpi
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height