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

How collectionView draws a collection and labels its chrome. More...

#include <collection_view.hpp>

Public Attributes

FormViewOptions form {}
 The editor's form view options; its overrides reach the editor's fields.
CollectionChrome chrome {}
 The host's replacements for the view's own parts.
std::string openLabel = "Open"
 The caption of a row's Open button.
std::string confirmTitle = "Confirm"
 The confirm dialog's title.
std::string confirmMessage = "Are you sure?"
 The confirm dialog's question.
std::string acceptLabel = "OK"
 The confirm dialog's accept button.
std::string cancelLabel = "Cancel"
 The confirm dialog's cancel button.
ui::Prop< std::string > title
 The built-in header's title (collection_title); empty shows the schema's.

Detailed Description

How collectionView draws a collection and labels its chrome.

Definition at line 49 of file collection_view.hpp.

Member Data Documentation

◆ form

FormViewOptions morph::forms::CollectionViewOptions::form {}

The editor's form view options; its overrides reach the editor's fields.

Definition at line 51 of file collection_view.hpp.

◆ chrome

CollectionChrome morph::forms::CollectionViewOptions::chrome {}

The host's replacements for the view's own parts.

Definition at line 53 of file collection_view.hpp.

◆ openLabel

std::string morph::forms::CollectionViewOptions::openLabel = "Open"

The caption of a row's Open button.

Definition at line 55 of file collection_view.hpp.

◆ confirmTitle

std::string morph::forms::CollectionViewOptions::confirmTitle = "Confirm"

The confirm dialog's title.

Definition at line 57 of file collection_view.hpp.

◆ confirmMessage

std::string morph::forms::CollectionViewOptions::confirmMessage = "Are you sure?"

The confirm dialog's question.

Definition at line 59 of file collection_view.hpp.

◆ acceptLabel

std::string morph::forms::CollectionViewOptions::acceptLabel = "OK"

The confirm dialog's accept button.

Definition at line 61 of file collection_view.hpp.

◆ cancelLabel

std::string morph::forms::CollectionViewOptions::cancelLabel = "Cancel"

The confirm dialog's cancel button.

Definition at line 63 of file collection_view.hpp.

◆ title

ui::Prop<std::string> morph::forms::CollectionViewOptions::title

The built-in header's title (collection_title); empty shows the schema's.

Definition at line 65 of file collection_view.hpp.


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