ACF $AcfVersion:0$
CDialogApplicationComp.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
6#include <iqtgui/IDialog.h>
8
9
10namespace iqtgui
11{
12
13
18{
19public:
21
22 I_BEGIN_COMPONENT(CDialogApplicationComp);
23 I_REGISTER_INTERFACE(ibase::IApplication);
24 I_ASSIGN(m_mainDialogCompPtr, "MainDialogWindow", "Dialog window shown as main window", true, "MainDialogWindow");
25 I_END_COMPONENT;
26
27 // reimplemented (ibase::IApplication)
28 virtual int Execute(int argc, char** argv) override;
29 virtual QString GetHelpText() const override;
30
31private:
32 I_REF(IDialog, m_mainDialogCompPtr);
33};
34
35
36} // namespace iqtgui
37
38
39
Interface for the main entry point of a component-based application.
Standard component for a Qt based GUI application.
Standard component for a dialog based GUI application.
virtual QString GetHelpText() const override
Get information about the possible command line arguments of this application.
virtual int Execute(int argc, char **argv) override
Start execution loop of the application.
Interface for a dialog widget.
Definition IDialog.h:18
Standard GUI specific interfaces and components based on Qt.