|
ACF $AcfVersion:0$
|
Standard 2D-View provider. More...
#include <CViewProviderGuiComp.h>
Public Member Functions | |
| virtual const ibase::IHierarchicalCommand * | GetCommands () const override |
| Get list of menu commands. | |
| virtual void | ShowCommands (const ibase::ICommandsProvider *commandsProvider) override |
| virtual int | GetViewId () const override |
| Get ID indentifing this view. | |
| virtual iview::IShapeView * | GetView () const override |
| Called when items should be removed from specified view. | |
| virtual const i2d::ICalibration2d * | GetCalibration () const override |
| Get access to transformation object, which transforms a local logical coordinate system to global one. | |
Public Member Functions inherited from iqtgui::TGuiComponentBase< iview::CConsoleGui > | |
| TGuiComponentBase () | |
| virtual iview::CConsoleGui * | GetQtWidget () const |
| virtual QWidget * | CreateQtWidget (QWidget *parentPtr) override |
| Create slave widget object. | |
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 override |
| Checks if the GUI has been initialized and created. | |
| virtual bool | CreateGui (QWidget *parentPtr) override |
| Initializes the GUI and connects it to the parent widget. | |
| virtual bool | DestroyGui () override |
| Releases GUI resources and disconnects from the parent. | |
| virtual QWidget * | GetWidget () const override |
| Gets access to the internal QWidget object. | |
| virtual void | OnTryClose (bool *ignoredPtr=NULL) override |
| Called when the application is attempting to close. | |
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 istd::IChangeable | |
| virtual int | GetSupportedOperations () const |
| Get set of flags for supported operations. | |
| virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
| Copy this object from another one. | |
| virtual bool | IsEqual (const IChangeable &object) const |
| Compare this object with another object. | |
| virtual istd::TUniqueInterfacePtr< istd::IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const |
| Make a copy of this object. | |
| virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
| Reset data to its default state. | |
| virtual void | BeginChanges (const ChangeSet &changeSet) |
| Starts the change transaction. | |
| virtual void | EndChanges (const ChangeSet &changeSet) |
| Ends the change transaction. | |
| virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
| Starts group of changes. | |
| virtual void | EndChangeGroup (const ChangeSet &changeSet) |
| Ends group of changes. | |
Protected Member Functions | |
| virtual void | SetupBackground () |
| virtual void | OnGuiCreated () override |
| Called just after GUI is initialized. | |
| virtual void | OnGuiDestroyed () override |
| Called just before GUI is released. | |
| virtual void | OnGuiRetranslate () override |
| Called from widget event filter when GUI should be retranslated. | |
| virtual void | OnGuiShown () override |
| Called from widget event filter when slave widget is shown. | |
| virtual void | OnGuiHidden () override |
| Called from widget event filter when slave widget is hidden. | |
| virtual void | OnGuiDesignChanged () override |
| void | OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override |
| Called when some model observed by dispatcher will be changed. | |
| virtual void | OnComponentCreated () override |
| virtual void | OnComponentDestroyed () override |
Protected Member Functions inherited from iqtgui::CGuiComponentBase | |
| virtual bool | OnKeyPressed (QKeyEvent *event) |
| Called from widget event filter when key is pressed. | |
| virtual void | OnRetranslate () |
| Called when non-GUI elements (like commands) should be retranslated. | |
| void | SetStatusIcon (const QIcon &icon) |
| Set status icon;. | |
| void | SetStatusText (const QString &text) |
| Set status text;. | |
| void | SetDefaultVisualStatus () |
| virtual void | OnLanguageChanged () override |
| virtual void | OnDesignSchemaChanged (const QByteArray &themeId) 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 istd::IChangeable | |
| virtual void | OnBeginChanges () |
| Callback function for begin change event. | |
| virtual void | OnEndChanges (const ChangeSet &changeSet) |
| Callback function for end change event. | |
| bool | RegisterModel (IModel *modelPtr, int modelId=0, const istd::IChangeable::ChangeSet &relevantFlags=istd::IChangeable::GetAllChanges()) |
| Register the data model to be observed. | |
| void | UnregisterModel (int modelId=0) |
| Unregister the data model object. | |
| void | UnregisterAllModels () |
| Unregister all observed data objects. | |
| template<class Object > | |
| Object * | GetObjectAt (int modelId) const |
| Get concrete object instance of the obsered model. | |
Additional Inherited Members | |
Static Public Member Functions inherited from istd::IChangeable | |
| static const ChangeSet & | GetNoChanges () |
| Get empty set of changes. | |
| static const ChangeSet & | GetAnyChange () |
| Get anonymous change set. | |
| static const ChangeSet & | GetAllChanges () |
| Get anonymous change set. | |
| static const ChangeSet & | GetDelegatedChanges () |
| Get delegated change set. | |
Protected Attributes inherited from iqtgui::CGuiComponentBase | |
| imod::TModelWrap< VisualStatus > | m_visualStatus |
Standard 2D-View provider.
It allows setting of display calibration and supports i2d::ICalibrationProvider to get it.
Definition at line 86 of file CViewProviderGuiComp.h.
Definition at line 95 of file CViewProviderGuiComp.h.
Definition at line 96 of file CViewProviderGuiComp.h.
|
overridevirtual |
Get access to transformation object, which transforms a local logical coordinate system to global one.
Implements i2d::ICalibrationProvider.
|
overridevirtual |
Get list of menu commands.
These commands will be integrated in global menu system, independent from actual selected view. For support of normal pull down menu, depth of this tree structure should be at least 3.
Reimplemented from ibase::ICommandsProvider.
|
overridevirtual |
Called when items should be removed from specified view.
Implements iqt2d::IViewProvider.
|
overridevirtual |
Get ID indentifing this view.
Typically this ID is 0 for first view, 1 for the second etc.
Implements iqt2d::IViewProvider.
|
overrideprotectedvirtual |
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called just after GUI is initialized.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called just before GUI is released.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called from widget event filter when slave widget is hidden.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called from widget event filter when GUI should be retranslated.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called from widget event filter when slave widget is shown.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called when some model observed by dispatcher will be changed.
Implements imod::CMultiModelDispatcherBase.
|
protectedvirtual |
|
overridevirtual |
Implements ibase::ICommandsDisplayer.