CAboutWidgetGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtgui_CAboutWidgetGuiComp_included
2 #define iqtgui_CAboutWidgetGuiComp_included
3 
4 
5 // ACF includes
8 
9 #include <GeneratedFiles/iqtgui/ui_CAboutWidgetGuiComp.h>
10 
11 
12 namespace iqtgui
13 {
14 
15 
19 class CAboutWidgetGuiComp: public iqtgui::TDesignerGuiCompBase<Ui::CAboutWidgetGuiComp>
20 {
21  Q_OBJECT
22 public:
24 
25  I_BEGIN_COMPONENT(CAboutWidgetGuiComp);
26  I_ASSIGN(m_applicationInfoCompPtr, "ApplicationInfo", "Application info object", true, "ApplicationInfo");
27  I_ASSIGN(m_logoPathAttrPtr, "LogoPath", "Path of bitmap logo", false, "");
28  I_ASSIGN(m_showProductNameAttrPtr, "ShowProductName", "If true, product name will be shown, disable it, if it was painted on background image", true, true);
29  I_ASSIGN(m_showApplicationNameAttrPtr, "ShowApplicationName", "If true, application name will be shown, disable it, if it was painted on background image", true, true);
30  I_ASSIGN(m_showApplicationSubnameAttrPtr, "ShowApplicationSubName", "If true, application subname will be shown, disable it, if it was painted on background image", true, false);
31  I_ASSIGN(m_showProductTypeAttrPtr, "ShowProductType", "Additional product description shown over version info", true, false);
32  I_ASSIGN(m_showLegalCopyrightAttrPtr, "ShowLegalCopyright", "If enabled legal copyrights will be shown", true, true);
33  I_ASSIGN_MULTI_1(m_versionIdsAttrPtr, "VersionIds", "List of version ID's for version infor should be displayed", false, 0);
34  I_ASSIGN_MULTI_1(m_versionNamesAttrPtr, "VersionNames", "List of version names will be used as version description", false, "Version");
35  I_END_COMPONENT;
36 
37 protected:
38  // reimplemented (iqtgui::CGuiComponentBase)
39  virtual void OnGuiCreated();
40  virtual void OnGuiRetranslate();
41 
42 protected:
43  I_REF(ibase::IApplicationInfo, m_applicationInfoCompPtr);
44  I_ATTR(QString, m_logoPathAttrPtr);
45  I_ATTR(bool, m_showProductNameAttrPtr);
46  I_ATTR(bool, m_showApplicationNameAttrPtr);
47  I_ATTR(bool, m_showApplicationSubnameAttrPtr);
48  I_ATTR(bool, m_showProductTypeAttrPtr);
49  I_ATTR(bool, m_showLegalCopyrightAttrPtr);
50  I_MULTIATTR(int, m_versionIdsAttrPtr);
51  I_MULTITEXTATTR(m_versionNamesAttrPtr);
52 };
53 
54 
55 } // namespace iqtgui
56 
57 
58 #endif // !iqtgui_CAboutWidgetGuiComp_included
59 
60 
I_MULTITEXTATTR(m_versionNamesAttrPtr)
virtual void OnGuiCreated()
Called just after GUI is initialized.
Standart component for displaying on "On About..." action.
Base class for all Qt GUI components, which use the Qt designer's UI.
virtual void OnGuiRetranslate()
Called from widget event filter when GUI should be retranslated.
iqtgui::TDesignerGuiCompBase< Ui::CAboutWidgetGuiComp > BaseClass
This interface provides some information about the application.

© 2007-2017 Witold Gantzke and Kirill Lepskiy