45 I_REGISTER_SUBELEMENT(RuntimeStatus);
47 I_REGISTER_SUBELEMENT_INTERFACE(RuntimeStatus,
imod::IModel, ExtractRuntimeStatus);
48 I_REGISTER_SUBELEMENT_INTERFACE(RuntimeStatus,
istd::IChangeable, ExtractRuntimeStatus);
49 I_ASSIGN(m_splashScreenCompPtr,
"SplashScreen",
"Splash screen shown before application is launched",
false,
"SplashScreen");
50 I_ASSIGN(m_applicationInfoCompPtr,
"ApplicationInfo",
"Application info used to set main window title",
false,
"ApplicationInfo");
51 I_ASSIGN(m_translationManagerCompPtr,
"TranslationManager",
"Translation manager",
false,
"TranslationManager");
52 I_ASSIGN(m_splashTimeAttrPtr,
"SplashTime",
"Minimal time splash screen will be shown",
true, 2);
53 I_ASSIGN(m_styleSheetAttrPtr,
"StyleSheet",
"Style sheet for the GUI",
false,
"");
54 I_ASSIGN(m_iconPathAttrPtr,
"IconPath",
"file path for the application icon",
true,
":/Icons/AcfLogo");
55 I_ASSIGN(m_titleFormatAttrPtr,
"TitleFormat",
"Describe format of title bar, tags:\n\t$(CompanyName) - name of company\n\t$(ProductName) - product name\n\t$(AppName) - application name\n\t$(AppSubName) - application sub name\n\t$(AppType) - type of application\n\t$(Version) - main application version",
true,
"$(AppName)");
56 I_ASSIGN_MULTI_0(m_componentsToInitializeCompPtr,
"ComponentsToInitialize",
"List of components to be initialized after creation of the application instance (QCoreApplication) and after the event loop was started",
false);
57 I_ASSIGN_MULTI_0(m_componentsToPreInitializeCompPtr,
"ComponentsToPreInitialize",
"List of components to be initialized after creation of the application instance (QCoreApplication) but before the loop was started",
false);
83 void SetRuntimeStatus(IRuntimeStatusProvider::RuntimeStatus runtimeStatus);
86 virtual IRuntimeStatusProvider::RuntimeStatus GetRuntimeStatus()
const override;
89 IRuntimeStatusProvider::RuntimeStatus m_status;
93 template <
class InterfaceType>
105 I_ATTR(
double, m_splashTimeAttrPtr);
106 I_ATTR(QString, m_styleSheetAttrPtr);
107 I_ATTR(QString, m_iconPathAttrPtr);
108 I_ATTR(QString, m_titleFormatAttrPtr);