One cell of the placement map, in work-area fractions. More...
#include <PhosphorShell/PlacementMapParser.h>
Public Attributes | |
| QString | id |
| QRectF | rect |
| qreal | t = 0.0 |
| bool | occupied = false |
| bool | focused = false |
| QString | label |
| int | zoneNumber = 0 |
| Snapping only: the zone's 1-based number, used by the click path (Snap.snapToZoneByNumber). | |
| int | stack = 1 |
| Tiling monocle and scrolling columns: how many windows share this rect (a tabbed or stacked column's tile count). | |
| qreal | stripT = 0.0 |
| Scrolling only: the column's start as a fraction of the whole strip (stripPosPx / stripExtentPx), the structure axis of A2 §1.2. | |
| int | columnIndex = -1 |
| Scrolling only: the column's index in the strip, the argument to Scrolling.focusColumnAt. | |
| QString | windowId |
| The window this cell stands for: the tile's window (tiling), the column's first tile (scrolling), or the TOPMOST occupant of the zone (snapping; empty for an empty zone). | |
| QString | appId |
| WindowTracking.getWindowMetadata for windowId, empty until it has answered. | |
| QString | title |
| bool | urgent = false |
| Snapping: any occupant demands attention. | |
| bool | offscreen = false |
| bool | minimized = false |
One cell of the placement map, in work-area fractions.
rect is 0..1 of the work area on both axes. t is the hue axis (A2 §1.2): the cell's horizontal centre in work-area space for snapping and tiling, and the visible-cut fallback for scrolling until the daemon exposes the strip extent.
| QString PhosphorShell::PlacementMapParser::Cell::appId |
WindowTracking.getWindowMetadata for windowId, empty until it has answered.
| int PhosphorShell::PlacementMapParser::Cell::columnIndex = -1 |
Scrolling only: the column's index in the strip, the argument to Scrolling.focusColumnAt.
-1 for every other cell.
| bool PhosphorShell::PlacementMapParser::Cell::focused = false |
| QString PhosphorShell::PlacementMapParser::Cell::id |
| QString PhosphorShell::PlacementMapParser::Cell::label |
| bool PhosphorShell::PlacementMapParser::Cell::minimized = false |
| bool PhosphorShell::PlacementMapParser::Cell::occupied = false |
| bool PhosphorShell::PlacementMapParser::Cell::offscreen = false |
| QRectF PhosphorShell::PlacementMapParser::Cell::rect |
| int PhosphorShell::PlacementMapParser::Cell::stack = 1 |
Tiling monocle and scrolling columns: how many windows share this rect (a tabbed or stacked column's tile count).
1 otherwise.
| qreal PhosphorShell::PlacementMapParser::Cell::stripT = 0.0 |
Scrolling only: the column's start as a fraction of the whole strip (stripPosPx / stripExtentPx), the structure axis of A2 §1.2.
It is the hue for a strip cell, kept apart from t so a reader can tell a real strip position from the visible-cut fallback. 0 for snapping and tiling cells.
| qreal PhosphorShell::PlacementMapParser::Cell::t = 0.0 |
| QString PhosphorShell::PlacementMapParser::Cell::title |
| bool PhosphorShell::PlacementMapParser::Cell::urgent = false |
Snapping: any occupant demands attention.
Tiling and scrolling: the cell's window does.
| QString PhosphorShell::PlacementMapParser::Cell::windowId |
The window this cell stands for: the tile's window (tiling), the column's first tile (scrolling), or the TOPMOST occupant of the zone (snapping; empty for an empty zone).
The argument to WindowTracking.activateWindow and the float / desktop verbs.
| int PhosphorShell::PlacementMapParser::Cell::zoneNumber = 0 |
Snapping only: the zone's 1-based number, used by the click path (Snap.snapToZoneByNumber).
0 for tiling and scrolling cells.