|
ACF $AcfVersion:0$
|
Component for construction of a tool bar for a given commands provider. More...
#include <CCommandsToolBarGuiComp.h>
Public Types | |
| typedef CToolBarGuiCompBase | BaseClass |
Public Types inherited from iqtgui::CToolBarGuiCompBase | |
| typedef iqtgui::TGuiComponentBase< QToolBar > | BaseClass |
Public Types inherited from iqtgui::TGuiComponentBase< QToolBar > | |
| typedef CGuiComponentBase | BaseClass |
Public Types inherited from iqtgui::CGuiComponentBase | |
| typedef TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | BaseClass |
Public Types inherited from iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | |
| typedef ibase::TLocalizableWrap< icomp::CComponentBase > | BaseClass |
Public Types inherited from iqtgui::TDesignSchemaHandlerWrap< Base > | |
| typedef Base | BaseClass |
Public Types inherited from iqtgui::IMainWindowComponent | |
| enum | WindowComponentFlags { WCF_NONE = 0 , WCF_CLOSABLE = 1 , WCF_MOVEABLE = 2 , WCF_FLOATABLE = 4 } |
| Flags describing behaviour of the main window component. More... | |
Public Member Functions | |
| virtual void | ShowCommands (const ibase::ICommandsProvider *commandsProvider) override |
Public Member Functions inherited from iqtgui::CToolBarGuiCompBase | |
| virtual bool | AddToMainWindow (QMainWindow &mainWindow) override |
| Add this component to main window. | |
| virtual bool | RemoveFromMainWindow (QMainWindow &mainWindow) override |
| Remove this component from main window. | |
| virtual QString | GetTitle () const override |
| Get the title of the main window component. | |
| virtual int | GetFlags () const override |
| Get properties of of the window component. | |
Public Member Functions inherited from iqtgui::TGuiComponentBase< QToolBar > | |
| TGuiComponentBase () | |
| virtual QToolBar * | 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 () |
Protected Member Functions | |
| virtual void | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) override |
| Called on update of observed model. | |
| virtual void | OnGuiCreated () override |
| Called just after GUI is initialized. | |
| virtual void | OnGuiDestroyed () override |
| Called just before GUI is released. | |
Protected Member Functions inherited from iqtgui::CGuiComponentBase | |
| virtual void | OnGuiDesignChanged () |
| virtual void | OnGuiShown () |
| Called from widget event filter when slave widget is shown. | |
| virtual void | OnGuiHidden () |
| Called from widget event filter when slave widget is hidden. | |
| 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. | |
| virtual void | OnGuiRetranslate () |
| Called from widget event filter when GUI 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 |
| virtual void | OnComponentCreated () override |
| virtual void | OnComponentDestroyed () override |
Protected Member Functions inherited from iqtgui::CIconProvider | |
| virtual QIcon | CreateIcon (const QString &iconName) const |
Protected Member Functions inherited from imod::TSingleModelObserverBase< ibase::ICommandsProvider > | |
| virtual ibase::ICommandsProvider * | CastFromModel (imod::IModel *modelPtr) const |
| TSingleModelObserverBase () | |
| ibase::ICommandsProvider * | GetObservedObject () const |
| Get instance of observed object. | |
| ibase::ICommandsProvider * | GetObjectPtr () const |
| Get instance of observed object. | |
| bool | AttachOrSetObject (ibase::ICommandsProvider *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. | |
Protected Member Functions inherited from imod::CSingleModelObserverBase | |
| void | SetModelPtr (imod::IModel *modelPtr) |
| Set internal model pointer to specified value. | |
| 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 Types inherited from imod::TSingleModelObserverBase< ibase::ICommandsProvider > | |
| typedef CSingleModelObserverBase | BaseClass |
| typedef ibase::ICommandsProvider | ModelType |
Protected Types inherited from imod::CSingleModelObserverBase | |
| typedef imod::IModel | ModelType |
Protected Attributes inherited from iqtgui::CGuiComponentBase | |
| imod::TModelWrap< VisualStatus > | m_visualStatus |
Static Protected Attributes inherited from imod::CSingleModelObserverBase | |
| static const istd::IChangeable::ChangeSet | s_undoChanges |
Component for construction of a tool bar for a given commands provider.
Definition at line 20 of file CCommandsToolBarGuiComp.h.
Definition at line 26 of file CCommandsToolBarGuiComp.h.
|
overrideprotectedvirtual |
Called just after GUI is initialized.
Reimplemented from iqtgui::CToolBarGuiCompBase.
|
overrideprotectedvirtual |
Called just before GUI is released.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Called on update of observed model.
This method is designed to be overload by derrived classes.
Reimplemented from imod::CSingleModelObserverBase.
|
overridevirtual |
Implements ibase::ICommandsDisplayer.