Public Types | Protected Member Functions | List of all members
iqtinsp::TGeneralSupplierGuiComp< UI > Class Template Reference

#include <CGeneralSupplierGuiComp.h>

Inheritance diagram for iqtinsp::TGeneralSupplierGuiComp< UI >:
iqtinsp::TSupplierGuiCompBase< UI > iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > > iqt2d::IViewExtender istd::IPolymorphic

Public Types

typedef TSupplierGuiCompBase< UI > BaseClass
 
- Public Types inherited from iqtinsp::TSupplierGuiCompBase< UI >
typedef
iqt2d::TViewExtenderCompBase
< iqtgui::TDesignerGuiObserverCompBase
< UI, iinsp::ISupplier > > 
BaseClass
 
- Public Types inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
typedef
iqtgui::TDesignerGuiObserverCompBase
< UI, iinsp::ISupplier
BaseClass
 

Protected Member Functions

virtual void Test ()
 
virtual QWidget * GetParamsWidget () const
 Get parameters widget object. More...
 
virtual void OnSupplierParamsChanged ()
 Method will be called every time if the parameter set of the supplier has been changed. More...
 
virtual void OnGuiModelAttached ()
 
virtual void OnGuiHidden ()
 
virtual void UpdateGui (const istd::IChangeable::ChangeSet &changeSet)
 
- Protected Member Functions inherited from iqtinsp::TSupplierGuiCompBase< UI >
bool AreParamsEditable () const
 Check, if parameters are correct connected to GUI and can be editable. More...
 
bool IsLoadParamsSupported () const
 Check if parameter loading is supported. More...
 
bool IsSaveParamsSupported () const
 Check if parameter storing is supported. More...
 
bool LoadParams ()
 Load parameters from external source (file). More...
 
bool SaveParams ()
 Save parameters for example to file. More...
 
bool DoTest ()
 Do inspection test. More...
 
virtual void UpdateVisualStatus ()
 Update visual status of supplier state. More...
 
virtual const
i2d::ICalibrationProvider
ExtractCalibrationProvider () const
 Extract calibration provider from the observed object. More...
 
virtual void OnGuiModelDetached ()
 
virtual void CreateShapes (int sceneId, Shapes &result)
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)
 
- Protected Member Functions inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
bool IsViewIdSupported (int viewId) const
 
const ShapesMapGetShapesMap () const
 
void UpdateAllViews ()
 

Additional Inherited Members

- Public Member Functions inherited from iqtinsp::TSupplierGuiCompBase< UI >
 TSupplierGuiCompBase ()
 
virtual void AddItemsToScene (iqt2d::IViewProvider *providerPtr, int flags)
 
virtual void RemoveItemsFromScene (iqt2d::IViewProvider *providerPtr)
 
- Public Member Functions inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
 TViewExtenderCompBase ()
 
- Protected Types inherited from iqtinsp::TSupplierGuiCompBase< UI >
typedef BaseClass::Shapes Shapes
 
- Protected Types inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
enum  ExtenderMode
 
typedef istd::TPointerVector
< iview::IShape
Shapes
 
typedef QMap< IViewProvider
*, Shapes
ShapesMap
 
- Protected Attributes inherited from iqtinsp::TSupplierGuiCompBase< UI >
ParamsObserver m_paramsObserver
 
StatusObserver m_statusObserver
 

Detailed Description

template<class UI = Ui::CGeneralSupplierGuiComp>
class iqtinsp::TGeneralSupplierGuiComp< UI >

Definition at line 22 of file CGeneralSupplierGuiComp.h.

Member Typedef Documentation

template<class UI = Ui::CGeneralSupplierGuiComp>
typedef TSupplierGuiCompBase<UI> iqtinsp::TGeneralSupplierGuiComp< UI >::BaseClass

Definition at line 25 of file CGeneralSupplierGuiComp.h.

Member Function Documentation

template<class UI >
QWidget * iqtinsp::TGeneralSupplierGuiComp< UI >::GetParamsWidget ( ) const
protectedvirtual

Get parameters widget object.

Extern paremeters GUI will attach to this widget. This widget should have some layout.

Implements iqtinsp::TSupplierGuiCompBase< UI >.

Definition at line 73 of file CGeneralSupplierGuiComp.h.

template<class UI >
void iqtinsp::TGeneralSupplierGuiComp< UI >::OnGuiHidden ( )
protectedvirtual

Definition at line 109 of file CGeneralSupplierGuiComp.h.

template<class UI >
void iqtinsp::TGeneralSupplierGuiComp< UI >::OnGuiModelAttached ( )
protectedvirtual

Reimplemented from iqtinsp::TSupplierGuiCompBase< UI >.

Definition at line 93 of file CGeneralSupplierGuiComp.h.

template<class UI >
void iqtinsp::TGeneralSupplierGuiComp< UI >::OnSupplierParamsChanged ( )
protectedvirtual

Method will be called every time if the parameter set of the supplier has been changed.

Default implementation does nothing.

Reimplemented from iqtinsp::TSupplierGuiCompBase< UI >.

Definition at line 82 of file CGeneralSupplierGuiComp.h.

template<class UI >
void iqtinsp::TGeneralSupplierGuiComp< UI >::Test ( )
protectedvirtual
template<class UI >
void iqtinsp::TGeneralSupplierGuiComp< UI >::UpdateGui ( const istd::IChangeable::ChangeSet changeSet)
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy