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

How a form, collection or wizard presents its forms: the keys every one of them takes. More...

#include <author.hpp>

Public Attributes

AnyHandle title
 A heading over the fields; on a collection or a wizard, the view's heading in place of the schema's. Absent shows none on a form.
AnyHandle submitLabel
 The explicit-mode button's label, which the status line names; absent is Submit.
std::optional< bool > showStatus
 Whether the status line shows; absent shows it.
std::optional< int > columns
 The columns of every group's grid, 1 to 12; absent keeps the engine's.
std::optional<::morph::forms::FieldLayout > fieldLayout
 Where every cell puts its caption; absent stacks it over the control.

Detailed Description

How a form, collection or wizard presents its forms: the keys every one of them takes.

Definition at line 4202 of file author.hpp.

Member Data Documentation

◆ title

AnyHandle morph::ui::author::FormPresentation::title

A heading over the fields; on a collection or a wizard, the view's heading in place of the schema's. Absent shows none on a form.

Definition at line 4205 of file author.hpp.

◆ submitLabel

AnyHandle morph::ui::author::FormPresentation::submitLabel

The explicit-mode button's label, which the status line names; absent is Submit.

Definition at line 4207 of file author.hpp.

◆ showStatus

std::optional<bool> morph::ui::author::FormPresentation::showStatus

Whether the status line shows; absent shows it.

Definition at line 4209 of file author.hpp.

◆ columns

std::optional<int> morph::ui::author::FormPresentation::columns

The columns of every group's grid, 1 to 12; absent keeps the engine's.

Definition at line 4211 of file author.hpp.

◆ fieldLayout

std::optional<::morph::forms::FieldLayout> morph::ui::author::FormPresentation::fieldLayout

Where every cell puts its caption; absent stacks it over the control.

Definition at line 4213 of file author.hpp.


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