|
ACF $AcfVersion:0$
|
Component for the dialog based model editing. More...
#include <CModelDialogGuiComp.h>
Public Types | |
| typedef iqtgui::CDialogGuiComp | BaseClass |
| typedef imod::TSingleModelObserverBase< istd::IChangeable > | BaseClass2 |
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< CDialogGuiCompAttr > | BaseClass |
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::IChangeable * | GetObservedObject () const |
| Get instance of observed object. | |
| istd::IChangeable * | GetObjectPtr () 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::IModel * | GetObservedModel () const |
| Get access to observed model. | |
| imod::IModel * | GetModelPtr () 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::CGuiComponentDialog * | CreateComponentDialog (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::IChangeable * | CastFromModel (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 |
Component for the dialog based model editing.
You can use it on two ways: connection it to edited model by model/observer concept (
Definition at line 21 of file CModelDialogGuiComp.h.
Definition at line 26 of file CModelDialogGuiComp.h.
Definition at line 27 of file CModelDialogGuiComp.h.
|
overridevirtual |
Execute dialog instance.
Reimplemented from iqtgui::CDialogGuiComp.