SceneTreeGrid
The one unit of the scene tree, and every distance derived from it.
In the namespace construct::ui. Declared in src/libs/libconstruct/construct/ui/SceneTreeGrid.hpp.
Detailed description
scene-tree-ux-v3 §STG-2, §STG-L-1, §STG-L-2. Every layout distance in the tree is a whole number of **cells**, or a named fraction of one. The owning SceneOverlayBrowser computes one grid and pushes it into every row, box and indicator it builds, so the tree rescales from one number and keeps every alignment when that number changes.
The shape follows `TimeGridGeometry` (compute-graph-fidelity §CG-G): a plain value, computed by the owner, broadcast to the widgets it stacks. As there, a default-constructed grid is not valid (isValid); the owner builds one with forCell.
The cell is a LOGICAL pixel value. Qt scales logical pixels to the device (the project's UI policy, `OctoStyle.hpp`), so nothing here multiplies by a device pixel ratio.
| Symbol | Field | Default | |--------|----------------|---------| | C | cell | 30 | | W | boxCells | 10 | | I | indentCells| 1 | | D | indentCap | 6 | | Lc | nameCells | 3 | | Vc | valueCells | 6 |
`W` must equal `1 + Lc + Vc`: the first cell of a parameter row holds the expression button.