|
| PHOSPHORSHELL_EXPORT qreal | PhosphorShell::PlacementMapParser::hueFor (const QRectF &rect) |
| | Hue for a cell rect: its horizontal centre, clamped to 0..1.
|
| PHOSPHORSHELL_EXPORT QList< Cell > | PhosphorShell::PlacementMapParser::parseSnappingLayout (const QString &layoutJson, const QSize &workAreaSize, qreal deviceScale=0.0) |
| | Parse a LayoutRegistry.getLayout JSON document into cells.
|
| PHOSPHORSHELL_EXPORT QList< Cell > | PhosphorShell::PlacementMapParser::parseTileBatch (const QList< TileRect > &tiles, const QString &screenId, const QRect &workArea) |
| | Normalise a tile batch for one screen against the work area.
|
| PHOSPHORSHELL_EXPORT StripParse | PhosphorShell::PlacementMapParser::parseVisibleStrip (const QString &stripJson) |
| | Parse Scrolling.visibleStripJson into cells plus the lens.
|
| PHOSPHORSHELL_EXPORT StripParse | PhosphorShell::PlacementMapParser::parseStripModel (const QString &modelJson) |
| | Parse Scrolling.stripModelJson into cells plus the lens.
|
| PHOSPHORSHELL_EXPORT QList< TileRect > | PhosphorShell::PlacementMapParser::tileRectsFromJson (const QString &tilesJson) |
| | Read a Tiling.currentTilesJson array into tile rects.
|
| PHOSPHORSHELL_EXPORT QList< Cell > | PhosphorShell::PlacementMapParser::stackedColumns (const QStringList &windowIds) |
| | Equal columns for a desktop whose tiles cannot be replayed.
|
| PHOSPHORSHELL_EXPORT QList< Cell > | PhosphorShell::PlacementMapParser::parseCurrentTiles (const QString &tilesJson, const QString &screenId, const QRect &workArea) |
| | parseTileBatch(tileRectsFromJson(tilesJson), screenId, workArea).
|
| PHOSPHORSHELL_EXPORT void | PhosphorShell::PlacementMapParser::applyOccupancy (QList< Cell > &cells, const QHash< QString, QStringList > &occupancy, const QString &focusedWindowId={}) |
| | Mark cells occupied from a window → zone-ids map.
|
| PHOSPHORSHELL_EXPORT void | PhosphorShell::PlacementMapParser::applyOccupancy (QList< Cell > &cells, const QList< Occupant > &occupants, const QString &focusedWindowId={}) |
| | Mark cells occupied from an ordered occupant list.
|
| PHOSPHORSHELL_EXPORT void | PhosphorShell::PlacementMapParser::applyMetadata (QList< Cell > &cells, const QHash< QString, WindowMeta > &meta) |
| | Fill appId / title from meta for every cell with a window id the table knows.
|
| PHOSPHORSHELL_EXPORT void | PhosphorShell::PlacementMapParser::applyUrgency (QList< Cell > &cells, const QSet< QString > &urgent) |
| | Mark the cells whose windowId is in urgent.
|
| PHOSPHORSHELL_EXPORT void | PhosphorShell::PlacementMapParser::applyFocusByWindowId (QList< Cell > &cells, const QString &windowId) |
| | Mark the cell whose id equals windowId focused (tiling cells are keyed by window id).
|
| PHOSPHORSHELL_EXPORT QVariantList | PhosphorShell::PlacementMapParser::toVariantList (const QList< Cell > &cells) |
| | The QML-facing shape: one QVariantMap per cell with the documented keys (id, x, y, w, h, t, occupied, focused, label, zoneNumber, stack, stripT, columnIndex, windowId, appId, title, urgent).
|
| PHOSPHORSHELL_EXPORT QVariantMap | PhosphorShell::PlacementMapParser::lensToVariant (const QRectF &lens, bool vertical=false) |
| | {x, y, w, h, vertical} for a lens band, or an empty map for a null rect.
|
| PHOSPHORSHELL_EXPORT int | PhosphorShell::PlacementMapParser::modeForScreen (const QString &statesJson, const QString &screenId) |
| | Look up one screen's mode in a getScreenStates JSON array.
|
| PHOSPHORSHELL_EXPORT ScreenState | PhosphorShell::PlacementMapParser::screenStateFor (const QString &statesJson, const QString &screenId) |
| | One screen's full row of a getScreenStates JSON array: the mode plus the resolved layout / algorithm / template ids and the daemon's own (desktop, activity) for the screen.
|
| PHOSPHORSHELL_EXPORT QString | PhosphorShell::PlacementMapParser::dropProxyJson (const QRect &rect, const QVariantList &cells) |
| | Build the WindowDrag.registerDropProxy payload.
|