Read-only retained document viewport; source I/O, decoding and layout run on application workers. Construct with ui::viewer for automatic scene-owned preparation. Paint only consumes immutable frames. Raw tree emplacement provides an empty viewport until a managed source is attached.
More...
|
| | DocumentView (WidthPolicy width={}, DocumentViewConfig config={}, ControlStyle style={}, FrameOptions frame={}, std::optional< ScrollAreaOptions > scroll={}) |
|
| ~DocumentView () override |
| | Release bounded UI ownership without joining background work.
|
| std::expected< CellSize, TreeError > | measureChildren (std::span< const MeasuredChild > children) const override |
| std::expected< void, TreeError > | paint (PaintContext &context) override |
| bool | styleReadOnly () const noexcept override |
| | ScrollArea (std::shared_ptr< ScrollController > controller={}, WidthPolicy width={}, ScrollAreaOptions options={}, ControlStyle style={}, SizePolicy policy={}) |
| | ScrollArea (std::shared_ptr< ScrollController > controller, WidthPolicy width, ScrollAreaOptions options, ControlStyle style, SizePolicy policy, FrameOptions frame, std::in_place_t advanced) |
| | Construct an area with an owning advanced frame, compiled before initialization.
|
|
| ~ScrollArea () override |
| | Release owning values; no user callback or terminal operation occurs.
|
| void | unmount () override |
| | Retire this node's lease and pointer token before destruction.
|
| std::expected< CellSize, TreeError > | measure (CellSize available) override |
| std::expected< CellSize, TreeError > | childAvailable (CellSize available) const override |
| std::expected< CellSize, TreeError > | measureChildren (std::span< const MeasuredChild > children) const override |
| std::expected< void, TreeError > | arrange (CellRect local) override |
| std::expected< CellRect, TreeError > | childClip (CellSize available) const override |
| std::expected< std::vector< CellRect >, TreeError > | arrangeChildren (std::span< const MeasuredChild > children, CellSize available) const override |
| std::expected< void, TreeError > | paint (PaintContext &context) override |
| ComputedStyle | styleDefaults () const 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.
|
| 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< LayoutChildPolicy, TreeError > | childLayoutFor (NodeId child, CellSize available) const |
| | Describe one child's clip and reveal policy after arrangeChildren.
|
Read-only retained document viewport; source I/O, decoding and layout run on application workers. Construct with ui::viewer for automatic scene-owned preparation. Paint only consumes immutable frames. Raw tree emplacement provides an empty viewport until a managed source is attached.