ACF $AcfVersion:0$
Public Types | Public Member Functions | List of all members
iqtgui::CModelDialogGuiComp Class Reference

Component for the dialog based model editing. More...

#include <CModelDialogGuiComp.h>

Inheritance diagram for iqtgui::CModelDialogGuiComp:
iqtgui::CDialogGuiComp imod::TSingleModelObserverBase< istd::IChangeable > iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< CDialogGuiCompAttr > > iqtgui::IDialog imod::CSingleModelObserverBase iqtgui::TDesignSchemaHandlerWrap< Base > iqtgui::CIconProvider istd::IPolymorphic imod::IObserver istd::IPolymorphic

Public Types

typedef iqtgui::CDialogGuiComp BaseClass
 
typedef imod::TSingleModelObserverBase< istd::IChangeableBaseClass2
 
- Public Types inherited from iqtgui::CDialogGuiComp
typedef TMakeIconProviderCompWrap< ibase::TLocalizableWrap< CDialogGuiCompAttr > > BaseClass
 
typedef QObject BaseClass2
 
- Public Types inherited from iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< CDialogGuiCompAttr > >
typedef ibase::TLocalizableWrap< CDialogGuiCompAttrBaseClass
 
- Public Types inherited from iqtgui::TDesignSchemaHandlerWrap< Base >
typedef Base BaseClass
 
- Public Types inherited from imod::TSingleModelObserverBase< istd::IChangeable >
typedef CSingleModelObserverBase BaseClass
 
typedef istd::IChangeable ModelType
 
- Public Types inherited from imod::CSingleModelObserverBase
typedef imod::IModel ModelType
 

Public Member Functions

virtual int ExecuteDialog (IGuiObject *parentPtr) override
 Execute dialog instance.
 
- Public Member Functions inherited from iqtgui::CDialogGuiComp
 CDialogGuiComp ()
 
- Public Member Functions inherited from iqtgui::TDesignSchemaHandlerWrap< Base >
 TDesignSchemaHandlerWrap ()
 
virtual void EnableDesignHandler (bool enable=true)
 If enabled, listen to the design schema change events from the application context.
 
- Public Member Functions inherited from iqtgui::CIconProvider
virtual QIcon GetIcon (const QString &iconName) const
 
virtual QString GetIconPath (const QString &iconName) const
 
virtual QString GetStyleSheetPath (const QString &styleSheetPath) const
 
QByteArray GetCurrentThemeId () const
 
void SetThemeId (const QByteArray &themeId)
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 
- Public Member Functions inherited from imod::TSingleModelObserverBase< istd::IChangeable >
 TSingleModelObserverBase ()
 
istd::IChangeableGetObservedObject () const
 Get instance of observed object.
 
istd::IChangeableGetObjectPtr () const
 Get instance of observed object.
 
bool AttachOrSetObject (istd::IChangeable *objectPtr)
 Attach to model of object or set object pointer, if no connection is possible.
 
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
 Callback invoked when an observable model is about to be attached to this observer.
 
virtual bool OnModelDetached (imod::IModel *modelPtr) override
 Callback invoked when an observable model is about to be detached from this observer.
 
- Public Member Functions inherited from imod::CSingleModelObserverBase
 CSingleModelObserverBase ()
 
virtual ~CSingleModelObserverBase ()
 
imod::IModelGetObservedModel () const
 Get access to observed model.
 
imod::IModelGetModelPtr () const
 Get access to observed model.
 
void EnsureModelDetached ()
 Make sure this observer is detached.
 
void SetObservedIds (const istd::IChangeable::ChangeSet &changeMask)
 Set list of ID's beeing observed.
 
virtual bool IsModelAttached (const imod::IModel *modelPtr=NULL) const override
 Checks if the specified model is currently attached to this observer.
 
virtual void BeforeUpdate (imod::IModel *modelPtr) override
 Callback invoked before an update of the observer's content occurs.
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet) override
 Callback invoked after an update of the observer's content occurs.
 

Additional Inherited Members

- Protected Slots inherited from iqtgui::CDialogGuiComp
void OnCommandActivated ()
 
- Protected Member Functions inherited from iqtgui::CDialogGuiComp
virtual iqtgui::CGuiComponentDialogCreateComponentDialog (int buttons, IGuiObject *parentPtr) const
 
void UpdateVisuals ()
 
virtual void OnLanguageChanged () override
 
virtual void OnDesignSchemaChanged (const QByteArray &themeId) override
 
virtual void OnComponentCreated () override
 
virtual bool eventFilter (QObject *sourcePtr, QEvent *eventPtr) override
 
- Protected Member Functions inherited from iqtgui::CIconProvider
virtual QIcon CreateIcon (const QString &iconName) const
 
- Protected Member Functions inherited from imod::TSingleModelObserverBase< istd::IChangeable >
virtual istd::IChangeableCastFromModel (imod::IModel *modelPtr) const
 
- Protected Member Functions inherited from imod::CSingleModelObserverBase
void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value.
 
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 Called on update of observed model.
 
- Static Protected Attributes inherited from imod::CSingleModelObserverBase
static const istd::IChangeable::ChangeSet s_undoChanges
 

Detailed Description

Component for the dialog based model editing.

You can use it on two ways: connection it to edited model by model/observer concept (

See also
imod::IModel) or you can set optional reference "Model".

Definition at line 21 of file CModelDialogGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 26 of file CModelDialogGuiComp.h.

◆ BaseClass2

Definition at line 27 of file CModelDialogGuiComp.h.

Member Function Documentation

◆ ExecuteDialog()

virtual int iqtgui::CModelDialogGuiComp::ExecuteDialog ( IGuiObject parentPtr)
overridevirtual

Execute dialog instance.

Returns
Status of the dialog execution.
See also
QDialog

Reimplemented from iqtgui::CDialogGuiComp.


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