33#include <QVariantList>
35#include "phosphorscreenscore_export.h"
Definition IWindowTrackingService.h:28
PHOSPHORSCREENSCORE_EXPORT QVariantList screenInfoListToVariantList(const QList< ScreenInfo > &screens)
Convert a ScreenInfo list to QVariantList suitable for QML consumption.
Lightweight descriptor for a connected screen, suitable for passing across settings UIs and QML.
Definition ScreenInfo.h:49
QString virtualDisplayName
User-facing name for virtual screens (e.g.
Definition ScreenInfo.h:73
bool isVirtualScreen
Definition ScreenInfo.h:67
bool pixelSizeKnown
True when pixelSize is a size the producer's own rules read: the compositor's accepted report of the ...
Definition ScreenInfo.h:89
bool isPrimary
Definition ScreenInfo.h:51
QString name
Definition ScreenInfo.h:50
int x
Screen-space position of the top-left corner, in the compositor's global coordinate space (the same s...
Definition ScreenInfo.h:64
QString manufacturer
Definition ScreenInfo.h:52
int width
Definition ScreenInfo.h:54
QString screenId
Definition ScreenInfo.h:66
int y
Definition ScreenInfo.h:65
QSize pixelSize
The screen's size in device pixels (a virtual screen's own region share), as the producer's getScreen...
Definition ScreenInfo.h:81
QString connectorName
Physical connector (e.g.
Definition ScreenInfo.h:69
int height
Definition ScreenInfo.h:55
QString model
Definition ScreenInfo.h:53
int virtualIndex
0-based index within the physical screen (-1 = not virtual).
Definition ScreenInfo.h:71