|
| CMainWindowGuiComp () |
|
bool | OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override |
| This call back function will be called, if an observable object is about to be attached.
|
|
bool | OnModelDetached (imod::IModel *modelPtr) override |
| This call back function will be called, if an observable object is about to be detached.
|
|
Public Member Functions inherited from istdgui::CSimpleMainWindowGuiComp |
| CSimpleMainWindowGuiComp () |
|
void | OnTryClose (bool *ignoredPtr=nullptr) override |
| Called on trying to close application.
|
|
| TGuiComponentBase () |
|
virtual QMainWindow * | GetQtWidget () const |
|
| 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.
|
|
| CComponentBase () |
| Create component and assign it to specific context.
|
|
| CComponentBase (const CComponentBase &)=delete |
|
CComponentBase & | operator= (const CComponentBase &)=delete |
|
virtual const ICompositeComponent * | GetParentComponent (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 IComponentContext * | GetComponentContext () 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.
|
|
|
virtual bool | OpenFile (const QString &fileName, const QByteArray *documentTypeIdPtr=nullptr) |
|
virtual bool | SaveActiveDocument () |
|
virtual void | OnActiveViewChanged () |
|
virtual void | OnActiveDocumentChanged () |
|
virtual void | OnDragEnterEvent (QDragEnterEvent *dragEnterEventPtr) |
|
virtual void | OnDropEvent (QDropEvent *dropEventPtr) |
|
void | SetupNewCommand () |
|
bool | HasDocumentTemplate () const |
|
void | UpdateUndoMenu () |
|
void | OnNewDocument (const QByteArray &documentTypeId) |
|
virtual bool | SerializeRecentFileList (iser::IArchive &archive) |
|
virtual void | UpdateRecentFileList (const idoc::IDocumentManager::FileToTypeMap &fileToTypeMap) |
| Updates displayed list of recent used files.
|
|
virtual void | RemoveFromRecentFileList (const QString &filePath) |
|
void | UpdateFixedCommands (istdgui::CHierarchicalCommand &fixedCommands) override |
|
void | UpdateToolsCommands (istdgui::CHierarchicalCommand &toolsCommand) override |
|
void | AppendMenuActions (istdgui::CHierarchicalCommand &menuCommands) override |
|
bool | IsMainWindowActive (int index) 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 | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) override |
| Called on update of observed model.
|
|
bool | eventFilter (QObject *sourcePtr, QEvent *eventPtr) override |
|
void | OnComponentCreated () override |
|
void | OnComponentDestroyed () override |
|
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 | UpdateViewCommands (istdgui::CHierarchicalCommand &viewCommand) |
|
virtual void | UpdateHelpCommands (istdgui::CHierarchicalCommand &helpCommand) |
|
virtual void | UpdateMainWindowComponentsVisibility () |
| Set main window visible or invisible, depending on menu commands.
|
|
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 |
|
bool | CreateGui (QWidget *parentPtr) override |
|
bool | DestroyGui () override |
|
virtual QWidget * | CreateQtWidget (QWidget *parentPtr) |
| Create slave widget object.
|
|
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 |
|
Protected Member Functions inherited from ibase::TVisualChangesHandlerWrap< icomp::CComponentBase > |
bool | IsComponentActive () const |
| Check if component is active.
|
|
virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
| Get access to static info of this component.
|
|
virtual idoc::IDocumentManager * | CastFromModel (imod::IModel *modelPtr) const |
|
| TSingleModelObserverBase () |
|
idoc::IDocumentManager * | GetObservedObject () const |
| Get instance of observed object.
|
|
idoc::IDocumentManager * | GetObjectPtr () const |
| Get instance of observed object.
|
|
bool | AttachOrSetObject (idoc::IDocumentManager *objectPtr) |
| Attach to model of object or set object pointer, if no connection is possible.
|
|
bool | OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override |
| This call back function will be called, if an observable object is about to be attached.
|
|
bool | OnModelDetached (imod::IModel *modelPtr) override |
| This call back function will be called, if an observable object is about to be detached.
|
|
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.
|
|
bool | IsModelAttached (const imod::IModel *modelPtr=nullptr) const override |
| Check if specified model is attached.
|
|
void | BeforeModelChange (imod::IModel *modelPtr) override |
| This function will be called before update of the observer contents occures.
|
|
void | AfterModelChange (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet) override |
| This function will be called after update of the observer contents occures.
|
|
Standard main window component for any document based application.
Definition at line 77 of file CMainWindowGuiComp.h.