|
| std::uint64_t | firstRow () const noexcept |
| std::optional< TreeError > | lastError () const noexcept |
| std::optional< std::uint64_t > | rowCount () const noexcept |
| std::optional< WindowStatus > | windowStatus () const noexcept |
| std::optional< SourceError > | sourceError () const noexcept |
| std::optional< SourceCursor > | recoveryCursor () const noexcept |
| std::optional< SourceCapabilities > | capabilities () const noexcept |
| std::size_t | mountedRows () const noexcept |
| VirtualRowsPosition | position () const noexcept |
| std::expected< CellSize, TreeError > | childAvailable (CellSize available) const override |
| std::expected< CellSize, TreeError > | measureChildren (std::span< const MeasuredChild >) const override |
| | Ignore child measurements.
|
| std::expected< std::vector< CellRect >, TreeError > | arrangeChildren (std::span< const MeasuredChild > children, CellSize available) const override |
| std::expected< void, TreeError > | arrange (CellRect local) override |
| std::expected< void, TreeError > | paint (PaintContext &context) override |
| | SizedWidget (SizePolicy policy={}) |
| | Own the supplied policies; checked by layout.
|
| SizePolicy | sizePolicy () const override |
| | Copy current policy without borrowing storage.
|
|
virtual | ~Widget ()=default |
| | Destroy on UI after the last active tree borrow.
|
|
virtual void | mount () |
| | Called exactly once after attachment; exceptions are reported.
|
| virtual void | unmount () |
| | Called once before destruction, children first; cleanup continues on exceptions.
|
| virtual std::expected< CellSize, TreeError > | measure (CellSize available) |
| | Default desired size is empty.
|
| virtual ComputedStyle | styleDefaults () const |
| | Read manual presentation defaults during style staging on UI.
|
| virtual bool | styleReadOnly () const noexcept |
| | Read actual view-only state during style staging; false by default.
|
| const std::shared_ptr< const StyleSnapshot > & | computedStyle () const noexcept |
| | Inspect the last atomically installed theme inside tree.read/frame.
|
| std::uint64_t | styleRevision () const noexcept |
|
virtual | ~LayoutItem ()=default |
| | Destroy with the implementing widget.
|
|
virtual | ~Layout ()=default |
| | Destroy with the implementing widget.
|
| virtual std::expected< CellRect, TreeError > | childClip (CellSize available) const |
| | Clip descendants within this container without changing allocation.
|
| virtual std::expected< LayoutChildPolicy, TreeError > | childLayoutFor (NodeId child, CellSize available) const |
| | Describe one child's clip and reveal policy after arrangeChildren.
|
template<class T>
class portals::VirtualRows< T >
Bounded real widget subtrees, independent of the text-only VirtualList.
- Template Parameters
-
| T | Immutable domain row type supplied to the declarative row factory. Layout only places committed assignments; factories and managed mutation run between frames. |