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

JSON wire-format keys for zone & layout serialisation. More...

Variables

constexpr QLatin1String Id {"id"}
 
constexpr QLatin1String ZoneId {"zoneId"}
 
constexpr QLatin1String Name {"name"}
 
constexpr QLatin1String ZoneNumber {"zoneNumber"}
 
constexpr QLatin1String RelativeGeometry {"relativeGeometry"}
 
constexpr QLatin1String Appearance {"appearance"}
 
constexpr QLatin1String X {"x"}
 
constexpr QLatin1String Y {"y"}
 
constexpr QLatin1String Width {"width"}
 
constexpr QLatin1String Height {"height"}
 
constexpr QLatin1String ZOrder {"zOrder"}
 
constexpr QLatin1String HighlightColor {"highlightColor"}
 
constexpr QLatin1String InactiveColor {"inactiveColor"}
 
constexpr QLatin1String BorderColor {"borderColor"}
 
constexpr QLatin1String ActiveOpacity {"activeOpacity"}
 
constexpr QLatin1String InactiveOpacity {"inactiveOpacity"}
 
constexpr QLatin1String BorderWidth {"borderWidth"}
 
constexpr QLatin1String BorderRadius {"borderRadius"}
 
constexpr QLatin1String UseCustomColors {"useCustomColors"}
 
constexpr QLatin1String IsHighlighted {"isHighlighted"}
 
constexpr QLatin1String DefaultOrder {"defaultOrder"}
 
constexpr QLatin1String Description {"description"}
 
constexpr QLatin1String Zones {"zones"}
 
constexpr QLatin1String ZonePadding {"zonePadding"}
 
constexpr QLatin1String OuterGap {"outerGap"}
 
constexpr QLatin1String ShowZoneNumbers {"showZoneNumbers"}
 
constexpr QLatin1String OverlayDisplayMode {"overlayDisplayMode"}
 
constexpr QLatin1String IsBuiltIn {"isBuiltIn"}
 Live wire-format key — still emitted by sibling libraries and src/common/layoutpreviewserialize.cpp when serialising layout previews.
 
constexpr QLatin1String IsSystem {"isSystem"}
 Live wire-format key — system classification derived from the layout's source path.
 
constexpr QLatin1String HasSystemOrigin {"hasSystemOrigin"}
 Live wire-format key — set when a user layout overrides a system original (see SystemSourcePath).
 
constexpr QLatin1String SystemSourcePath {"systemSourcePath"}
 Original system layout path.
 
constexpr QLatin1String ZoneCount {"zoneCount"}
 
constexpr QLatin1String Category {"category"}
 0=Manual, 1=Autotile
 
constexpr QLatin1String ShaderId {"shaderId"}
 
constexpr QLatin1String ShaderParams {"shaderParams"}
 
constexpr QLatin1String HiddenFromSelector {"hiddenFromSelector"}
 
constexpr QLatin1String AllowedScreens {"allowedScreens"}
 
constexpr QLatin1String AllowedDesktops {"allowedDesktops"}
 
constexpr QLatin1String AllowedActivities {"allowedActivities"}
 
constexpr QLatin1String AspectRatioClassKey {"aspectRatioClass"}
 
constexpr QLatin1String MinAspectRatio {"minAspectRatio"}
 
constexpr QLatin1String MaxAspectRatio {"maxAspectRatio"}
 
constexpr QLatin1String AppRules {"appRules"}
 
constexpr QLatin1String Pattern {"pattern"}
 
constexpr QLatin1String TargetScreen {"targetScreen"}
 
constexpr QLatin1String AutoAssign {"autoAssign"}
 
constexpr QLatin1String UseFullScreenGeometry {"useFullScreenGeometry"}
 
constexpr QLatin1String GeometryMode {"geometryMode"}
 
constexpr QLatin1String FixedGeometry {"fixedGeometry"}
 
constexpr QLatin1String FixedX {"fixedX"}
 
constexpr QLatin1String FixedY {"fixedY"}
 
constexpr QLatin1String FixedWidth {"fixedWidth"}
 
constexpr QLatin1String FixedHeight {"fixedHeight"}
 

Detailed Description

JSON wire-format keys for zone & layout serialisation.

The zone/layout file format is part of phosphor-zones' contract — any other library that reads or writes a layout file must spell these keys the same way. Owning them here keeps the wire format under the library's source control rather than scattered across the application.

Keys that aren't part of the zone/layout file format proper (window- assignment runtime state, screen-info enumeration, virtual-screen configuration, pywal colour ingestion, autotile JSON) live in their respective owners — see the application's config layer for host-specific keys, and PhosphorTiles::AutotileJsonKeys for autotile overrides.

Variable Documentation

◆ ActiveOpacity

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ActiveOpacity {"activeOpacity"}
inlineconstexpr

◆ AllowedActivities

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AllowedActivities {"allowedActivities"}
inlineconstexpr

◆ AllowedDesktops

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AllowedDesktops {"allowedDesktops"}
inlineconstexpr

