|
| | MainWindow (QString const &appName, QString const &version, QString const &buildInformation, QString const &splashImage, iADockWidgetWrapper *dwJobs) |
| |
| | ~MainWindow () override |
| |
| template<typename T > |
| T * | activeChild () |
| | Get the active child window of type T.
|
| |
| QMdiSubWindow * | activeChild () override |
| | Return the QMdiSubWindow for the current child.
|
| |
| iAMdiChild * | activeMdiChild () override |
| | Provides access to the currently active mdi child, if such is available.
|
| |
| void | addActionIcon (QAction *action, QString const &iconName) override |
| | add an icon to an action (and keep the action for that icon up-to-date if the style changes
|
| |
| void | addRecentFile (const QString &fileName) |
| | add a file to the list of recently loaded/saved files
|
| |
| QMdiSubWindow * | addSubWindow (QWidget *child) override |
| | add a new widget as sub window in the mdi area, and return the respective mdi subwindow.
|
| |
| bool | brightMode () const |
| | whether the current qss theme is bright mode (true) or dark mode (false)
|
| |
| template<typename T > |
| QList< T * > | childList (QMdiArea::WindowOrder order=QMdiArea::CreationOrder) |
| | Get the list of current child windows of type T.
|
| |
| void | closeAllSubWindows () override |
| | Close all child windows (with a question whether sure if a child has modified data)
|
| |
| void | closeMdiChild (iAMdiChild *child) override |
| | Close a child window.
|
| |
| iAMdiChild * | createMdiChild (bool unsavedChanges) override |
| | Create a new child window.
|
| |
| iAPreferences const & | defaultPreferences () const override |
| | retrieve the default preferences.
|
| |
| iARenderSettings const & | defaultRenderSettings () const override |
| | retrieve default renderer settings.
|
| |
| iAVolumeSettings const & | defaultVolumeSettings () const override |
| | retrieve default volume rendering settings.
|
| |
| QMenu * | fileMenu () override |
| | Get the File menu (can be used by modules to append entries to it).
|
| |
| QMenu * | filtersMenu () override |
| | Get the Filters menu (can be used by modules to append entries to it).
|
| |
| QMenu * | helpMenu () override |
| | Get the Help menu (can be used by modules to append entries to it).
|
| |
| void | loadFileNew (QString const &fileName, iAMdiChild *child=nullptr, std::shared_ptr< iAFileIO > io=nullptr) override |
| | TODO NEWIO: create signal triggered on new child (fully) created.
|
| |
| void | loadFiles (QStringList fileNames) |
| |
| void | makeActionChildDependent (QAction *action) override |
| | mark a QAction (typically added to filters or tools menu by a module) as depending on an MDI child window being open and active
|
| |
| QList< iAMdiChild * > | mdiChildList () override |
| | Get the list of current MdiChild windows.
|
| |
| QList< QString > | mdiWindowTitles () |
| | Get list of the titles of currently open MdiChild windows.
|
| |
| iAModuleDispatcher & | moduleDispatcher () const override |
| | retrieve the module dispatcher
|
| |
| QString const & | path () const override |
| | Retrieve current directory path (the "working folder")
|
| |
| iAMdiChild * | secondNonActiveChild () override |
| | Provides access to a second loaded mdi child, if such is available.
|
| |
| void | setPath (QString const &p) override |
| | Set current directory path (the "working folder")
|
| |
| QMenu * | toolsMenu () override |
| | Get the Tools menu (can be used by modules to append entries to it).
|
| |
| void | updateInteractionModeControls (int mode) |
| |
| void | updateMagicLens2DCheckState (bool enabled) |
| |
| virtual QMdiSubWindow * | activeChild ()=0 |
| | Return the QMdiSubWindow for the current child.
|
| |
| virtual iAMdiChild * | activeMdiChild ()=0 |
| | Provides access to the currently active mdi child, if such is available.
|
| |
| virtual void | addActionIcon (QAction *action, QString const &iconName)=0 |
| | add an icon to an action (and keep the action for that icon up-to-date if the style changes
|
| |
| virtual QMdiSubWindow * | addSubWindow (QWidget *child)=0 |
| | add a new widget as sub window in the mdi area, and return the respective mdi subwindow.
|
| |
| virtual void | closeAllSubWindows ()=0 |
| | Close all child windows (with a question whether sure if a child has modified data)
|
| |
| virtual void | closeMdiChild (iAMdiChild *child)=0 |
| | Close a child window.
|
| |
| virtual iAMdiChild * | createMdiChild (bool unsavedChanges)=0 |
| | Create a new child window.
|
| |
| virtual iAPreferences const & | defaultPreferences () const =0 |
| | retrieve the default preferences.
|
| |
| virtual iARenderSettings const & | defaultRenderSettings () const =0 |
| | retrieve default renderer settings.
|
| |
| virtual iAVolumeSettings const & | defaultVolumeSettings () const =0 |
| | retrieve default volume rendering settings.
|
| |
| virtual QMenu * | fileMenu ()=0 |
| | Get the File menu (can be used by modules to append entries to it).
|
| |
| virtual QMenu * | filtersMenu ()=0 |
| | Get the Filters menu (can be used by modules to append entries to it).
|
| |
| virtual QMenu * | helpMenu ()=0 |
| | Get the Help menu (can be used by modules to append entries to it).
|
| |
| virtual void | loadFileNew (QString const &fileName, iAMdiChild *child=nullptr, std::shared_ptr< iAFileIO > io=nullptr)=0 |
| | Load a file, either into an existing child window or creating a new one.
|
| |
| virtual void | makeActionChildDependent (QAction *action)=0 |
| | mark a QAction (typically added to filters or tools menu by a module) as depending on an MDI child window being open and active
|
| |
| virtual QList< iAMdiChild * > | mdiChildList ()=0 |
| | Get the list of current MdiChild windows.
|
| |
| virtual iAModuleDispatcher & | moduleDispatcher () const =0 |
| | retrieve the module dispatcher
|
| |
| virtual QString const & | path () const =0 |
| | Retrieve current directory path (the "working folder")
|
| |
| virtual iAMdiChild * | secondNonActiveChild ()=0 |
| | Provides access to a second loaded mdi child, if such is available.
|
| |
| virtual void | setPath (QString const &p)=0 |
| | Set current directory path (the "working folder")
|
| |
| virtual QMenu * | toolsMenu ()=0 |
| | Get the Tools menu (can be used by modules to append entries to it).
|
| |
Application main window; implementation of iAMainWindow interface.