One tile of a strip snapshot (see ScrollEngine::stripSnapshot). More...
#include <PhosphorScrollEngine/ScrollEngineTypes.h>
Public Attributes | |
| QString | windowId |
| QRectF | relRect |
| Rect relative to the owning column's resolved bounds, 0..1 on x. | |
| bool | minimized = false |
| bool | hidden = false |
| Non-active tab of a tabbed column. | |
| bool | activeTab = false |
| The column's active tile (for a tabbed column: the visible tab). | |
One tile of a strip snapshot (see ScrollEngine::stripSnapshot).
Unlike ResolvedTile this keeps MINIMIZED tiles, because the snapshot's tile positions must stay valid DragInsertTarget.secondary indices — the same model-order rule computeDragInsertTargetAtPoint enforces by mapping resolved hits back through Column::indexOfWindow. Note the minimized flag serves embedders that deliver a real minimize signal (ScrollStrip::setWindowMinimized); the PlasmaZones daemon reports minimize as a float, so its own snapshots never carry a minimized tile.
| bool PhosphorScrollEngine::ScrollStripSnapshotTile::activeTab = false |
The column's active tile (for a tabbed column: the visible tab).
| bool PhosphorScrollEngine::ScrollStripSnapshotTile::hidden = false |
Non-active tab of a tabbed column.
The shipped renderer branches on the column's tabbed flag instead; carried for direct consumers.
| bool PhosphorScrollEngine::ScrollStripSnapshotTile::minimized = false |
| QRectF PhosphorScrollEngine::ScrollStripSnapshotTile::relRect |
Rect relative to the owning column's resolved bounds, 0..1 on x.
On y it MAY exceed 1.0: when even the min-height floors overflow the column, the trailing tiles lay out below the work area and the overflow stands (renderers clip). A tile can also resolve a zero-height rect (the overflow tail squeezed to nothing). Null for minimized tiles (they resolve no rect), for the hidden tabs of a tabbed column (a renderer draws those as tabs, not stacked rects), and for a tab the exclusion emulation promoted to activeTab (its rect was resolved while it was hidden; tab renderers draw segments from the flag, not the rect).
| QString PhosphorScrollEngine::ScrollStripSnapshotTile::windowId |