Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowsScreenData Struct Reference

#include <qwindowsscreen.h>

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

Detailed Description

Definition at line 16 of file qwindowsscreen.h.

Member Enumeration Documentation

◆ Flags

Enumerator
PrimaryScreen 
VirtualDesktop 
LockScreen 

Definition at line 18 of file qwindowsscreen.h.

Member Data Documentation

◆ availableGeometry

QRect QWindowsScreenData::availableGeometry

Definition at line 26 of file qwindowsscreen.h.

◆ depth

int QWindowsScreenData::depth = 32

Definition at line 29 of file qwindowsscreen.h.

◆ deviceIndex

std::optional<int> QWindowsScreenData::deviceIndex = std::nullopt

Definition at line 41 of file qwindowsscreen.h.

◆ deviceName

QString QWindowsScreenData::deviceName

Definition at line 39 of file qwindowsscreen.h.

◆ devicePath

QString QWindowsScreenData::devicePath

Definition at line 40 of file qwindowsscreen.h.

◆ dpi

QDpi QWindowsScreenData::dpi {96, 96}

Definition at line 27 of file qwindowsscreen.h.

◆ flags

unsigned QWindowsScreenData::flags = VirtualDesktop

Definition at line 31 of file qwindowsscreen.h.

◆ format

Definition at line 30 of file qwindowsscreen.h.

◆ geometry

QRect QWindowsScreenData::geometry

Definition at line 25 of file qwindowsscreen.h.

◆ hMonitor

HMONITOR QWindowsScreenData::hMonitor = nullptr

Definition at line 38 of file qwindowsscreen.h.

◆ manufacturer

QString QWindowsScreenData::manufacturer

Definition at line 33 of file qwindowsscreen.h.

◆ model

QString QWindowsScreenData::model

Definition at line 34 of file qwindowsscreen.h.

◆ name

QString QWindowsScreenData::name

◆ orientation

Qt::ScreenOrientation QWindowsScreenData::orientation = Qt::LandscapeOrientation

Definition at line 36 of file qwindowsscreen.h.

◆ physicalSizeMM

QSizeF QWindowsScreenData::physicalSizeMM

Definition at line 28 of file qwindowsscreen.h.

◆ refreshRateHz

qreal QWindowsScreenData::refreshRateHz = 60

Definition at line 37 of file qwindowsscreen.h.

◆ serialNumber

QString QWindowsScreenData::serialNumber

Definition at line 35 of file qwindowsscreen.h.


The documentation for this struct was generated from the following file: