Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
iqt2d::COrientedCircleEditorComp Class Reference

#include <COrientedCircleEditorComp.h>

Inheritance diagram for iqt2d::COrientedCircleEditorComp:
iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle > iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::COrientedCircleShape, i2d::COrientedCircle > iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< Ui, i2d::COrientedCircle > > iview::IShapeFactory iqtgui::TDesignerGuiObserverCompBase< Ui, i2d::COrientedCircle > iqt2d::IViewExtender istd::IPolymorphic ibase::TModelObserverCompBaseWrap< iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > > > istd::IPolymorphic iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > > iqtgui::TDesignerGuiCompBase< Ui, QWidget > imod::TSingleModelObserverBase< i2d::COrientedCircle > imod::IModelEditor iqtgui::TGuiComponentBase< QWidget > imod::CSingleModelObserverBase istd::IPolymorphic iqtgui::CGuiComponentBase imod::IObserver ibase::TLocalizableWrap< icomp::CComponentBase > iqtgui::IGuiObject istd::IPolymorphic icomp::CComponentBase istd::IPolymorphic icomp::IComponent istd::IPolymorphic

Public Types

typedef
iqt2d::TCircleBasedParamsGuiComp
< iview::COrientedCircleShape,
i2d::COrientedCircle
BaseClass
 
- Public Types inherited from iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle >
typedef
iqt2d::TShapeParamsGuiCompBase
< Ui::CCircleParamsGuiComp,
iview::COrientedCircleShape,
i2d::COrientedCircle
BaseClass
 
- Public Types inherited from iqtgui::TGuiComponentBase< QWidget >
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 Types inherited from imod::TSingleModelObserverBase< i2d::COrientedCircle >
typedef CSingleModelObserverBase BaseClass
 
typedef i2d::COrientedCircle ModelType
 
- Public Types inherited from imod::CSingleModelObserverBase
typedef imod::IModel ModelType
 
- Public Types inherited from imod::IModelEditor
enum  ChangeFlags { CF_INIT_EDITOR = 0x3720694 }
 Data model change notification flags. More...
 
- Public Types inherited from iqt2d::IViewExtender
enum  SceneFlags { SF_BACKGROUND = 1, SF_DIRECT = 2 }
 Standard flags for items . More...
 

Public Member Functions

 COrientedCircleEditorComp ()
 
- Public Member Functions inherited from iqtgui::TGuiComponentBase< QWidget >
 TGuiComponentBase ()
 
virtual QWidget * 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 ()
 
- Public Member Functions inherited from imod::TSingleModelObserverBase< i2d::COrientedCircle >
 TSingleModelObserverBase ()
 
i2d::COrientedCircleGetObservedObject () const
 Get instance of observed object. More...
 
i2d::COrientedCircleGetObjectPtr () const
 Get instance of observed object. More...
 
bool AttachOrSetObject (i2d::COrientedCircle *objectPtr)
 Attach to model of object or set object pointer, if no connection is possible. More...
 
- Public Member Functions inherited from imod::CSingleModelObserverBase
 CSingleModelObserverBase ()
 
virtual ~CSingleModelObserverBase ()
 
imod::IModelGetObservedModel () const
 Get access to observed model. More...
 
imod::IModelGetModelPtr () const
 Get access to observed model. More...
 
void EnsureModelDetached ()
 Make sure this observer is detached. More...
 
void SetObservedIds (const istd::IChangeable::ChangeSet &changeMask)
 Set list of ID's beeing observed. More...
 
virtual bool IsModelAttached (const imod::IModel *modelPtr=NULL) const
 Check if specified model is attached. More...
 
virtual void BeforeUpdate (imod::IModel *modelPtr)
 This function will be called before update of the observer contents occures. More...
 

Protected Slots

void OnParamsChanged (double value)
 
void OnActionTriggered (QAction *actionPtr)
 

Protected Member Functions

virtual bool PopulateActions (QWidget &host, imod::IModel *modelPtr)
 
virtual void OnGuiRetranslate ()
 Called from widget event filter when GUI should be retranslated. More...
 
- Protected Member Functions inherited from iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle >
virtual void OnGuiModelAttached ()
 Called when model is attached and GUI is created. More...
 
virtual void UpdateModel () const
 Do update of the model to reflect the current contents of GUI. More...
 
virtual void UpdateGui (const istd::IChangeable::ChangeSet &changeSet)
 Do update of the GUI to reflect the state of model. More...
 
virtual void OnGuiCreated ()
 Called just after GUI is initialized. More...
 
- Protected Member Functions inherited from iqtgui::CGuiComponentBase
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...
 
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)
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
 
virtual const
icomp::IRealComponentStaticInfo
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...
 
- Protected Member Functions inherited from imod::TSingleModelObserverBase< i2d::COrientedCircle >
virtual i2d::COrientedCircleCastFromModel (imod::IModel *modelPtr) const
 
- Protected Member Functions inherited from imod::CSingleModelObserverBase
void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value. More...
 
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 Called on update of observed model. More...
 

Protected Attributes

QAction m_reversePolarityAction
 
- Protected Attributes inherited from iqtgui::CGuiComponentBase
imod::TModelWrap< VisualStatusm_visualStatus
 

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())
 
- Static Protected Attributes inherited from imod::CSingleModelObserverBase
static const
istd::IChangeable::ChangeSet 
s_undoChanges
 

Detailed Description

Definition at line 15 of file COrientedCircleEditorComp.h.

Member Typedef Documentation

Definition at line 25 of file COrientedCircleEditorComp.h.

Constructor & Destructor Documentation

iqt2d::COrientedCircleEditorComp::COrientedCircleEditorComp ( )

Member Function Documentation

void iqt2d::COrientedCircleEditorComp::OnActionTriggered ( QAction *  actionPtr)
protectedslot
virtual void iqt2d::COrientedCircleEditorComp::OnGuiRetranslate ( )
protectedvirtual

Called from widget event filter when GUI should be retranslated.

Reimplemented from iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle >.

void iqt2d::COrientedCircleEditorComp::OnParamsChanged ( double  value)
protectedslot
virtual bool iqt2d::COrientedCircleEditorComp::PopulateActions ( QWidget &  host,
imod::IModel modelPtr 
)
protectedvirtual

Member Data Documentation

QAction iqt2d::COrientedCircleEditorComp::m_reversePolarityAction
protected

Definition at line 44 of file COrientedCircleEditorComp.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy