|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Numeric draft assignment observation. The saved result distinguishes draft acceptance from publication. get() reads the valid visible numeric draft. Copies retain observations without retaining the scene. More...
#include <ui_ref.hpp>
Public Member Functions | |
| SpinBoxNumericProperty (const SpinBoxNumericProperty &other)=default | |
| SpinBoxNumericProperty (SpinBoxNumericProperty &&other)=default | |
| std::expected< double, ManagedError > | get () const |
| std::expected< SpinBoxResult, ManagedError > | result () const |
| SpinBoxNumericProperty | set (double value, std::source_location origin=std::source_location::current()) |
| SpinBoxNumericProperty | operator= (double value) |
| SpinBoxNumericProperty | operator= (const SpinBoxNumericProperty &other) |
Friends | |
| template<class> | |
| class | Ref |
Numeric draft assignment observation. The saved result distinguishes draft acceptance from publication. get() reads the valid visible numeric draft. Copies retain observations without retaining the scene.
|
default |
| other | Observation copied without reading the editor or source. |
|
default |
| other | Observation transferred without reading the editor or source. |
| std::expected< double, ManagedError > portals::ui::SpinBoxNumericProperty::get | ( | ) | const |
| SpinBoxNumericProperty portals::ui::SpinBoxNumericProperty::operator= | ( | const SpinBoxNumericProperty & | other | ) |
| other | Numeric source read once. |
| SpinBoxNumericProperty portals::ui::SpinBoxNumericProperty::operator= | ( | double | value | ) |
| value | Finite replacement. |
| std::expected< SpinBoxResult, ManagedError > portals::ui::SpinBoxNumericProperty::result | ( | ) | const |
| SpinBoxNumericProperty portals::ui::SpinBoxNumericProperty::set | ( | double | value, |
| std::source_location | origin = std::source_location::current() ) |
| value | Finite in-range replacement, following EditMode. |
| origin | Assignment site. |