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

One open tab, as an application's tab strip binds to it. More...

#include <workspace_model.hpp>

Public Member Functions

bool operator== (WorkspaceTabState const &) const =default
 Memberwise equality.

Public Attributes

WorkspaceTabId id
 The tab.
std::string screenId
 The screen id.
Value identity
 The screen's identity; null when it has none.
std::string title
 The screen's title.
bool dirty = false
 Whether the screen has unsaved changes.

Detailed Description

One open tab, as an application's tab strip binds to it.

Definition at line 89 of file workspace_model.hpp.

Member Function Documentation

◆ operator==()

bool morph::ui::WorkspaceTabState::operator== ( WorkspaceTabState const & ) const
default

Memberwise equality.

Returns
Whether every member matches.

Member Data Documentation

◆ id

WorkspaceTabId morph::ui::WorkspaceTabState::id

The tab.

Definition at line 91 of file workspace_model.hpp.

◆ screenId

std::string morph::ui::WorkspaceTabState::screenId

The screen id.

Definition at line 93 of file workspace_model.hpp.

◆ identity

Value morph::ui::WorkspaceTabState::identity

The screen's identity; null when it has none.

Definition at line 95 of file workspace_model.hpp.

◆ title

std::string morph::ui::WorkspaceTabState::title

The screen's title.

Definition at line 97 of file workspace_model.hpp.

◆ dirty

bool morph::ui::WorkspaceTabState::dirty = false

Whether the screen has unsaved changes.

Definition at line 99 of file workspace_model.hpp.


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