ACF $AcfVersion:0$
CAboutWidgetGuiComp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
8
9#include <GeneratedFiles/iqtgui/ui_CAboutWidgetGuiComp.h>
10
11
12namespace iqtgui
13{
14
15
19class CAboutWidgetGuiComp: public iqtgui::TDesignerGuiCompBase<Ui::CAboutWidgetGuiComp>
20{
21 Q_OBJECT
22public:
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
37protected:
38 // reimplemented (iqtgui::CGuiComponentBase)
39 virtual void OnGuiCreated() override;
40 virtual void OnGuiRetranslate() override;
41
42protected:
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
59
This interface provides some information about the application.
Standard component for displaying on "On About..." action.
virtual void OnGuiCreated() override
Called just after GUI is initialized.
I_MULTITEXTATTR(m_versionNamesAttrPtr)
virtual void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
iqtgui::TDesignerGuiCompBase< Ui::CAboutWidgetGuiComp > BaseClass
Base class for all Qt GUI components, which use the Qt designer's UI.
Standard GUI specific interfaces and components based on Qt.