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

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.

Detailed Description

One field of an action, as the explorer lists it.

Definition at line 179 of file explorer.hpp.

Member Data Documentation

◆ name

std::string morph::ui::ActionField::name

The wire name.

Definition at line 181 of file explorer.hpp.

◆ type

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.

◆ required

bool morph::ui::ActionField::required = false

Whether the action requires it.

Definition at line 186 of file explorer.hpp.

◆ rules

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.


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