ICF 3.0.5.47
Technical documentation of ICF Libraries
idocgui::CMainWindowGuiCompBase Class Reference

#include <CMainWindowGuiComp.h>

Inheritance diagram for idocgui::CMainWindowGuiCompBase:
Collaboration diagram for idocgui::CMainWindowGuiCompBase:

Public Types

typedef istdgui::CSimpleMainWindowGuiComp BaseClass
 
- Public Types inherited from istdgui::CSimpleMainWindowGuiComp
enum  GroupId { GI_SETTINGS = 0x400 }
 
enum  ModelId { MI_PREFERENCE_COMMAND = 0x1000 }
 
typedef CSimpleMainWindowGuiCompBase BaseClass
 
- Public Types inherited from istdgui::CSimpleMainWindowGuiCompBase
typedef istdgui::TRestorableGuiWrap< istdgui::TGuiComponentBase< QMainWindow > > BaseClass
 
- Public Types inherited from istdgui::TRestorableGuiWrap< istdgui::TGuiComponentBase< QMainWindow > >
typedef istdgui::TGuiComponentBase< QMainWindow > BaseClass
 
- Public Types inherited from istdgui::TGuiComponentBase< QMainWindow >
typedef CGuiComponentBase BaseClass
 
- Public Types inherited from istdgui::CGuiComponentBase
typedef ibase::TVisualChangesHandlerWrap< icomp::CComponentBaseBaseClass
 
- Public Types inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
 

Additional Inherited Members

- Public Member Functions inherited from istdgui::CSimpleMainWindowGuiComp
 CSimpleMainWindowGuiComp ()
 
void OnTryClose (bool *ignoredPtr=nullptr) override
 Called on trying to close application.
 
- Public Member Functions inherited from istdgui::TGuiComponentBase< QMainWindow >
 TGuiComponentBase ()
 
virtual QMainWindow * GetQtWidget () const
 
- Public Member Functions inherited from istdgui::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
 
bool IsGuiCreated () const override
 Inform if GUI was initilized.
 
QWidget * GetWidget () const override
 Get access to internal QWidget object.
 
- Public Member Functions inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase >
 TVisualChangesHandlerWrap (Args &&... args)
 
virtual void EnableVisualChangesHandler (bool enableLocalization=true)
 If enabled, listen to the language change event from the application context.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
 CComponentBase (const CComponentBase &)=delete
 
CComponentBaseoperator= (const CComponentBase &)=delete
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface.
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component.
 
- Public Member Functions inherited from icomp::IComponent
- Public Member Functions inherited from istdgui::IGuiObject
- Static Public Member Functions inherited from istdgui::CGuiComponentBase
static void MakeAutoSlotConnection (const QWidget &widget, QObject &object)
 
- Protected Slots inherited from istdgui::CSimpleMainWindowGuiComp
void OnShowToolbars ()
 
void OnFullScreen ()
 
void OnAbout ()
 
void OnHelpManual ()
 
void OnSettings ()
 
void OnShowOtherCommandTriggered (bool enabled)
 
- Protected Member Functions inherited from istdgui::CSimpleMainWindowGuiComp
virtual void UpdateMenuActions ()
 
virtual void SetupMainWindowComponents (QMainWindow &mainWindow)
 
virtual void AddMainComponent (int componentIndex, istdgui::IMainWindowComponent &component)
 
virtual void RemoveMainComponent (istdgui::IMainWindowComponent &component)
 
virtual void CreateMenuBar ()
 
virtual void UpdateToolbarsVisibility ()
 
virtual void SetupMenu ()
 
virtual std::unique_ptr< QToolBar > CreateDefaultToolBar () const
 
virtual void UpdateFixedCommands (istdgui::CHierarchicalCommand &fixedCommands)
 
virtual void UpdateViewCommands (istdgui::CHierarchicalCommand &viewCommand)
 
virtual void UpdateToolsCommands (istdgui::CHierarchicalCommand &toolsCommand)
 
virtual void UpdateHelpCommands (istdgui::CHierarchicalCommand &helpCommand)
 
virtual void AppendMenuActions (istdgui::CHierarchicalCommand &menuCommands)
 
virtual void UpdateMainWindowComponentsVisibility ()
 Set main window visible or invisible, depending on menu commands.
 
virtual bool IsMainWindowActive (int index) const
 
void OnRestoreSettings (const QSettings &settings) override
 
void OnSaveSettings (QSettings &settings) const override
 
void OnGuiCreated () override
 Called just after GUI is initialized.
 
void OnGuiDestroyed () override
 Called just before GUI is released.
 
void OnRetranslate () override
 Called when non-GUI elements (like commands) should be retranslated.
 
void OnGuiShown () override
 Called from widget event filter when slave widget is shown.
 
bool eventFilter (QObject *sourcePtr, QEvent *eventPtr) override
 
- Protected Member Functions inherited from istdgui::TRestorableGuiWrap< istdgui::TGuiComponentBase< QMainWindow > >
bool CreateGui (QWidget *parentPtr) override
 
bool DestroyGui () override
 
- Protected Member Functions inherited from istdgui::TGuiComponentBase< QMainWindow >
virtual QWidget * CreateQtWidget (QWidget *parentPtr)
 Create slave widget object.
 
- Protected Member Functions inherited from istdgui::CGuiComponentBase
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 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 OnLanguageChanged () override
 
void OnDesignSchemaChanged () override
 
bool eventFilter (QObject *sourcePtr, QEvent *eventPtr) override
 
void OnComponentCreated () override
 
void OnComponentDestroyed () override
 
- Protected Member Functions inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase >
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active.
 
virtual const IRealComponentStaticInfoGetComponentStaticInfo () const =0
 Get access to static info of this component.
 
- Static Protected Member Functions inherited from icomp::CComponentBase
static const IRealComponentStaticInfoInitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 
- Protected Attributes inherited from istdgui::CSimpleMainWindowGuiComp
CommandsObserver m_commandsObserver
 
- Protected Attributes inherited from istdgui::CGuiComponentBase
istd::CMainThreadCaller m_updateGuiCaller
 
imod::TModelWrap< VisualStatusm_visualStatus
 

Detailed Description

Definition at line 33 of file CMainWindowGuiComp.h.

Member Typedef Documentation

◆ BaseClass


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

© Witold Gantzke and Kirill Lepskiy