CDialogApplicationComp.h
Go to the documentation of this file.
1 #ifndef iqtgui_CDialogApplicationComp_included
2 #define iqtgui_CDialogApplicationComp_included
3 
4 
5 // ACF includes
6 #include <iqtgui/IDialog.h>
8 
9 
10 namespace iqtgui
11 {
12 
13 
18 {
19 public:
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);
29  virtual QString GetHelpText() const;
30 
31 private:
32  I_REF(IDialog, m_mainDialogCompPtr);
33 };
34 
35 
36 } // namespace iqtgui
37 
38 
39 #endif // iqtgui_CDialogApplicationComp_included
40 
virtual QString GetHelpText() const
Get information about the possible command line arguments of this application.
Standard component for a dialog based GUI application.
Interface for a dialog widget.
Definition: IDialog.h:17
Standard component for a Qt based GUI application.
Interface for the main entry point of a component-based application.
Definition: IApplication.h:22
virtual int Execute(int argc, char **argv)
Start execution loop of the application.

© 2007-2017 Witold Gantzke and Kirill Lepskiy