Public Types | Public Member Functions | Protected Member Functions | List of all members
iqtgui::TDesignerGuiCompBase< UI, WidgetType > Class Template Reference

Base class for all Qt GUI components, which use the Qt designer's UI. More...

#include <TDesignerGuiCompBase.h>

Inheritance diagram for iqtgui::TDesignerGuiCompBase< UI, WidgetType >:
iqtgui::TGuiComponentBase< WidgetType > iqtgui::CGuiComponentBase ibase::TLocalizableWrap< icomp::CComponentBase > iqtgui::IGuiObject icomp::CComponentBase istd::IPolymorphic icomp::IComponent istd::IPolymorphic iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > > ibase::TModelObserverCompBaseWrap< iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > > > iqtgui::TDesignerGuiObserverCompBase< UI, Model, WidgetType >

Public Types

typedef TGuiComponentBase
< WidgetType > 
BaseClass
 
- Public Types inherited from iqtgui::TGuiComponentBase< WidgetType >
typedef CGuiComponentBase BaseClass
 
- Public Types inherited from iqtgui::CGuiComponentBase
typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from ibase::TLocalizableWrap< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
 

Public Member Functions

virtual QWidget * CreateQtWidget (QWidget *parentPtr)
 Create slave widget object. More...
 
- Public Member Functions inherited from iqtgui::TGuiComponentBase< WidgetType >
 TGuiComponentBase ()
 
virtual WidgetType * GetQtWidget () const
 
- Public Member Functions inherited from iqtgui::CGuiComponentBase
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, IVisualStatus, ExtractVisualStatus)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, istd::IChangeable, ExtractVisualStatus)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, imod::IModel, ExtractVisualStatus)
 
 CGuiComponentBase ()
 
bool IsGuiShown () const
 
virtual bool IsGuiCreated () const
 Inform if GUI was initilized. More...
 
virtual bool CreateGui (QWidget *parentPtr)
 Initialize GUI and connect it to the parent. More...
 
virtual bool DestroyGui ()
 Release GUI and disconnect it from parent. More...
 
virtual QWidget * GetWidget () const
 Get access to internal QWidget object. More...
 
virtual void OnTryClose (bool *ignoredPtr=NULL)
 Called on trying to close application. More...
 
- Public Member Functions inherited from ibase::TLocalizableWrap< icomp::CComponentBase >
 TLocalizableWrap ()
 
virtual void EnableLocalization (bool enableLocalization=true)
 If enabled, listen to the language change event from the application context. More...
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context. More...
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component. More...
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface. More...
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry. More...
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Member Functions

virtual void OnGuiRetranslate ()
 Called from widget event filter when GUI should be retranslated. More...
 
- Protected Member Functions inherited from iqtgui::CGuiComponentBase
virtual void OnGuiShown ()
 Called from widget event filter when slave widget is shown. More...
 
virtual void OnGuiHidden ()
 Called from widget event filter when slave widget is hidden. More...
 
virtual bool OnKeyPressed (QKeyEvent *event)
 Called from widget event filter when key is pressed. More...
 
virtual void OnRetranslate ()
 Called when non-GUI elements (like commands) should be retranslated. More...
 
virtual void OnGuiCreated ()
 Called just after GUI is initialized. More...
 
virtual void OnGuiDestroyed ()
 Called just before GUI is released. More...
 
void SetStatusIcon (const QIcon &icon)
 Set status icon;. More...
 
void SetStatusText (const QString &text)
 Set status text;. More...
 
virtual void OnLanguageChanged ()
 
virtual bool eventFilter (QObject *sourcePtr, QEvent *eventPtr)
 
virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
 
virtual void OnComponentDestroyed ()
 
virtual const
icomp::IRealComponentStaticInfo
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const
icomp::IRealComponentStaticInfo
InitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 
- Protected Attributes inherited from iqtgui::CGuiComponentBase
imod::TModelWrap< VisualStatusm_visualStatus
 

Detailed Description

template<class UI, class WidgetType = QWidget>
class iqtgui::TDesignerGuiCompBase< UI, WidgetType >

Base class for all Qt GUI components, which use the Qt designer's UI.

Definition at line 21 of file TDesignerGuiCompBase.h.

Member Typedef Documentation

template<class UI, class WidgetType = QWidget>
typedef TGuiComponentBase<WidgetType> iqtgui::TDesignerGuiCompBase< UI, WidgetType >::BaseClass

Definition at line 24 of file TDesignerGuiCompBase.h.

Member Function Documentation

template<class UI , class WidgetType >
QWidget * iqtgui::TDesignerGuiCompBase< UI, WidgetType >::CreateQtWidget ( QWidget *  parentPtr)
virtual

Create slave widget object.

Reimplemented from iqtgui::TGuiComponentBase< WidgetType >.

Definition at line 40 of file TDesignerGuiCompBase.h.

References NULL.

template<class UI , class WidgetType >
void iqtgui::TDesignerGuiCompBase< UI, WidgetType >::OnGuiRetranslate ( )
protectedvirtual

Called from widget event filter when GUI should be retranslated.

Reimplemented from iqtgui::CGuiComponentBase.

Reimplemented in iqtprm::CSelectionParamGuiComp, iqt2d::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >, iqt2d::TPolygonBasedParamsGuiComp< iview::CTubePolylineShape, i2d::CTubePolyline >, iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >, iqt2d::TPolygonBasedParamsGuiComp< iview::CPolylineShape, i2d::CPolyline >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CEnableableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IEnableableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CExtParamsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CQuadrangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CComposedParamsSetGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectableGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileSystemExplorerGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertyGuiComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CTubePolyline > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFilePreviewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< CircleBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileTreeViewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< ShapeModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CButtonBasedSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CLine2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsListEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsList > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CVariableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IVariableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPosition2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CTextLogGuiComp, QWidget >, imod::TSingleModelObserverBase< ilog::IMessageContainer > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolyline > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileListProviderGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileListProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CParamsManagerGuiCompBase, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::INameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CArc > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSimpleFilePathParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CRectangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< PolygonBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CShapeInfoGuiComp, QWidget >, imod::TSingleModelObserverBase< IShapeStatusInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamIndexGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertiesFrameComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolygon > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulus > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CCheckableOptionsEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtprm::COptionsManagerGuiComp, iqtgui::CSplashScreenGuiComp, ifilegui::CFilePreviewGuiComp, iqtprm::CFileNameParamGuiComp, ifilegui::CSimpleFilePathParamGuiComp, iqt2d::CLine2dParamsGuiComp, iqt2d::CPosition2dParamsGuiComp, iqt2d::CAnnulusParamsGuiComp, iqt2d::CQuadrangleParamsGuiComp, iqt2d::CAnnulusSegmentParamsGuiComp, iqt2d::CArcParamsGuiComp, iqt2d::CRectangleParamsGuiComp, iqtgui::CAboutWidgetGuiComp, iloggui::CTextLogGuiComp, iqt2d::TCircleBasedParamsGuiComp< CircleBasedShape, CircleBasedModel >, iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle >, iqt2d::TCircleBasedParamsGuiComp< iview::CCircleShape, i2d::CCircle >, iqt2d::COrientedCircleEditorComp, iqt2d::CPolylineParamsGuiComp, iqtprm::CEnableableParamGuiComp, and iqtgui::CCalendarGuiComp.

Definition at line 60 of file TDesignerGuiCompBase.h.

References NULL.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy