![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qeglfskmsegldevicescreen.h>
Public Member Functions | |
| QEglFSKmsEglDeviceScreen (QEglFSKmsDevice *device, const QKmsOutput &output) | |
| ~QEglFSKmsEglDeviceScreen () | |
| QPlatformCursor * | cursor () const override |
| Reimplement this function in subclass to return the cursor of the screen. | |
| void | waitForFlip () override |
| Public Member Functions inherited from QEglFSKmsScreen | |
| QEglFSKmsScreen (QEglFSKmsDevice *device, const QKmsOutput &output, bool headless=false) | |
| ~QEglFSKmsScreen () | |
| void | setVirtualPosition (const QPoint &pos) |
| QRect | rawGeometry () const override |
| int | depth () const override |
| Reimplement in subclass to return current depth 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. | |
| QDpi | logicalDpi () const override |
| Reimplement this function in subclass to return the logical horizontal and vertical dots per inch metrics of the screen. | |
| QDpi | logicalBaseDpi () const override |
| Reimplement to return the base logical DPI for the platform. | |
| Qt::ScreenOrientation | nativeOrientation () const override |
| Reimplement this function in subclass to return the native orientation of the screen, e.g. | |
| Qt::ScreenOrientation | orientation () const override |
| Reimplement this function in subclass to return the current orientation of the screen, for example based on accelerometer data to determine the device orientation. | |
| QString | name () const override |
| QString | manufacturer () const override |
| Reimplement this function in subclass to return the manufacturer of this screen. | |
| QString | model () const override |
| Reimplement this function in subclass to return the model of this screen. | |
| QString | serialNumber () const override |
| Reimplement this function in subclass to return the serial number of this screen. | |
| qreal | refreshRate () const override |
| Reimplement this function in subclass to return the vertical refresh rate of the screen, in Hz. | |
| QList< QPlatformScreen * > | virtualSiblings () const override |
| Returns a list of all the platform screens that are part of the same virtual desktop. | |
| void | setVirtualSiblings (QList< QPlatformScreen * > sl) |
| void | removeSibling (QPlatformScreen *screen) |
| QList< QPlatformScreen::Mode > | modes () const override |
| Reimplement this function in subclass to return the list of modes for this screen. | |
| int | currentMode () const override |
| Reimplement this function in subclass to return the index of the current mode from the modes list. | |
| int | preferredMode () const override |
| Reimplement this function in subclass to return the preferred mode index from the modes list. | |
| QEglFSKmsDevice * | device () const |
| void | updateOutput (QKmsOutput output) |
| QKmsOutput & | output () |
| void | restoreMode () |
| SubpixelAntialiasingType | subpixelAntialiasingTypeHint () const override |
| Returns a hint about this screen's subpixel layout structure. | |
| QPlatformScreen::PowerState | powerState () const override |
| Returns the current power state. | |
| void | setPowerState (QPlatformScreen::PowerState state) override |
| Sets the power state for this screen. | |
| bool | isCursorOutOfRange () const |
| void | setCursorOutOfRange (bool b) |
| virtual void | pageFlipped (unsigned int sequence, unsigned int tv_sec, unsigned int tv_usec) |
| Public Member Functions inherited from QEglFSScreen | |
| QEglFSScreen (EGLDisplay display) | |
| ~QEglFSScreen () | |
| QRect | geometry () const override |
| Reimplement in subclass to return the pixel geometry of the screen. | |
| int | depth () const override |
| Reimplement in subclass to return current depth 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. | |
| QDpi | logicalDpi () const override |
| Reimplement this function in subclass to return the logical horizontal and vertical dots per inch metrics of the screen. | |
| QDpi | logicalBaseDpi () const override |
| Reimplement to return the base logical DPI for the platform. | |
| Qt::ScreenOrientation | nativeOrientation () const override |
| Reimplement this function in subclass to return the native orientation of the screen, e.g. | |
| Qt::ScreenOrientation | orientation () const override |
| Reimplement this function in subclass to return the current orientation of the screen, for example based on accelerometer data to determine the device orientation. | |
| QPlatformCursor * | cursor () const override |
| Reimplement this function in subclass to return the cursor of the screen. | |
| qreal | refreshRate () const override |
| Reimplement this function in subclass to return the vertical refresh rate of the screen, in Hz. | |
| QPixmap | grabWindow (WId wid, 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. | |
| EGLSurface | primarySurface () const |
| EGLDisplay | display () const |
| void | handleCursorMove (const QPoint &pos) |
| QWindow * | topLevelAt (const QPoint &point) const override |
| Return the given top level window for a given position. | |
| Public Member Functions inherited from QPlatformScreen | |
| QPlatformScreen () | |
| virtual | ~QPlatformScreen () |
| virtual bool | isPlaceholder () const |
| virtual QRect | availableGeometry () const |
| Reimplement in subclass to return the pixel geometry of the available space This normally is the desktop screen minus the task manager, global menubar etc. | |
| virtual QColorSpace | colorSpace () const |
| virtual qreal | devicePixelRatio () const |
| Reimplement this function in subclass to return the device pixel ratio for the screen. | |
| QWindowList | windows () const |
| Return all windows residing on this screen. | |
| const QPlatformScreen * | screenForPosition (const QPoint &point) const |
| Find the sibling screen corresponding to globalPos. | |
| QScreen * | screen () const |
Definition at line 11 of file qeglfskmsegldevicescreen.h.
| QT_BEGIN_NAMESPACE QEglFSKmsEglDeviceScreen::QEglFSKmsEglDeviceScreen | ( | QEglFSKmsDevice * | device, |
| const QKmsOutput & | output ) |
Definition at line 15 of file qeglfskmsegldevicescreen.cpp.
| QEglFSKmsEglDeviceScreen::~QEglFSKmsEglDeviceScreen | ( | ) |
Definition at line 53 of file qeglfskmsegldevicescreen.cpp.
References QEglFSKmsEglDevice::destroyGlobalCursor().
|
overridevirtual |
Reimplement this function in subclass to return the cursor of the screen.
The default implementation returns \nullptr.
Reimplemented from QPlatformScreen.
Definition at line 79 of file qeglfskmsegldevicescreen.cpp.
|
overridevirtual |
Reimplemented from QEglFSKmsScreen.
Definition at line 91 of file qeglfskmsegldevicescreen.cpp.