Canonical typed observation of the existing reusable message-dialog facade. Copies and moves share/transfer the legacy weak identity without adding a slot or retaining the scene. All commands preserve MessageBox's checked results and report-once provenance. This composite reference has no generic node(), text() or focus(); bind a separate Ref<Dialog> to observe its real view.
More...
|
|
| Ref ()=default |
| | Create the existing cold observing slot; construction may throw std::bad_alloc.
|
| | Ref (MessageBox reference) noexcept |
| CheckedProperty | checked (std::source_location origin=std::source_location::current()) const |
| std::expected< RadioGroupValue, ManagedError > | value () const |
| std::expected< PropertyUpdate< RadioGroupValue >, ManagedError > | select (std::optional< RowId > id, std::source_location origin=std::source_location::current()) const |
| std::expected< UiEndpoint< Value >, ManagedError > | delivery (Callback callback, std::source_location origin=std::source_location::current()) const |
| | Register a checked, node-scoped worker-to-UI delivery endpoint.
|
| EditorCommandResult | activate (std::source_location origin=std::source_location::current()) const |
| | Invoke the existing semantic button route synchronously on UI; focus is unchanged.
|
| Ref< LineEdit > | lineEdit () const |
| std::expected< void, ManagedError > | adjust (double delta, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | withPlaintext (F &&callback, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | start (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | stop (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | label (std::string_view value, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | open (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | close (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setOffset (ScrollAxis axis, ScrollOffset offset, std::source_location origin=std::source_location::current()) const |
| std::expected< LogAppendReceipt, ManagedError > | appendBatch (std::string_view bytes, std::source_location origin=std::source_location::current()) const |
| bool | append (std::string_view bytes, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setModel (const LogSource &source, std::source_location origin=std::source_location::current()) const |
| bool | model (const LogSource &source, std::source_location origin=std::source_location::current()) const |
| std::expected< std::optional< PositionResolution >, ManagedError > | restoreStatus (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | followTail (std::source_location origin=std::source_location::current()) const |
| bool | tail (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | clearLog (std::source_location origin=std::source_location::current()) const |
| bool | clear (std::source_location origin=std::source_location::current()) const |
| std::expected< LogStatus, ManagedError > | status () const |
| std::expected< void, ManagedError > | seekByte (std::uint64_t offset, std::source_location origin=std::source_location::current()) const |
| bool | byte (std::uint64_t offset, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | refresh (std::source_location origin=std::source_location::current()) const |
| bool | reload (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | scrollRows (std::int64_t rows, std::source_location origin=std::source_location::current()) const |
| bool | scroll (std::int64_t rows, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | scrollPages (std::int64_t pages, std::source_location origin=std::source_location::current()) const |
| bool | page (std::int64_t pages, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | goHome (std::source_location origin=std::source_location::current()) const |
| | Admit a one-shot boundary navigation command.
|
| bool | home (std::source_location origin=std::source_location::current()) const |
| | Admit a one-shot boundary navigation command.
|
| std::expected< void, ManagedError > | goEnd (std::source_location origin=std::source_location::current()) const |
| | Admit a one-shot boundary navigation command.
|
| bool | end (std::source_location origin=std::source_location::current()) const |
| | Admit a one-shot boundary navigation command.
|
| std::expected< void, ManagedError > | setMode (DocumentViewMode value, std::source_location origin=std::source_location::current()) const |
| bool | mode (DocumentViewMode value, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setHexOptions (DocumentHexOptions options, std::source_location origin=std::source_location::current()) const |
| bool | hexOptions (DocumentHexOptions options, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setLanguage (DocumentLanguage value, std::source_location origin=std::source_location::current()) const |
| bool | language (DocumentLanguage value, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setSyntax (DocumentSyntaxPolicy policy, std::source_location origin=std::source_location::current()) const |
| bool | syntax (DocumentSyntaxPolicy policy, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setLineNumbers (bool enabled, std::source_location origin=std::source_location::current()) const |
| bool | lineNumbers (bool enabled, std::source_location origin=std::source_location::current()) const |
| bool | toggleLineNumbers (std::source_location origin=std::source_location::current()) const |
| std::optional< DocumentViewStatus > | currentStatus (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | setMetrics (ScrollAxisMetrics metrics, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | ensureVisible (std::source_location origin=std::source_location::current()) const |
| std::expected< NodeGeometry, ManagedError > | geometry () const |
| std::expected< CellSize, ManagedError > | size () const |
| std::expected< void, ManagedError > | onLayout (Callback callback, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | onClick (Callback action, std::source_location origin=std::source_location::current()) const |
| std::expected< void, TreeError > | display (DataPresentation value, std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | focus (std::source_location origin=std::source_location::current()) const |
| DialogCommandResult | dismiss (std::source_location origin=std::source_location::current()) const |
| std::expected< bool, ManagedError > | opened () const |
| std::expected< void, ManagedError > | enterFocusScope (std::source_location origin=std::source_location::current()) const |
| std::expected< void, ManagedError > | leaveFocusScope (std::source_location origin=std::source_location::current()) const |
| TextProperty | text (TextResolver resolver={}, std::source_location origin=std::source_location::current()) const |
| Ref< LineEdit > | editor () const |
| std::expected< ChoiceSelection, ManagedError > | selection () const |
| std::expected< void, ManagedError > | clearSelection (std::source_location origin=std::source_location::current()) const |
| std::expected< FindMatch, ManagedError > | navigate (FindDirection direction) const |
| bool | next (std::source_location origin=std::source_location::current()) const |
| bool | previous (std::source_location origin=std::source_location::current()) const |
| std::expected< FindMatch, ManagedError > | match () const |
| std::expected< bool, ManagedError > | current (const FindMatch &value) const |
| std::expected< void, ManagedError > | replaceDocument (std::string_view bytes) const |
| bool | document (std::string_view bytes, std::source_location origin=std::source_location::current()) const |
| EditorCommandResult | clearQuery (std::source_location origin=std::source_location::current()) const |
| std::expected< FieldValidation, ManagedError > | validation () const |
| std::expected< bool, ManagedError > | validate () const |
| bool | valid (std::source_location origin=std::source_location::current()) const |
| EditorCommandResult | undo (std::source_location origin=std::source_location::current()) const |
| EditorCommandResult | redo (std::source_location origin=std::source_location::current()) const |
| EditorCommandResult | stopGrouping (std::source_location origin=std::source_location::current()) const |
| TextSource | captionText () const |
| auto | visibleModel () const |
| Model< VirtualRowsPosition > | position () const |
| TextSource | draftText () const |
| TextSource | committedText () const |
| std::expected< HistoryAvailability, TreeError > | historyAvailability () const |
| bool | canUndo () const |
| bool | canRedo () const |
|
| NodeRef () |
| | Allocate an empty observing slot, with no widget ownership.
|
| Node< T > | node () const noexcept |
|
| MessageBox () |
| | Create an unpublished observing slot; allocation can throw.
|
template<class Callback>
requires portals::detail::ManagedAction<Callback, MessageResult> |
| DialogCommandResult | open (Callback callback, std::source_location origin=std::source_location::current()) const |
template<class T, class Callback>
requires std::derived_from<T, Widget> && portals::detail::ManagedAction<Callback, MessageResult> |
| DialogCommandResult | open (const Ref< T > &owner, Callback callback, std::source_location origin=std::source_location::current()) const |
| DialogCommandResult | cancel (std::source_location origin=std::source_location::current()) const |
| std::expected< std::shared_ptr< const MessageResult >, ManagedError > | lastResult () const |
| std::expected< AsyncReceive< MessageResult >, ManagedError > | receive (const UiAsyncContext &context) const |
template<class T>
requires std::derived_from<T, Widget> |
| std::expected< AsyncReceive< MessageResult >, ManagedError > | receive (const UiAsyncContext &context, const Ref< T > &owner) const |