|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Construction-only settings for retained data presentation. More...
#include <data_presentation.hpp>
Public Member Functions | |
| ~DataStateConfig ()=default | |
| Release owning construction settings. | |
Public Attributes | |
| bool | showStatus {true} |
| Mount a stable status strip; false creates no timer, labels or retry button. | |
| std::int32_t | statusRows {1} |
| Positive fixed strip height in terminal rows, including READY. | |
| DataContentPolicy | contentPolicy |
| REPLACE requires explicit independently owned work. | |
| SchedulerTime | spinnerInterval {100} |
| Positive monotonic milliseconds between steps; no catch-up burst. | |
| DataStateLabels | labels |
| Owning expressions, validated only when the strip is used. | |
| std::function< std::expected< std::string, TextResourceError >(std::string_view)> | resolver |
| Owning mount-time i18n adapter; no automatic locale subscription. | |
| ControlStyle | messageStyle |
| Manual message/indicator appearance beneath theme resolution. | |
| ControlStyle | retryStyle |
| Manual retry appearance beneath theme resolution. | |
| SizePolicy | policy {DEFAULT_VIEWPORT_POLICY} |
| Root layout constraints, validated by the existing solver. | |
| std::function< std::expected< void, TreeError >()> | retry |
| Optional owning explicit action; never starts implicitly. | |
Construction-only settings for retained data presentation.
| DataContentPolicy portals::DataStateConfig::contentPolicy |
REPLACE requires explicit independently owned work.