ACF $AcfVersion:0$
Public Types | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
iqtprm::CComposedParamsSetGuiComp Class Reference

#include <CComposedParamsSetGuiComp.h>

Inheritance diagram for iqtprm::CComposedParamsSetGuiComp:
iqtgui::TDesignerGuiObserverCompBase< Ui::CComposedParamsSetGuiComp, iprm::IParamsSet > iqt2d::IViewExtender iview::IShapeFactory ibase::TModelObserverCompBaseWrap< ObserverComponent > istd::IPolymorphic istd::IPolymorphic

Public Types

enum  DesignType { DT_SIMPLE , DT_TOOL_BOX , DT_TAB_WIDGET }
 
typedef iqtgui::TDesignerGuiObserverCompBase< Ui::CComposedParamsSetGuiComp, iprm::IParamsSetBaseClass
 
- Public Types inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
typedef ObserverComponent BaseClass
 
- Public Types inherited from iqt2d::IViewExtender
enum  SceneFlags { SF_BACKGROUND = 1 , SF_DIRECT = 2 }
 Standard flags for items . More...
 

Public Member Functions

 CComposedParamsSetGuiComp ()
 
virtual void UpdateEditor (const istd::IChangeable::ChangeSet &changeSet) override
 
virtual void OnGuiCreated () override
 
virtual void OnGuiDestroyed () override
 
virtual void OnGuiRetranslate () override
 
virtual void AddItemsToScene (iqt2d::IViewProvider *providerPtr, int flags) override
 Called when items should be added to specified scene.
 
virtual void RemoveItemsFromScene (iqt2d::IViewProvider *providerPtr) override
 Called when items should be removed from specified scene.
 
virtual iview::IShapeCreateShape (const istd::IChangeable *objectPtr, bool connectToModel=false) const override
 Create a graphical representation of the given 2D-object object.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Slots

void OnEditorChanged (int index)
 
void on_LoadParamsButton_clicked ()
 
void on_SaveParamsButton_clicked ()
 

Protected Member Functions

void AttachToScene (iqt2d::IViewProvider *providerPtr, int flags)
 
void DetachFromScene (iqt2d::IViewProvider *providerPtr)
 
virtual void OnGuiModelAttached () override
 
virtual void OnGuiModelDetached () override
 
virtual void UpdateModel () const override
 
QList< imod::IModelEditor * > GetModelEditors () const
 
QList< QByteArray > GetIds () const
 
- Protected Member Functions inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 

Detailed Description

Definition at line 24 of file CComposedParamsSetGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 32 of file CComposedParamsSetGuiComp.h.

Member Enumeration Documentation

◆ DesignType

Enumerator
DT_SIMPLE 
DT_TOOL_BOX 
DT_TAB_WIDGET 

Definition at line 34 of file CComposedParamsSetGuiComp.h.

Constructor & Destructor Documentation

◆ CComposedParamsSetGuiComp()

iqtprm::CComposedParamsSetGuiComp::CComposedParamsSetGuiComp ( )

Member Function Documentation

◆ AddItemsToScene()

virtual void iqtprm::CComposedParamsSetGuiComp::AddItemsToScene ( iqt2d::IViewProvider providerPtr,
int  flags 
)
overridevirtual

Called when items should be added to specified scene.

Implements iqt2d::IViewExtender.

◆ AttachToScene()

void iqtprm::CComposedParamsSetGuiComp::AttachToScene ( iqt2d::IViewProvider providerPtr,
int  flags 
)
protected

◆ CreateShape()

virtual iview::IShape * iqtprm::CComposedParamsSetGuiComp::CreateShape ( const istd::IChangeable objectPtr,
bool  connectToModel = false 
) const
overridevirtual

Create a graphical representation of the given 2D-object object.

If \connectModel is enabled, the created shape will be connected to the object's data model. If connection has failed, then no shape will be returned. The method returns NULL if the shape could not be created.

Parameters
objectPtrObject for which the shape will be created. If it is NULL, this will be anonymous. It is declared as const, but for attachement to model this const will be removed.
connectToModelIf this flag is enabled, the shape will be attached to model of object using observer/observable mechanism.

Implements iview::IShapeFactory.

◆ DetachFromScene()

void iqtprm::CComposedParamsSetGuiComp::DetachFromScene ( iqt2d::IViewProvider providerPtr)
protected

◆ GetIds()

QList< QByteArray > iqtprm::CComposedParamsSetGuiComp::GetIds ( ) const
protected

◆ GetModelEditors()

QList< imod::IModelEditor * > iqtprm::CComposedParamsSetGuiComp::GetModelEditors ( ) const
protected

◆ on_LoadParamsButton_clicked

void iqtprm::CComposedParamsSetGuiComp::on_LoadParamsButton_clicked ( )
protectedslot

◆ on_SaveParamsButton_clicked

void iqtprm::CComposedParamsSetGuiComp::on_SaveParamsButton_clicked ( )
protectedslot

◆ OnEditorChanged

void iqtprm::CComposedParamsSetGuiComp::OnEditorChanged ( int  index)
protectedslot

◆ OnGuiCreated()

virtual void iqtprm::CComposedParamsSetGuiComp::OnGuiCreated ( )
overridevirtual

◆ OnGuiDestroyed()

virtual void iqtprm::CComposedParamsSetGuiComp::OnGuiDestroyed ( )
overridevirtual

◆ OnGuiModelAttached()

virtual void iqtprm::CComposedParamsSetGuiComp::OnGuiModelAttached ( )
overrideprotectedvirtual

◆ OnGuiModelDetached()

virtual void iqtprm::CComposedParamsSetGuiComp::OnGuiModelDetached ( )
overrideprotectedvirtual

◆ OnGuiRetranslate()

virtual void iqtprm::CComposedParamsSetGuiComp::OnGuiRetranslate ( )
overridevirtual

◆ RemoveItemsFromScene()

virtual void iqtprm::CComposedParamsSetGuiComp::RemoveItemsFromScene ( iqt2d::IViewProvider providerPtr)
overridevirtual

Called when items should be removed from specified scene.

Implements iqt2d::IViewExtender.

◆ UpdateEditor()

virtual void iqtprm::CComposedParamsSetGuiComp::UpdateEditor ( const istd::IChangeable::ChangeSet changeSet)
overridevirtual

◆ UpdateModel()

virtual void iqtprm::CComposedParamsSetGuiComp::UpdateModel ( ) const
overrideprotectedvirtual

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