Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorRules::OverlayStyleToken Namespace Reference

Wire tokens for OverrideOverlayStyle's value param — the closed vocabulary the descriptor's validator + enumWireValues, the daemon consumer (LayoutRegistry::resolveContextOverlay), and the settings label layers (enumOptionLabel + the rule-list summary) all read from this single source, so a future rename can never desync the consumers. More...

Variables

constexpr QLatin1StringView Rectangles {"rectangles"}
 OverlayDisplayMode::ZoneRectangles (0).
constexpr QLatin1StringView Preview {"preview"}
 OverlayDisplayMode::LayoutPreview (1).

Detailed Description

Wire tokens for OverrideOverlayStyle's value param — the closed vocabulary the descriptor's validator + enumWireValues, the daemon consumer (LayoutRegistry::resolveContextOverlay), and the settings label layers (enumOptionLabel + the rule-list summary) all read from this single source, so a future rename can never desync the consumers.

Mirrors how engineModeOptions() centralizes the engine-mode vocabulary.

Variable Documentation

◆ Preview

QLatin1StringView PhosphorRules::OverlayStyleToken::Preview {"preview"}
inlineconstexpr

OverlayDisplayMode::LayoutPreview (1).

◆ Rectangles

QLatin1StringView PhosphorRules::OverlayStyleToken::Rectangles {"rectangles"}
inlineconstexpr

OverlayDisplayMode::ZoneRectangles (0).