Public Member Functions | List of all members
iqtgui::IGuiObject Class Referenceabstract

Common interface for GUI objects using in component context. More...

#include <IGuiObject.h>

Inheritance diagram for iqtgui::IGuiObject:
istd::IPolymorphic iqtgui::CGuiComponentBase iqtgui::CModelEditorGuiComp iqtgui::CMultiPageGuiCompBase iqtgui::TGuiComponentBase< WidgetType > iqtgui::TGuiComponentBase< ItemWidgetClass > iqtgui::TGuiComponentBase< iview::CConsoleGui > iqtgui::TGuiComponentBase< QDockWidget > iqtgui::TGuiComponentBase< QLabel > iqtgui::TGuiComponentBase< QMainWindow > iqtgui::TGuiComponentBase< QMdiArea > iqtgui::TGuiComponentBase< QSplashScreen > iqtgui::TGuiComponentBase< QTableView > iqtgui::TGuiComponentBase< QTextBrowser > iqtgui::TGuiComponentBase< QToolBar > iqtgui::TGuiComponentBase< QWidget >

Public Member Functions

virtual bool IsGuiCreated () const =0
 Inform if GUI was initilized. More...
 
virtual bool CreateGui (QWidget *parentPtr)=0
 Initialize GUI and connect it to the parent. More...
 
virtual bool DestroyGui ()=0
 Release GUI and disconnect it from parent. More...
 
virtual QWidget * GetWidget () const =0
 Get access to internal QWidget object. More...
 
virtual void OnTryClose (bool *ignoredPtr=NULL)=0
 Called on trying to close application. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Common interface for GUI objects using in component context.

Definition at line 25 of file IGuiObject.h.

Member Function Documentation

virtual bool iqtgui::IGuiObject::CreateGui ( QWidget *  parentPtr)
pure virtual
virtual bool iqtgui::IGuiObject::DestroyGui ( )
pure virtual
virtual QWidget* iqtgui::IGuiObject::GetWidget ( ) const
pure virtual

Get access to internal QWidget object.

Implemented in iqtgui::CGuiComponentBase, and iqtgui::CModelEditorGuiComp.

virtual bool iqtgui::IGuiObject::IsGuiCreated ( ) const
pure virtual

Inform if GUI was initilized.

Implemented in iqtgui::CGuiComponentBase, and iqtgui::CModelEditorGuiComp.

virtual void iqtgui::IGuiObject::OnTryClose ( bool *  ignoredPtr = NULL)
pure virtual

Called on trying to close application.

Parameters
ignoredPtrif it is not NULL, ignoring of close is allowed. In this case implementation should set pointed value to true.

Implemented in iqtgui::CSimpleMainWindowGuiComp, iqtdoc::CMultiDocumentWorkspaceGuiComp, iqtdoc::CSingleDocumentWorkspaceGuiComp, iqtgui::CGuiComponentBase, and iqtgui::CModelEditorGuiComp.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy