|  | Qt 6.x
    The Qt SDK | 
#include <qwindowsscreen.h>
 Collaboration diagram for QWindowsScreenData:
 Collaboration diagram for QWindowsScreenData:| Public Types | |
| enum | Flags { PrimaryScreen = 0x1 , VirtualDesktop = 0x2 , LockScreen = 0x4 } | 
| Public Attributes | |
| QRect | geometry | 
| QRect | availableGeometry | 
| QDpi | dpi {96, 96} | 
| QSizeF | physicalSizeMM | 
| int | depth = 32 | 
| QImage::Format | format = QImage::Format_ARGB32_Premultiplied | 
| unsigned | flags = VirtualDesktop | 
| QString | name | 
| QString | manufacturer | 
| QString | model | 
| QString | serialNumber | 
| Qt::ScreenOrientation | orientation = Qt::LandscapeOrientation | 
| qreal | refreshRateHz = 60 | 
| HMONITOR | hMonitor = nullptr | 
| QString | deviceName | 
| QString | devicePath | 
| std::optional< int > | deviceIndex = std::nullopt | 
Definition at line 17 of file qwindowsscreen.h.
| Enumerator | |
|---|---|
| PrimaryScreen | |
| VirtualDesktop | |
| LockScreen | |
Definition at line 19 of file qwindowsscreen.h.
| QRect QWindowsScreenData::availableGeometry | 
Definition at line 27 of file qwindowsscreen.h.
Referenced by QWindowsScreen::availableGeometry(), and QWindowsScreen::handleChanges().
| int QWindowsScreenData::depth = 32 | 
Definition at line 30 of file qwindowsscreen.h.
Referenced by QWindowsScreen::depth().
| std::optional<int> QWindowsScreenData::deviceIndex = std::nullopt | 
Definition at line 42 of file qwindowsscreen.h.
Referenced by QWindowsScreen::name().
| QString QWindowsScreenData::deviceName | 
Definition at line 40 of file qwindowsscreen.h.
| QString QWindowsScreenData::devicePath | 
Definition at line 41 of file qwindowsscreen.h.
| QDpi QWindowsScreenData::dpi {96, 96} | 
Definition at line 28 of file qwindowsscreen.h.
Referenced by QWindowsScreen::handleChanges(), and QWindowsScreen::logicalDpi().
| unsigned QWindowsScreenData::flags = VirtualDesktop | 
Definition at line 32 of file qwindowsscreen.h.
Referenced by QWindowsScreen::virtualSiblings().
| QImage::Format QWindowsScreenData::format = QImage::Format_ARGB32_Premultiplied | 
Definition at line 31 of file qwindowsscreen.h.
Referenced by QWindowsScreen::format().
| QRect QWindowsScreenData::geometry | 
Definition at line 26 of file qwindowsscreen.h.
Referenced by QWindowsScreen::geometry(), and QWindowsScreen::handleChanges().
| HMONITOR QWindowsScreenData::hMonitor = nullptr | 
Definition at line 39 of file qwindowsscreen.h.
Referenced by QWindowsScreen::handle(), and QWindowsScreen::handleChanges().
| QString QWindowsScreenData::manufacturer | 
Definition at line 34 of file qwindowsscreen.h.
Referenced by QWindowsScreen::manufacturer().
| QString QWindowsScreenData::model | 
Definition at line 35 of file qwindowsscreen.h.
Referenced by QWindowsScreen::model().
| QString QWindowsScreenData::name | 
Definition at line 33 of file qwindowsscreen.h.
Referenced by QWindowsScreen::handleChanges(), and QWindowsScreen::name().
| Qt::ScreenOrientation QWindowsScreenData::orientation = Qt::LandscapeOrientation | 
Definition at line 37 of file qwindowsscreen.h.
Referenced by QWindowsScreen::handleChanges(), and QWindowsScreen::orientation().
| QSizeF QWindowsScreenData::physicalSizeMM | 
Definition at line 29 of file qwindowsscreen.h.
Referenced by QWindowsScreen::handleChanges(), and QWindowsScreen::physicalSize().
| qreal QWindowsScreenData::refreshRateHz = 60 | 
Definition at line 38 of file qwindowsscreen.h.
Referenced by QWindowsScreen::refreshRate().
| QString QWindowsScreenData::serialNumber | 
Definition at line 36 of file qwindowsscreen.h.
Referenced by QWindowsScreen::serialNumber().