Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
AssignmentEntry.h File Reference
#include <PhosphorLayoutApi/LayoutId.h>
#include <QHash>
#include <QList>
#include <QString>
#include <QVariantMap>
#include <QtGlobal>
#include <optional>

Go to the source code of this file.

Classes

struct  PhosphorZones::LayoutAssignmentKey
 Key for layout assignment (screen + desktop + activity) More...
 
struct  PhosphorZones::AssignmentEntry
 Explicit per-context assignment entry storing both mode fields. More...
 
struct  PhosphorZones::ContextGapOverride
 Per-context gap override resolved from window rules. More...
 
struct  PhosphorZones::ContextOverlayOverride
 Per-context overlay-property overrides resolved from window-rule actions. More...
 

Namespaces

namespace  PhosphorZones
 

Functions

size_t PhosphorZones::qHash (const LayoutAssignmentKey &key, size_t seed=0)
 
QString PhosphorZones::modeToWireString (AssignmentEntry::Mode mode)
 Canonical wire-string for an AssignmentEntry::Mode.
 
std::optional< AssignmentEntry::ModePhosphorZones::modeFromWireString (const QString &wire)
 Inverse of modeToWireString.
 
QList< AssignmentEntry::ModePhosphorZones::allModes ()
 Iteration order for every AssignmentEntry::Mode value.