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

Wire tokens for SetScrollStripAxis's value param — which way the matched context's strip runs. More...

Variables

constexpr QLatin1StringView Auto {"auto"}
constexpr QLatin1StringView Horizontal {"horizontal"}
constexpr QLatin1StringView Vertical {"vertical"}

Detailed Description

Wire tokens for SetScrollStripAxis's value param — which way the matched context's strip runs.

Ints match the Scrolling.StripAxis config space (auto 0 / horizontal 1 / vertical 2) and the spellings match the settings schema's intChoices (settingsschema_scrolling.cpp) so a rule and the setting it overrides name the same thing. This is the INTENT space, not PhosphorProtocol::ScrollAxis: auto has no engine enumerator (it resolves from the work-area shape at relayout), and the two spaces number horizontal differently, so never cast between them.

Variable Documentation

◆ Auto

QLatin1StringView PhosphorRules::StripAxisToken::Auto {"auto"}
inlineconstexpr

◆ Horizontal

QLatin1StringView PhosphorRules::StripAxisToken::Horizontal {"horizontal"}
inlineconstexpr

◆ Vertical

QLatin1StringView PhosphorRules::StripAxisToken::Vertical {"vertical"}
inlineconstexpr