|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Options of table and dataTable. More...
#include <author.hpp>
Public Attributes | |
| AnyHandle | key |
| The row key, read in the row scope. | |
| std::vector< TableColumn > | columns |
| The columns; a model-backed table derives them from the row type when none are given. | |
| bool | showHeader = true |
| Whether the header row is drawn. Several tables sharing one visual header set this false on every instance but the first. | |
| std::size_t | virtualizeThreshold = 2000 |
| Below this many rows, every row's widget stays realized regardless of scroll position; a backend that cannot virtualize ignores this and virtualizeOverscan both. | |
| std::size_t | virtualizeOverscan = 10 |
| How many rows beyond the visible range, on each side, keep a realized widget. | |
| std::optional< Selection > | selection |
| How the selection works. | |
| std::optional< TableMode > | mode |
| Where a model-backed table works; ignored by a table over rows. | |
| AnyHandle | sort |
| The sort. | |
| AnyHandle | filters |
| The filters. | |
| AnyHandle | rowTone |
| A row's tone, read in the row scope. | |
| AnyHandle | highlightKey |
| The key a linked chart highlights. | |
| Commands | onActivate |
| Commands run when a row is activated, in its row scope. | |
| Nodes | empty |
| Shown instead of the table while its rows are an empty list, in the table's scope; empty shows the table always. | |
Options of table and dataTable.
Definition at line 3709 of file author.hpp.
| AnyHandle morph::ui::author::TableOptions::key |
The row key, read in the row scope.
Definition at line 3711 of file author.hpp.
| std::vector<TableColumn> morph::ui::author::TableOptions::columns |
The columns; a model-backed table derives them from the row type when none are given.
Definition at line 3713 of file author.hpp.
| bool morph::ui::author::TableOptions::showHeader = true |
Whether the header row is drawn. Several tables sharing one visual header set this false on every instance but the first.
Definition at line 3716 of file author.hpp.
| std::size_t morph::ui::author::TableOptions::virtualizeThreshold = 2000 |
Below this many rows, every row's widget stays realized regardless of scroll position; a backend that cannot virtualize ignores this and virtualizeOverscan both.
Definition at line 3719 of file author.hpp.
| std::size_t morph::ui::author::TableOptions::virtualizeOverscan = 10 |
How many rows beyond the visible range, on each side, keep a realized widget.
Definition at line 3721 of file author.hpp.
| std::optional<Selection> morph::ui::author::TableOptions::selection |
How the selection works.
Definition at line 3723 of file author.hpp.
| std::optional<TableMode> morph::ui::author::TableOptions::mode |
Where a model-backed table works; ignored by a table over rows.
Definition at line 3725 of file author.hpp.
| AnyHandle morph::ui::author::TableOptions::sort |
The sort.
Definition at line 3727 of file author.hpp.
| AnyHandle morph::ui::author::TableOptions::filters |
The filters.
Definition at line 3729 of file author.hpp.
| AnyHandle morph::ui::author::TableOptions::rowTone |
A row's tone, read in the row scope.
Definition at line 3731 of file author.hpp.
| AnyHandle morph::ui::author::TableOptions::highlightKey |
The key a linked chart highlights.
Definition at line 3733 of file author.hpp.
| Commands morph::ui::author::TableOptions::onActivate |
Commands run when a row is activated, in its row scope.
Definition at line 3735 of file author.hpp.
| Nodes morph::ui::author::TableOptions::empty |
Shown instead of the table while its rows are an empty list, in the table's scope; empty shows the table always.
Definition at line 3738 of file author.hpp.