morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::author::FieldOverlay< Action > Class Template Reference

One field of a form's fields overlay, by member pointer. More...

#include <author.hpp>

Public Member Functions

template<typename Member>
 FieldOverlay (Member Action::*member, FieldSettings settings)
 An overlay.
std::pair< std::string, Json > json () const
 The overlay's JSON.

Detailed Description

template<typename Action>
class morph::ui::author::FieldOverlay< Action >

One field of a form's fields overlay, by member pointer.

Template Parameters
ActionThe form's action.

Definition at line 4167 of file author.hpp.

Constructor & Destructor Documentation

◆ FieldOverlay()

template<typename Action>
template<typename Member>
morph::ui::author::FieldOverlay< Action >::FieldOverlay ( Member Action::* member,
FieldSettings settings )
inline

An overlay.

Template Parameters
MemberThe member's type.
Parameters
memberThe member.
settingsThe overlay.

Definition at line 4174 of file author.hpp.

Member Function Documentation

◆ json()

template<typename Action>
std::pair< std::string, Json > morph::ui::author::FieldOverlay< Action >::json ( ) const
inlinenodiscard

The overlay's JSON.

Returns
The field name and its settings.

Definition at line 4179 of file author.hpp.


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