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

What the shell needs to know of one screen id: the catalog's singleton and reuseEmpty. More...

#include <workspace_model.hpp>

Public Attributes

bool singleton = false
 The screen has at most one tab.
bool reuseEmpty = false
 A tab of the screen with no identity and no unsaved changes is replaced, not stacked, when the screen is opened with an identity.
std::string host
 The host screen the catalog entry names instead of a document; empty for a document screen.
bool available = true
 Whether the entry can be opened now; resume skips a recorded screen that cannot.

Detailed Description

What the shell needs to know of one screen id: the catalog's singleton and reuseEmpty.

Definition at line 38 of file workspace_model.hpp.

Member Data Documentation

◆ singleton

bool morph::ui::WorkspaceScreen::singleton = false

The screen has at most one tab.

Definition at line 40 of file workspace_model.hpp.

◆ reuseEmpty

bool morph::ui::WorkspaceScreen::reuseEmpty = false

A tab of the screen with no identity and no unsaved changes is replaced, not stacked, when the screen is opened with an identity.

Definition at line 43 of file workspace_model.hpp.

◆ host

std::string morph::ui::WorkspaceScreen::host

The host screen the catalog entry names instead of a document; empty for a document screen.

Definition at line 45 of file workspace_model.hpp.

◆ available

bool morph::ui::WorkspaceScreen::available = true

Whether the entry can be opened now; resume skips a recorded screen that cannot.

Definition at line 47 of file workspace_model.hpp.


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