Namespaces | |
| namespace | Direction |
| Canonical direction tokens accepted by VirtualScreenSwapper. | |
| namespace | ScreenIdentity |
| Stable cross-process screen identifier helpers. | |
Classes | |
| class | DBusScreenAdaptor |
D-Bus adaptor for the org.plasmazones.Screen screen-topology surface: screen queries, virtual-screen mutation, the JSON round-trip for setVirtualScreenConfig, caches, and signals. More... | |
| class | IConfigStore |
| Pluggable persistence for virtual-screen configurations. More... | |
| class | InMemoryConfigStore |
| Trivial IConfigStore that holds its state in process memory. More... | |
| class | IPanelSource |
| Pluggable producer of panel-reservation offsets per screen. More... | |
| class | IScreenProvider |
| Pluggable source of the connected-output set and its lifecycle. More... | |
| class | NoOpPanelSource |
| Trivial IPanelSource that reports zero offsets and ready=true. More... | |
| struct | PhysicalScreen |
| A physical output as ScreenManager sees it — decoupled from QScreen. More... | |
| class | PlasmaPanelSource |
| IPanelSource implementation that queries KDE Plasma Shell over D-Bus for panel-reservation offsets. More... | |
| class | QtScreenProvider |
| Production IScreenProvider — a thin wrapper over QGuiApplication. More... | |
| struct | ResolverEndpoint |
| D-Bus endpoint that ScreenResolver queries. More... | |
| struct | ScreenInfo |
| Lightweight descriptor for a connected screen, suitable for passing across settings UIs and QML. More... | |
| class | ScreenManager |
| Centralized screen-topology service. More... | |
| struct | ScreenManagerConfig |
| Construction-time wiring for ScreenManager. More... | |
| class | ScreenResolver |
| Resolve a global cursor position to the effective screen ID. More... | |
| struct | VirtualScreenConfig |
| Configuration for how a physical screen is subdivided into virtual screens. More... | |
| struct | VirtualScreenDef |
| Definition of a single virtual screen within a physical screen. More... | |
| class | VirtualScreenSwapper |
| Scoped helper that performs virtual-screen swap and rotate operations against an injected IConfigStore. More... | |
Functions | |
| size_t | qHash (const PhysicalScreen &screen, size_t seed=0) |
| Hash on the connector name so PhysicalScreen can key a QHash/QSet. | |
| PHOSPHORSCREENSCORE_EXPORT QVariantList | screenInfoListToVariantList (const QList< ScreenInfo > &screens) |
| Convert a ScreenInfo list to QVariantList suitable for QML consumption. | |
|
inline |
Hash on the connector name so PhysicalScreen can key a QHash/QSet.
| PHOSPHORSCREENSCORE_EXPORT QVariantList PhosphorScreens::screenInfoListToVariantList | ( | const QList< ScreenInfo > & | screens | ) |
Convert a ScreenInfo list to QVariantList suitable for QML consumption.
Each entry is a QVariantMap with keys: name, isPrimary, manufacturer, model, resolution, width, height, x, y, screenId, connectorName, isVirtualScreen, virtualIndex / virtualDisplayName (virtual screens only), and a pre-computed displayLabel that QML selectors / context menus can render without duplicating label-building logic. Always present: name, isPrimary, isVirtualScreen, x, y, displayLabel. Conditional: width/height (only when positive), resolution (only when both positive), manufacturer / model / screenId / connectorName (only when non-empty).