6#include "phosphorscreenscore_export.h"
52 QScreen* qscreen =
nullptr;
57 return !name.isEmpty();
63 return name == other.
name;
67 return !(*
this == other);
Definition IWindowTrackingService.h:26
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
bool isValid() const
A screen with no connector name is the null/absent value.
Definition PhysicalScreen.h:55
QRect geometry
Output geometry in the global desktop coordinate space.
Definition PhysicalScreen.h:47
bool operator!=(const PhysicalScreen &other) const
Definition PhysicalScreen.h:65
QString name
Connector name (e.g. "DP-3", "HDMI-A-1") — QScreen::name().
Definition PhysicalScreen.h:39
QString identifier
Stable EDID-aware identifier from ScreenIdentity (e.g.
Definition PhysicalScreen.h:44