Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CAppDiamar.hpp>
Public Member Functions | |
void | run (int32_t argc, char *argv[]) override |
~CAppDiamar () override=default | |
CAppDiamar (const CAppDiamar &other)=delete | |
CAppDiamar (CAppDiamar &&other)=default | |
CAppDiamar & | operator= (const CAppDiamar &other)=delete |
CAppDiamar & | operator= (CAppDiamar &&other)=delete |
std::weak_ptr< iv::appdiamar::IApplicationController > | getApplicationController () const override |
void | addIndicator (std::string_view title, bool resizeDialog, std::unique_ptr< IIndicator > &&indicator) const |
void | addOptionToSubMenu (CMenu *submenu, std::string_view nameOption, AbstractMenuOption **option) |
void | addOptionMenuWithImage (std::string_view nameOption, std::string_view nameImage, bool isToolbar, AbstractMenuOption **option) |
void | addOptionWithImageToSubMenu (CMenu *submenu, std::string_view nameOption, std::string_view nameImage, bool isToolbar, AbstractMenuOption **option) |
void | addSubMenu (std::string_view name, CMenu **submenu) |
void | addWorkspace (CWorkspace **workspace) |
void | endApplication () |
bool | canEndApplication () |
void | runDialogIndicator (double xPos, double yPos, unsigned char justify, CIndicator *indicator) |
void | update () |
bool | closeAllDialogsState () const |
std::string_view | getName () const |
std::string_view | getTitle () const |
CDialog * | getDialogApplicationRef () const |
CWorkspace * | getCurrentWorkspaceRef () const |
const std::shared_ptr< IComponentsGUI > & | getFrameRef () const |
const std::shared_ptr< CIndicators > & | getIndicators () const |
const std::shared_ptr< CMenu > & | getMenu () const |
const std::unique_ptr< CInfoBar > & | getInfoBar () |
const std::optional< iv::gui::HeaderNavigableOptions > & | getHeaderNavigableOptions () const |
iv::app::eState & | state () |
iv::app::eExitMode & | exitMode () |
void | runGUI (const std::shared_ptr< IComponentsGUI > &frame, int32_t argc, char *argv[]) |
void | setModelApplication (iv::model::IModel **modelApplication) |
void | setIcon (std::string_view icon) |
void | setCSS (std::string_view css) |
void | updateWorkSpaces () |
void | updateAppTitle () |
void | setController (std::shared_ptr< iv::appdiamar::IApplicationController > controller) |
Static Public Member Functions | |
static CAppDiamar & | create () |
static ApplicationGui * | getApplicationGui () |
static std::unique_ptr< Application > & | get () |
Protected Attributes | |
std::string | m_title |
std::string | m_icon |
std::string | m_css |
std::unique_ptr< CInfoBar > | m_infoBar |
std::shared_ptr< iv::diamar::INotificationIndicator > | m_notificationIndicator |
std::shared_ptr< iv::diamar::IClockNotification > | m_clockNotification |
std::shared_ptr< CMenu > | m_menu |
std::shared_ptr< CIndicators > | m_indicators |
std::optional< std::string > | m_headerTitle |
std::optional< std::set< std::string > > | m_possibleHeaderTitle |
std::optional< iv::gui::HeaderNavigableOptions > | m_headerNavigableOptions |
std::optional< iv::gui::FooterNavigableOptions > | m_navigableOptions |
std::unique_ptr< std::vector< CWorkspace * > > | m_workspaces |
CWorkspace * | m_currentWorkspaceRef |
CDialog * | m_dialogApplicationRef |
std::shared_ptr< IComponentsGUI > | m_frameRef |
iv::ui::theme::ThemesManager | m_themesManager |
std::string_view | m_name |
std::shared_ptr< iv::appdiamar::IApplicationController > | applicationController |
Static Protected Attributes | |
static std::unique_ptr< Application > | instance = nullptr |
Private Member Functions | |
CAppDiamar () | |
bool | configure (const std::shared_ptr< iv::logs::StartingLog > &logger) |
bool | canEnd (CDialog *dlgFather) override |
void | ending (const std::shared_ptr< AbstractProgress > &progress, CDialog *dlgFather) override |
bool | loadData (const std::string &projectFolder, const std::shared_ptr< iv::logs::StartingLog > &logger, const std::shared_ptr< iv::model::diamar::DiamarModel > &model) const |
bool | starting (const std::shared_ptr< AbstractProgress > &progress, CDialog *dlgFather) override |
bool | start () override |
|
overridedefault |
|
delete |
|
default |
|
private |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Reimplemented from iv::appdiamar::ApplicationGui.
|
inherited |
|
nodiscardinherited |
|
private |
|
static |
|
inherited |
|
overrideprivatevirtual |
Reimplemented from iv::appdiamar::ApplicationGui.
|
inherited |
|
staticinherited |
|
nodiscardoverridevirtualinherited |
Implements iv::appdiamar::Application.
Reimplemented in CAppEditDiamar.
|
staticinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
private |
|
delete |
|
delete |
|
overridevirtual |
Implements iv::appdiamar::Application.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Reimplemented from iv::appdiamar::ApplicationGui.
|
overrideprivatevirtual |
Reimplemented from iv::appdiamar::ApplicationGui.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
staticprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |