morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::detail::DateReading Struct Reference

What a date input reads from a value: the instant it shows, and whether the value names one at all. More...

#include <interpreter.hpp>

Public Attributes

std::optional< time::DateTime > instant
 The instant shown; empty for an empty field.
bool readable = true
 Whether the value names a date, an instant or nothing; false for text that names no date.

Detailed Description

What a date input reads from a value: the instant it shows, and whether the value names one at all.

Definition at line 4198 of file interpreter.hpp.

Member Data Documentation

◆ instant

std::optional<time::DateTime> morph::ui::detail::DateReading::instant

The instant shown; empty for an empty field.

Definition at line 4200 of file interpreter.hpp.

◆ readable

bool morph::ui::detail::DateReading::readable = true

Whether the value names a date, an instant or nothing; false for text that names no date.

Definition at line 4202 of file interpreter.hpp.


The documentation for this struct was generated from the following file: