#include <Base/QTApp/qSlicerMainWindow.h>
|
QScopedPointer< qSlicerMainWindowPrivate > | d_ptr |
|
Definition at line 43 of file qSlicerMainWindow.h.
◆ Superclass
◆ qSlicerMainWindow() [1/2]
qSlicerMainWindow::qSlicerMainWindow |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~qSlicerMainWindow()
qSlicerMainWindow::~qSlicerMainWindow |
( |
| ) |
|
|
override |
◆ qSlicerMainWindow() [2/2]
qSlicerMainWindow::qSlicerMainWindow |
( |
qSlicerMainWindowPrivate * |
pimpl, |
|
|
QWidget * |
parent |
|
) |
| |
|
protected |
◆ addFileToRecentFiles
◆ changeEvent()
void qSlicerMainWindow::changeEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ closeEvent()
void qSlicerMainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotected |
◆ disclaimer()
virtual void qSlicerMainWindow::disclaimer |
( |
| ) |
|
|
protectedvirtual |
Open a popup to warn the user Slicer is not for clinical use.
◆ dragEnterEvent()
void qSlicerMainWindow::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotected |
Forward the dragEnterEvent to the IOManager which will decide if it could accept a drag/drop or not.
- See also
- dropEvent()
◆ dropEvent()
void qSlicerMainWindow::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
◆ errorLogWidget()
Q_INVOKABLE ctkErrorLogWidget* qSlicerMainWindow::errorLogWidget |
( |
| ) |
const |
Return a pointer to the error log widget.
- See also
- moduleSelector(), pythonConsole()
◆ eventFilter()
bool qSlicerMainWindow::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
Reimplemented to catch activationChange/show/hide events. More specifically it allows to:
- update the state of the errorLog and python console QAction when associated dialog are visible or not.
- set the state of ErrorLog button based on the activation state of the error log dialog.
◆ initialWindowShown
void qSlicerMainWindow::initialWindowShown |
( |
| ) |
|
|
signal |
◆ layoutMaximizedViewNode()
Return the view node that is temporarily shown maximized in the view layout.
◆ moduleSelector()
Return a pointer to the module selector toolbar that can change the current module.
- See also
- pythonConsole(), errorLogWidget()
◆ on_CopyAction_triggered
virtual void qSlicerMainWindow::on_CopyAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_CutAction_triggered
virtual void qSlicerMainWindow::on_CutAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_EditApplicationSettingsAction_triggered
virtual void qSlicerMainWindow::on_EditApplicationSettingsAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_EditPlayMacroAction_triggered
virtual void qSlicerMainWindow::on_EditPlayMacroAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_EditRecordMacroAction_triggered
virtual void qSlicerMainWindow::on_EditRecordMacroAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_EditRedoAction_triggered
virtual void qSlicerMainWindow::on_EditRedoAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_EditUndoAction_triggered
virtual void qSlicerMainWindow::on_EditUndoAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileAddDataAction_triggered
virtual void qSlicerMainWindow::on_FileAddDataAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileAddTransformAction_triggered
virtual void qSlicerMainWindow::on_FileAddTransformAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileAddVolumeAction_triggered
virtual void qSlicerMainWindow::on_FileAddVolumeAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileCloseSceneAction_triggered
virtual void qSlicerMainWindow::on_FileCloseSceneAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileExitAction_triggered
virtual void qSlicerMainWindow::on_FileExitAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileFavoriteModulesAction_triggered
virtual void qSlicerMainWindow::on_FileFavoriteModulesAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileImportSceneAction_triggered
virtual void qSlicerMainWindow::on_FileImportSceneAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileLoadDataAction_triggered
virtual void qSlicerMainWindow::on_FileLoadDataAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileLoadSceneAction_triggered
virtual void qSlicerMainWindow::on_FileLoadSceneAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_FileSaveSceneAction_triggered
virtual void qSlicerMainWindow::on_FileSaveSceneAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_LoadDICOMAction_triggered
virtual void qSlicerMainWindow::on_LoadDICOMAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_ModuleHomeAction_triggered
virtual void qSlicerMainWindow::on_ModuleHomeAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_PasteAction_triggered
virtual void qSlicerMainWindow::on_PasteAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_SDBSaveToDirectoryAction_triggered
virtual void qSlicerMainWindow::on_SDBSaveToDirectoryAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_SDBSaveToMRBAction_triggered
virtual void qSlicerMainWindow::on_SDBSaveToMRBAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_ShowStatusBarAction_triggered
virtual void qSlicerMainWindow::on_ShowStatusBarAction_triggered |
( |
bool |
| ) |
|
|
virtualslot |
◆ on_ViewExtensionsManagerAction_triggered
virtual void qSlicerMainWindow::on_ViewExtensionsManagerAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_WindowErrorLogAction_triggered
virtual void qSlicerMainWindow::on_WindowErrorLogAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ on_WindowToolbarsResetToDefaultAction_triggered
virtual void qSlicerMainWindow::on_WindowToolbarsResetToDefaultAction_triggered |
( |
| ) |
|
|
virtualslot |
◆ onFileRecentLoadedActionTriggered
virtual void qSlicerMainWindow::onFileRecentLoadedActionTriggered |
( |
| ) |
|
|
virtualslot |
◆ onFileSaved
◆ onLayoutActionTriggered
virtual void qSlicerMainWindow::onLayoutActionTriggered |
( |
QAction * |
action | ) |
|
|
virtualslot |
◆ onLayoutChanged
virtual void qSlicerMainWindow::onLayoutChanged |
( |
int |
| ) |
|
|
protectedvirtualslot |
◆ onLayoutCompareActionTriggered
virtual void qSlicerMainWindow::onLayoutCompareActionTriggered |
( |
QAction * |
action | ) |
|
|
virtualslot |
◆ onLayoutCompareGridActionTriggered
virtual void qSlicerMainWindow::onLayoutCompareGridActionTriggered |
( |
QAction * |
action | ) |
|
|
virtualslot |
◆ onLayoutCompareWidescreenActionTriggered
virtual void qSlicerMainWindow::onLayoutCompareWidescreenActionTriggered |
( |
QAction * |
action | ) |
|
|
virtualslot |
◆ onModuleAboutToBeUnloaded
virtual void qSlicerMainWindow::onModuleAboutToBeUnloaded |
( |
const QString & |
moduleName | ) |
|
|
protectedvirtualslot |
◆ onModuleLoaded
virtual void qSlicerMainWindow::onModuleLoaded |
( |
const QString & |
moduleName | ) |
|
|
protectedvirtualslot |
◆ onMRMLSceneModified
virtual void qSlicerMainWindow::onMRMLSceneModified |
( |
vtkObject * |
| ) |
|
|
protectedvirtualslot |
◆ onNewFileLoaded
◆ onPythonConsoleToggled
virtual void qSlicerMainWindow::onPythonConsoleToggled |
( |
bool |
| ) |
|
|
virtualslot |
◆ onWarningsOrErrorsOccurred
virtual void qSlicerMainWindow::onWarningsOrErrorsOccurred |
( |
ctkErrorLogLevel::LogLevel |
logLevel | ) |
|
|
protectedvirtualslot |
◆ pythonConsoleInitialDisplay()
virtual void qSlicerMainWindow::pythonConsoleInitialDisplay |
( |
| ) |
|
|
protectedvirtual |
Open Python interactor if it was requested.
◆ restoreGUIState
virtual void qSlicerMainWindow::restoreGUIState |
( |
bool |
force = false | ) |
|
|
virtualslot |
Read GUI state from application settings and update the user interface accordingly.
- See also
- saveGUIState()
◆ restoreToolbars
virtual void qSlicerMainWindow::restoreToolbars |
( |
| ) |
|
|
virtualslot |
◆ saveGUIState
virtual void qSlicerMainWindow::saveGUIState |
( |
bool |
force = false | ) |
|
|
virtualslot |
Write GUI state to application settings.
GUI state includes:
- main window state and geometry (only if MainWindow/geometry application setting is enabled or force argument is set to true)
- current view layout ID
- favorite modules
- recently loaded files
- See also
- restoreGUIState()
◆ setExtensionUpdatesAvailable
void qSlicerMainWindow::setExtensionUpdatesAvailable |
( |
bool |
updateAvailable | ) |
|
|
protectedslot |
◆ setHomeModuleCurrent
virtual void qSlicerMainWindow::setHomeModuleCurrent |
( |
| ) |
|
|
virtualslot |
◆ setLayout
virtual void qSlicerMainWindow::setLayout |
( |
int |
| ) |
|
|
virtualslot |
◆ setLayoutMaximizedViewNode
Makes a view displayed maximized (taking the entire area) of the view layout. Setting the value to nullptr restores the original view layout.
◆ setLayoutNumberOfCompareViewColumns
virtual void qSlicerMainWindow::setLayoutNumberOfCompareViewColumns |
( |
int |
| ) |
|
|
virtualslot |
◆ setLayoutNumberOfCompareViewRows
virtual void qSlicerMainWindow::setLayoutNumberOfCompareViewRows |
( |
int |
| ) |
|
|
virtualslot |
◆ setupMenuActions()
virtual void qSlicerMainWindow::setupMenuActions |
( |
| ) |
|
|
protectedvirtual |
Connect MainWindow action with slots defined in MainWindowCore.
◆ showEvent()
void qSlicerMainWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprotected |
◆ d_ptr
QScopedPointer<qSlicerMainWindowPrivate> qSlicerMainWindow::d_ptr |
|
protected |
The documentation for this class was generated from the following file: