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

Component to create the tab widget, that shows the specified sub-UI-component in its tab page. More...

#include <CTabContainerGuiComp.h>

Inheritance diagram for iqtgui::CTabContainerGuiComp:
iqtgui::CMultiPageGuiCompBase iqtgui::CMultiPageGuiCompAttr imod::CMultiModelDispatcherBase iqtgui::CGuiComponentBase istd::IPolymorphic iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > iqtgui::IGuiObject iqtgui::TDesignSchemaHandlerWrap< Base > iqtgui::CIconProvider istd::IPolymorphic

Public Types

typedef CMultiPageGuiCompBase BaseClass
 
- Public Types inherited from iqtgui::CMultiPageGuiCompBase
enum  ModelId { MI_USER = 1000 }
 
typedef CMultiPageGuiCompAttr BaseClass
 
typedef imod::CMultiModelDispatcherBase BaseClass2
 
- Public Types inherited from iqtgui::CMultiPageGuiCompAttr
typedef iqtgui::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::CComponentBaseBaseClass
 
- Public Types inherited from iqtgui::TDesignSchemaHandlerWrap< Base >
typedef Base BaseClass
 

Protected Member Functions

virtual int GetPagesCount () const override
 Get the number of the pages in the UI container.
 
virtual iqtgui::IGuiObjectGetPageGuiComponent (int pageIndex) const override
 Get the UI component for a given page.
 
virtual int GetDesignType () const override
 Get the container UI mode.
 
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::CMultiPageGuiCompBase
virtual int GetLogicalPageIndex (int physicalWidgetIndex) const
 Get logical page index from a given widget index.
 
virtual bool CreatePage (int pageIndex)
 Create a page in the page container widget.
 
virtual void RemovePage (int pageIndex)
 Remove a page from the container widget.
 
virtual void SetCurrentPage (int pageIndex)
 Set current page.
 
virtual void UpdateVisualElements ()
 Update visual status of the page elements.
 
virtual void CreatePages ()
 Create all container pages.
 
virtual void ResetPages ()
 Clear all container pages.
 
virtual QWidget * CreateQtWidget (QWidget *parentPtr) override
 Create slave widget object.
 
virtual void OnGuiRetranslate () override
 Called from widget event filter when GUI should be retranslated.
 
virtual void OnTryClose (bool *ignoredPtr=NULL) override
 Called when the application is attempting to close.
 
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 
virtual void OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override
 Called when some model observed by dispatcher will be changed.
 
bool EnsurePageInitialized (int pageIndex)
 
- Protected Member Functions inherited from iqtgui::CMultiPageGuiCompAttr
 I_MULTITEXTATTR (m_pageNamesAttrPtr)
 
- 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.
 
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
 
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

- Public Member Functions inherited from iqtgui::CMultiPageGuiCompBase
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, iprm::ISelectionParam, ExtractPageModel)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, iprm::IOptionsList, ExtractPageModel)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, iser::ISerializable, ExtractPageModel)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, imod::IModel, ExtractPageModel)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, istd::IChangeable, ExtractPageModel)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (PageModel, IMultiVisualStatusProvider, ExtractPageModel)
 
 CMultiPageGuiCompBase ()
 
iprm::ISelectionParamGetPageModelRef ()
 
- 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.
 
- 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 Slots inherited from iqtgui::CMultiPageGuiCompBase
virtual void OnPageChanged (int widgetIndex)
 
- Protected Attributes inherited from iqtgui::CMultiPageGuiCompBase
imod::TModelWrap< PageModel > m_pageModel
 
- Protected Attributes inherited from iqtgui::CGuiComponentBase
imod::TModelWrap< VisualStatusm_visualStatus
 

Detailed Description

Component to create the tab widget, that shows the specified sub-UI-component in its tab page.

You can control some settings of the tabs such icons, title, orientation or tab visualization. Optionally, you can specify the corner widget, which will be placed beside of the last tab.

Definition at line 18 of file CTabContainerGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 21 of file CTabContainerGuiComp.h.

Member Function Documentation

◆ GetDesignType()

virtual int iqtgui::CTabContainerGuiComp::GetDesignType ( ) const
overrideprotectedvirtual

Get the container UI mode.

See also
iqtgui::CMultiPageWidget::DesignType

Implements iqtgui::CMultiPageGuiCompBase.

◆ GetPageGuiComponent()

virtual iqtgui::IGuiObject * iqtgui::CTabContainerGuiComp::GetPageGuiComponent ( int  pageIndex) const
overrideprotectedvirtual

Get the UI component for a given page.

Implements iqtgui::CMultiPageGuiCompBase.

◆ GetPagesCount()

virtual int iqtgui::CTabContainerGuiComp::GetPagesCount ( ) const
overrideprotectedvirtual

Get the number of the pages in the UI container.

Implements iqtgui::CMultiPageGuiCompBase.

◆ OnGuiCreated()

virtual void iqtgui::CTabContainerGuiComp::OnGuiCreated ( )
overrideprotectedvirtual

Called just after GUI is initialized.

Reimplemented from iqtgui::CMultiPageGuiCompBase.

◆ OnGuiDestroyed()

virtual void iqtgui::CTabContainerGuiComp::OnGuiDestroyed ( )
overrideprotectedvirtual

Called just before GUI is released.

Reimplemented from iqtgui::CMultiPageGuiCompBase.


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