One column of a scrolling template's seed blueprint. More...
#include <phosphor-zones/include/PhosphorZones/ScrollingTemplate.h>
Public Member Functions | |
| bool | operator== (const ScrollingTemplateColumn &) const =default |
Public Attributes | |
| qreal | width = 0.5 |
| Fraction of the work-area width (gap-aware, same contract as the engine's Proportion kind). | |
| int | display = 0 |
| Mirrors PhosphorScrollEngine::ColumnDisplay: 0 Normal, 1 Tabbed. | |
One column of a scrolling template's seed blueprint.
Widths are plain fractions of the work area (0..1), deliberately NOT the engine's full ColumnWidth kind vocabulary: a Fixed-pixel width in a template would mean different things on different monitors, and a Preset width would point into the template's own preset list — both traps for an object meant to be portable across screens. The display value mirrors the scroll engine's ColumnDisplay wire values (0 = Normal stacked, 1 = Tabbed); the two libraries deliberately do not include each other, so the mirror is by documented value, append-only on both sides.
|
default |
| int PhosphorZones::ScrollingTemplateColumn::display = 0 |
Mirrors PhosphorScrollEngine::ColumnDisplay: 0 Normal, 1 Tabbed.
| qreal PhosphorZones::ScrollingTemplateColumn::width = 0.5 |
Fraction of the work-area width (gap-aware, same contract as the engine's Proportion kind).