|
RADLib
RADical C++ application framework
|
High-level application shell state. More...
#include <RADAppKit.h>
Inheritance diagram for RADUi::AppShellModel:
Collaboration diagram for RADUi::AppShellModel:Public Member Functions | |
| MenuBarModel & | menuBar () |
| Returns menu model. More... | |
| ToolBarModel & | toolBar () |
| Returns toolbar model. More... | |
| StatusBarModel & | statusBar () |
| Returns status model. More... | |
| DockLayoutModel & | dockLayout () |
| Returns dock layout model. More... | |
| DocumentWorkspaceModel & | workspace () |
| Returns document workspace model. More... | |
| CommandPaletteModel & | commandPalette () |
| Returns command palette model. More... | |
| NotificationModel & | notifications () |
| Returns notification model. More... | |
| void | setTitle (std::string title) |
| Sets application title. More... | |
| const std::string & | title () const |
| Returns application title. More... | |
Public Member Functions inherited from RADCore::RADObject | |
| RADObject () | |
| Creates a RADObject bound to the current thread. More... | |
| virtual | ~RADObject () |
| Disconnects tracked event links and releases lifetime token. More... | |
| void | registerLink (const ConnectionRecord &record) |
| Registers a connection for cleanup when this object is destroyed. More... | |
| std::thread::id | threadId () const |
| Returns the thread id this object is currently associated with. More... | |
| EventLoop * | associatedEventLoop () const |
| Returns the associated event loop, if any. More... | |
| ThreadAffinity | threadAffinity () const |
| Returns both thread id and associated loop atomically. More... | |
| std::weak_ptr< void > | lifetimeToken () const |
| Returns a weak token used to drop queued callbacks after destruction. More... | |
| void | moveToThread (std::thread::id tId, EventLoop *loop=nullptr) |
| Moves the object's affinity to tId and optional loop. More... | |
Public Attributes | |
| RADCore::Event< void() > | changed |
| Raised when shell state changes. More... | |
High-level application shell state.
| CommandPaletteModel& RADUi::AppShellModel::commandPalette | ( | ) |
Returns command palette model.
| DockLayoutModel& RADUi::AppShellModel::dockLayout | ( | ) |
Returns dock layout model.
| MenuBarModel& RADUi::AppShellModel::menuBar | ( | ) |
Returns menu model.
| NotificationModel& RADUi::AppShellModel::notifications | ( | ) |
Returns notification model.
| void RADUi::AppShellModel::setTitle | ( | std::string | title | ) |
Sets application title.
| StatusBarModel& RADUi::AppShellModel::statusBar | ( | ) |
Returns status model.
| const std::string& RADUi::AppShellModel::title | ( | ) | const |
Returns application title.
| ToolBarModel& RADUi::AppShellModel::toolBar | ( | ) |
Returns toolbar model.
| DocumentWorkspaceModel& RADUi::AppShellModel::workspace | ( | ) |
Returns document workspace model.
| RADCore::Event<void () > RADUi::AppShellModel::changed |
Raised when shell state changes.