#include <CAppEditDiamar.hpp>
|
| CAppEditDiamar () |
|
void | run (int32_t argc, char *argv[]) override |
|
std::weak_ptr< iv::appdiamar::IApplicationController > | getApplicationController () const override |
|
void | setViewActive (const iv::views::editor::eEditorView viewActive) |
|
iv::views::editor::eEditorView | getViewActive () const |
|
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) |
|
virtual bool | start () |
|
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) |
|
virtual bool | canEnd (CDialog *dlgFather) |
|
void | updateWorkSpaces () |
|
void | updateAppTitle () |
|
void | setController (std::shared_ptr< iv::appdiamar::IApplicationController > controller) |
|
◆ CAppEditDiamar()
CAppEditDiamar::CAppEditDiamar |
( |
| ) |
|
◆ addIndicator()
void iv::appdiamar::ApplicationGui::addIndicator |
( |
std::string_view | title, |
|
|
bool | resizeDialog, |
|
|
std::unique_ptr< IIndicator > && | indicator ) const |
|
inherited |
◆ addOptionMenuWithImage()
void iv::appdiamar::ApplicationGui::addOptionMenuWithImage |
( |
std::string_view | nameOption, |
|
|
std::string_view | nameImage, |
|
|
bool | isToolbar, |
|
|
AbstractMenuOption ** | option ) |
|
inherited |
◆ addOptionToSubMenu()
void iv::appdiamar::ApplicationGui::addOptionToSubMenu |
( |
CMenu * | submenu, |
|
|
std::string_view | nameOption, |
|
|
AbstractMenuOption ** | option ) |
|
inherited |
◆ addOptionWithImageToSubMenu()
void iv::appdiamar::ApplicationGui::addOptionWithImageToSubMenu |
( |
CMenu * | submenu, |
|
|
std::string_view | nameOption, |
|
|
std::string_view | nameImage, |
|
|
bool | isToolbar, |
|
|
AbstractMenuOption ** | option ) |
|
inherited |
◆ addSubMenu()
void iv::appdiamar::ApplicationGui::addSubMenu |
( |
std::string_view | name, |
|
|
CMenu ** | submenu ) |
|
inherited |
◆ addWorkspace()
void iv::appdiamar::ApplicationGui::addWorkspace |
( |
CWorkspace ** | workspace | ) |
|
|
inherited |
◆ canEnd()
bool iv::appdiamar::ApplicationGui::canEnd |
( |
CDialog * | dlgFather | ) |
|
|
virtualinherited |
◆ canEndApplication()
bool iv::appdiamar::ApplicationGui::canEndApplication |
( |
| ) |
|
|
inherited |
◆ closeAllDialogsState()
bool iv::appdiamar::ApplicationGui::closeAllDialogsState |
( |
| ) |
const |
|
nodiscardinherited |
◆ create()
void CAppEditDiamar::create |
( |
const std::optional< std::string > & | projectFolder | ) |
|
|
static |
◆ endApplication()
void iv::appdiamar::ApplicationGui::endApplication |
( |
| ) |
|
|
inherited |
◆ ending()
◆ exitMode()
◆ get()
std::unique_ptr< Application > & iv::appdiamar::Application::get |
( |
| ) |
|
|
staticinherited |
◆ getApplicationController()
|
inlinenodiscardoverridevirtual |
◆ getApplicationGui()
◆ getCurrentWorkspaceRef()
CWorkspace * iv::appdiamar::ApplicationGui::getCurrentWorkspaceRef |
( |
| ) |
const |
|
nodiscardinherited |
◆ getDialogApplicationRef()
CDialog * iv::appdiamar::ApplicationGui::getDialogApplicationRef |
( |
| ) |
const |
|
nodiscardinherited |
◆ getFrameRef()
const std::shared_ptr< IComponentsGUI > & iv::appdiamar::ApplicationGui::getFrameRef |
( |
| ) |
const |
|
nodiscardinherited |
◆ getHeaderNavigableOptions()
◆ getIndicators()
const std::shared_ptr< CIndicators > & iv::appdiamar::ApplicationGui::getIndicators |
( |
| ) |
const |
|
nodiscardinherited |
◆ getInfoBar()
const std::unique_ptr< CInfoBar > & iv::appdiamar::ApplicationGui::getInfoBar |
( |
| ) |
|
|
inherited |
◆ getMenu()
const std::shared_ptr< CMenu > & iv::appdiamar::ApplicationGui::getMenu |
( |
| ) |
const |
|
nodiscardinherited |
◆ getName()
std::string_view iv::appdiamar::ApplicationGui::getName |
( |
| ) |
const |
|
nodiscardinherited |
◆ getTitle()
std::string_view iv::appdiamar::ApplicationGui::getTitle |
( |
| ) |
const |
|
nodiscardinherited |
◆ getViewActive()
◆ run()
void CAppEditDiamar::run |
( |
int32_t | argc, |
|
|
char * | argv[] ) |
|
overridevirtual |
◆ runDialogIndicator()
void iv::appdiamar::ApplicationGui::runDialogIndicator |
( |
double | xPos, |
|
|
double | yPos, |
|
|
unsigned char | justify, |
|
|
CIndicator * | indicator ) |
|
inherited |
◆ runGUI()
void iv::appdiamar::ApplicationGui::runGUI |
( |
const std::shared_ptr< IComponentsGUI > & | frame, |
|
|
int32_t | argc, |
|
|
char * | argv[] ) |
|
inherited |
◆ setController()
◆ setCSS()
void iv::appdiamar::ApplicationGui::setCSS |
( |
std::string_view | css | ) |
|
|
inherited |
◆ setIcon()
void iv::appdiamar::ApplicationGui::setIcon |
( |
std::string_view | icon | ) |
|
|
inherited |
◆ setModelApplication()
void iv::appdiamar::ApplicationGui::setModelApplication |
( |
iv::model::IModel ** | modelApplication | ) |
|
|
inherited |
◆ setViewActive()
◆ start()
bool iv::appdiamar::ApplicationGui::start |
( |
| ) |
|
|
virtualinherited |
This has been commented because it made the logic editor not draw the initial logic blocks when the editor was launched from a Project.sni file. So far, no issues have been observed after commenting it, suggesting it might be unnecessary, but it is not completely certain. if (applicationController->programCaller() != iv::eProgramCaller::DiamarRepeater) { updateWorkSpaces(); }
Reimplemented in CAppDiamar.
◆ starting()
◆ state()
◆ update()
void iv::appdiamar::ApplicationGui::update |
( |
| ) |
|
|
inherited |
◆ updateAppTitle()
void iv::appdiamar::ApplicationGui::updateAppTitle |
( |
| ) |
|
|
inherited |
◆ updateWorkSpaces()
void iv::appdiamar::ApplicationGui::updateWorkSpaces |
( |
| ) |
|
|
inherited |
◆ applicationController
◆ instance
std::unique_ptr< Application > iv::appdiamar::Application::instance = nullptr |
|
staticprotectedinherited |
◆ m_activeEditorView
◆ m_clockNotification
◆ m_css
std::string iv::appdiamar::ApplicationGui::m_css |
|
protectedinherited |
◆ m_currentWorkspaceRef
CWorkspace* iv::appdiamar::ApplicationGui::m_currentWorkspaceRef |
|
protectedinherited |
◆ m_dialogApplicationRef
CDialog* iv::appdiamar::ApplicationGui::m_dialogApplicationRef |
|
protectedinherited |
◆ m_frameRef
std::shared_ptr<IComponentsGUI> iv::appdiamar::ApplicationGui::m_frameRef |
|
protectedinherited |
◆ m_headerNavigableOptions
◆ m_headerTitle
std::optional<std::string> iv::appdiamar::ApplicationGui::m_headerTitle |
|
protectedinherited |
◆ m_icon
std::string iv::appdiamar::ApplicationGui::m_icon |
|
protectedinherited |
◆ m_indicators
std::shared_ptr<CIndicators> iv::appdiamar::ApplicationGui::m_indicators |
|
protectedinherited |
◆ m_infoBar
std::unique_ptr<CInfoBar> iv::appdiamar::ApplicationGui::m_infoBar |
|
protectedinherited |
◆ m_menu
std::shared_ptr<CMenu> iv::appdiamar::ApplicationGui::m_menu |
|
protectedinherited |
◆ m_name
std::string_view iv::appdiamar::Application::m_name |
|
protectedinherited |
◆ m_navigableOptions
◆ m_notificationIndicator
◆ m_possibleHeaderTitle
std::optional<std::set<std::string> > iv::appdiamar::ApplicationGui::m_possibleHeaderTitle |
|
protectedinherited |
◆ m_themesManager
◆ m_title
std::string iv::appdiamar::ApplicationGui::m_title |
|
protectedinherited |
◆ m_workspaces
std::unique_ptr<std::vector<CWorkspace *> > iv::appdiamar::ApplicationGui::m_workspaces |
|
protectedinherited |
The documentation for this class was generated from the following files: