|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One field of an action, as the explorer lists it. More...
#include <explorer.hpp>
Public Attributes | |
| std::string | name |
| The wire name. | |
| std::string | type |
| The type: the field kind's name, or for an enum "one of: …", a quantity "quantity in <unit>" with its alternatives, a choice the action its options come from. | |
| bool | required = false |
| Whether the action requires it. | |
| std::vector< std::string > | rules |
| The bounds and rules: min …, max …, multiple of …, read-only, hidden, and the name of each x-rules rule that names the field. | |
One field of an action, as the explorer lists it.
Definition at line 179 of file explorer.hpp.
| std::string morph::ui::ActionField::name |
The wire name.
Definition at line 181 of file explorer.hpp.
| std::string morph::ui::ActionField::type |
The type: the field kind's name, or for an enum "one of: …", a quantity "quantity in <unit>" with its alternatives, a choice the action its options come from.
Definition at line 184 of file explorer.hpp.
| bool morph::ui::ActionField::required = false |
Whether the action requires it.
Definition at line 186 of file explorer.hpp.
| std::vector<std::string> morph::ui::ActionField::rules |
The bounds and rules: min …, max …, multiple of …, read-only, hidden, and the name of each x-rules rule that names the field.
Definition at line 189 of file explorer.hpp.