◆ AllowedScreens

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AllowedScreens {"allowedScreens"}
inlineconstexpr

◆ Appearance

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Appearance {"appearance"}
inlineconstexpr

◆ AppRules

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AppRules {"appRules"}
inlineconstexpr

◆ AspectRatioClassKey

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AspectRatioClassKey {"aspectRatioClass"}
inlineconstexpr

◆ AutoAssign

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::AutoAssign {"autoAssign"}
inlineconstexpr

◆ BorderColor

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::BorderColor {"borderColor"}
inlineconstexpr

◆ BorderRadius

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::BorderRadius {"borderRadius"}
inlineconstexpr

◆ BorderWidth

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::BorderWidth {"borderWidth"}
inlineconstexpr

◆ Category

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Category {"category"}
inlineconstexpr

0=Manual, 1=Autotile

◆ DefaultOrder

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::DefaultOrder {"defaultOrder"}
inlineconstexpr

◆ Description

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Description {"description"}
inlineconstexpr

◆ FixedGeometry

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::FixedGeometry {"fixedGeometry"}
inlineconstexpr

◆ FixedHeight

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::FixedHeight {"fixedHeight"}
inlineconstexpr

◆ FixedWidth

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::FixedWidth {"fixedWidth"}
inlineconstexpr

◆ FixedX

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::FixedX {"fixedX"}
inlineconstexpr

◆ FixedY

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::FixedY {"fixedY"}
inlineconstexpr

◆ GeometryMode

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::GeometryMode {"geometryMode"}
inlineconstexpr

◆ HasSystemOrigin

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::HasSystemOrigin {"hasSystemOrigin"}
inlineconstexpr

Live wire-format key — set when a user layout overrides a system original (see SystemSourcePath).

◆ Height

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Height {"height"}
inlineconstexpr

◆ HiddenFromSelector

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::HiddenFromSelector {"hiddenFromSelector"}
inlineconstexpr

◆ HighlightColor

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::HighlightColor {"highlightColor"}
inlineconstexpr

◆ Id

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Id {"id"}
inlineconstexpr

◆ InactiveColor

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::InactiveColor {"inactiveColor"}
inlineconstexpr

◆ InactiveOpacity

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::InactiveOpacity {"inactiveOpacity"}
inlineconstexpr

◆ IsBuiltIn

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::IsBuiltIn {"isBuiltIn"}
inlineconstexpr

Live wire-format key — still emitted by sibling libraries and src/common/layoutpreviewserialize.cpp when serialising layout previews.

◆ IsHighlighted

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::IsHighlighted {"isHighlighted"}
inlineconstexpr

◆ IsSystem

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::IsSystem {"isSystem"}
inlineconstexpr

Live wire-format key — system classification derived from the layout's source path.

◆ MaxAspectRatio

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::MaxAspectRatio {"maxAspectRatio"}
inlineconstexpr

◆ MinAspectRatio

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::MinAspectRatio {"minAspectRatio"}
inlineconstexpr

◆ Name

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Name {"name"}
inlineconstexpr

◆ OuterGap

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::OuterGap {"outerGap"}
inlineconstexpr

◆ OverlayDisplayMode

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::OverlayDisplayMode {"overlayDisplayMode"}
inlineconstexpr

◆ Pattern

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Pattern {"pattern"}
inlineconstexpr

◆ RelativeGeometry

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::RelativeGeometry {"relativeGeometry"}
inlineconstexpr

◆ ShaderId

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ShaderId {"shaderId"}
inlineconstexpr

◆ ShaderParams

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ShaderParams {"shaderParams"}
inlineconstexpr

◆ ShowZoneNumbers

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ShowZoneNumbers {"showZoneNumbers"}
inlineconstexpr

◆ SystemSourcePath

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::SystemSourcePath {"systemSourcePath"}
inlineconstexpr

Original system layout path.

◆ TargetScreen

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::TargetScreen {"targetScreen"}
inlineconstexpr

◆ UseCustomColors

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::UseCustomColors {"useCustomColors"}
inlineconstexpr

◆ UseFullScreenGeometry

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::UseFullScreenGeometry {"useFullScreenGeometry"}
inlineconstexpr

◆ Width

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Width {"width"}
inlineconstexpr

◆ X

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::X {"x"}
inlineconstexpr

◆ Y

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Y {"y"}
inlineconstexpr

◆ ZoneCount

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ZoneCount {"zoneCount"}
inlineconstexpr

◆ ZoneId

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ZoneId {"zoneId"}
inlineconstexpr

◆ ZoneNumber

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ZoneNumber {"zoneNumber"}
inlineconstexpr

◆ ZonePadding

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ZonePadding {"zonePadding"}
inlineconstexpr

◆ Zones

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::Zones {"zones"}
inlineconstexpr

◆ ZOrder

constexpr QLatin1String PhosphorZones::ZoneJsonKeys::ZOrder {"zOrder"}
inlineconstexpr