6#include "phosphorscreenscore_export.h"
57 return !
name.isEmpty();
67 return !(*
this == other);
Definition IWindowTrackingService.h:28
size_t qHash(const PhysicalScreen &screen, size_t seed=0)
Hash on the connector name so PhysicalScreen can key a QHash/QSet.
Definition PhysicalScreen.h:72
A physical output as ScreenManager sees it — decoupled from QScreen.
Definition PhysicalScreen.h:37
bool operator==(const PhysicalScreen &other) const
Identity is the connector — see the class note.
Definition PhysicalScreen.h:61
QString name
Connector name (e.g. "DP-3", "HDMI-A-1") — QScreen::name().
Definition PhysicalScreen.h:39
bool isValid() const
A screen with no connector name is the null/absent value.
Definition PhysicalScreen.h:55
QString identifier
Stable EDID-aware identifier from ScreenIdentity (e.g.
Definition PhysicalScreen.h:44
bool operator!=(const PhysicalScreen &other) const
Definition PhysicalScreen.h:65
QScreen * qscreen
Underlying QScreen, or nullptr for a synthetic (test) screen.
Definition PhysicalScreen.h:52
QRect geometry
Output geometry in the global desktop coordinate space.
Definition PhysicalScreen.h:47