Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorTiles::ScriptedHelpers::ScriptMetadata Struct Reference

Parsed metadata from a scripted algorithm's metadata table. More...

#include <phosphor-tiles/include/PhosphorTiles/TileScriptMetadata.h>

Public Attributes

QString name
 
QString description
 
PhosphorLayout::ZoneNumberDisplay zoneNumberDisplay = PhosphorLayout::ZoneNumberDisplay::RendererDecides
 
qreal defaultSplitRatio = 0.0
 0.0 = unset, falls back to algorithm default
 
int defaultMaxWindows = 0
 0 = unset
 
int minimumWindows = 0
 0 = unset
 
int masterZoneIndex = -1
 
bool supportsMasterCount = false
 
bool supportsSplitRatio = false
 
bool supportsMemory = false
 
bool supportsScriptState = false
 Persists an opaque ctx.state bag across retiles (non-tree memory)
 
bool producesOverlappingZones = false
 
bool centerLayout = false
 
bool supportsMinSizes = true
 Default true — most algorithms support min sizes.
 
QString id
 Optional algorithm id (else "script:filename")
 
QVector< CustomParamDefcustomParams
 

Detailed Description

Parsed metadata from a scripted algorithm's metadata table.

Member Data Documentation

◆ centerLayout

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::centerLayout = false

◆ customParams

QVector<CustomParamDef> PhosphorTiles::ScriptedHelpers::ScriptMetadata::customParams

◆ defaultMaxWindows

int PhosphorTiles::ScriptedHelpers::ScriptMetadata::defaultMaxWindows = 0

0 = unset

◆ defaultSplitRatio

qreal PhosphorTiles::ScriptedHelpers::ScriptMetadata::defaultSplitRatio = 0.0

0.0 = unset, falls back to algorithm default

◆ description

QString PhosphorTiles::ScriptedHelpers::ScriptMetadata::description

◆ id

QString PhosphorTiles::ScriptedHelpers::ScriptMetadata::id

Optional algorithm id (else "script:filename")

◆ masterZoneIndex

int PhosphorTiles::ScriptedHelpers::ScriptMetadata::masterZoneIndex = -1

◆ minimumWindows

int PhosphorTiles::ScriptedHelpers::ScriptMetadata::minimumWindows = 0

0 = unset

◆ name

QString PhosphorTiles::ScriptedHelpers::ScriptMetadata::name

◆ producesOverlappingZones

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::producesOverlappingZones = false

◆ supportsMasterCount

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::supportsMasterCount = false

◆ supportsMemory

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::supportsMemory = false

◆ supportsMinSizes

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::supportsMinSizes = true

Default true — most algorithms support min sizes.

◆ supportsScriptState

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::supportsScriptState = false

Persists an opaque ctx.state bag across retiles (non-tree memory)

◆ supportsSplitRatio

bool PhosphorTiles::ScriptedHelpers::ScriptMetadata::supportsSplitRatio = false

◆ zoneNumberDisplay

PhosphorLayout::ZoneNumberDisplay PhosphorTiles::ScriptedHelpers::ScriptMetadata::zoneNumberDisplay = PhosphorLayout::ZoneNumberDisplay::RendererDecides

The documentation for this struct was generated from the following file: