Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerAppMainWindow Class Reference

#include <Applications/SlicerApp/qSlicerAppMainWindow.h>

Inheritance diagram for qSlicerAppMainWindow:
Inheritance graph
[legend]
Collaboration diagram for qSlicerAppMainWindow:
Collaboration graph
[legend]

Public Types

typedef QMainWindow Superclass
 

Public Slots

virtual void on_CopyAction_triggered ()
 
virtual void on_CutAction_triggered ()
 
virtual void on_EditApplicationSettingsAction_triggered ()
 
virtual void on_EditPlayMacroAction_triggered ()
 
virtual void on_EditRecordMacroAction_triggered ()
 
virtual void on_EditRedoAction_triggered ()
 
virtual void on_EditUndoAction_triggered ()
 
virtual void on_FileAddDataAction_triggered ()
 
virtual void on_FileAddTransformAction_triggered ()
 
virtual void on_FileAddVolumeAction_triggered ()
 
virtual void on_FileCloseSceneAction_triggered ()
 
virtual void on_FileExitAction_triggered ()
 
virtual void on_FileImportSceneAction_triggered ()
 
virtual void on_FileLoadDataAction_triggered ()
 
virtual void on_FileLoadSceneAction_triggered ()
 
virtual void on_FileSaveSceneAction_triggered ()
 
virtual void on_HelpAboutSlicerAppAction_triggered ()
 
virtual void on_HelpBrowseTutorialsAction_triggered ()
 
virtual void on_HelpInterfaceDocumentationAction_triggered ()
 
virtual void on_HelpKeyboardShortcutsAction_triggered ()
 
virtual void on_HelpReportBugOrFeatureRequestAction_triggered ()
 
virtual void on_HelpSlicerPublicationsAction_triggered ()
 
virtual void on_HelpVisualBlogAction_triggered ()
 
virtual void on_LoadDICOMAction_triggered ()
 
virtual void on_ModuleHomeAction_triggered ()
 
virtual void on_PasteAction_triggered ()
 
virtual void on_SDBSaveToDCMAction_triggered ()
 
virtual void on_SDBSaveToDirectoryAction_triggered ()
 
virtual void on_SDBSaveToMRBAction_triggered ()
 
virtual void on_ViewExtensionsManagerAction_triggered ()
 
virtual void on_WindowErrorLogAction_triggered ()
 
virtual void on_WindowToolbarsResetToDefaultAction_triggered ()
 
virtual void onFileRecentLoadedActionTriggered ()
 
virtual void onLayoutActionTriggered (QAction *action)
 
virtual void onLayoutCompareActionTriggered (QAction *action)
 
virtual void onLayoutCompareGridActionTriggered (QAction *action)
 
virtual void onLayoutCompareWidescreenActionTriggered (QAction *action)
 
virtual void onPythonConsoleToggled (bool)
 
virtual void restoreToolbars ()
 
virtual void setHomeModuleCurrent ()
 
virtual void setLayout (int)
 
virtual void setLayoutNumberOfCompareViewColumns (int)
 
virtual void setLayoutNumberOfCompareViewRows (int)
 

Signals

void initialWindowShown ()
 

Public Member Functions

Q_INVOKABLE ctkErrorLogWidget * errorLogWidget () const
 
Q_INVOKABLE qSlicerModuleSelectorToolBarmoduleSelector () const
 
 qSlicerAppMainWindow (QWidget *parent=0)
 
virtual ~qSlicerAppMainWindow ()
 

Protected Slots

virtual void onLayoutChanged (int)
 
virtual void onModuleAboutToBeUnloaded (const QString &moduleName)
 
virtual void onModuleLoaded (const QString &moduleName)
 
virtual void onMRMLSceneModified (vtkObject *)
 
virtual void onNewFileLoaded (const qSlicerIO::IOProperties &fileProperties)
 
virtual void onWarningsOrErrorsOccurred (ctkErrorLogLevel::LogLevel logLevel)
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 
virtual void disclaimer ()
 Open a popup to warn the user Slicer is not for clinical use. More...
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual bool eventFilter (QObject *object, QEvent *event)
 
virtual void pythonConsoleInitialDisplay ()
 Open Python interactor if it was requested. More...
 
 qSlicerAppMainWindow (qSlicerAppMainWindowPrivate *pimpl, QWidget *parent)
 
virtual void setupMenuActions ()
 Connect MainWindow action with slots defined in MainWindowCore. More...
 
virtual void showEvent (QShowEvent *event)
 

Protected Attributes

QScopedPointer< qSlicerAppMainWindowPrivate > d_ptr
 

Detailed Description

Definition at line 44 of file qSlicerAppMainWindow.h.

Member Typedef Documentation

◆ Superclass

typedef QMainWindow qSlicerAppMainWindow::Superclass

Definition at line 48 of file qSlicerAppMainWindow.h.

Constructor & Destructor Documentation

◆ qSlicerAppMainWindow() [1/2]

qSlicerAppMainWindow::qSlicerAppMainWindow ( QWidget *  parent = 0)

◆ ~qSlicerAppMainWindow()

virtual qSlicerAppMainWindow::~qSlicerAppMainWindow ( )
virtual

◆ qSlicerAppMainWindow() [2/2]

qSlicerAppMainWindow::qSlicerAppMainWindow ( qSlicerAppMainWindowPrivate *  pimpl,
QWidget *  parent 
)
protected

Member Function Documentation

◆ closeEvent()

virtual void qSlicerAppMainWindow::closeEvent ( QCloseEvent *  event)
protectedvirtual

◆ disclaimer()

virtual void qSlicerAppMainWindow::disclaimer ( )
protectedvirtual

Open a popup to warn the user Slicer is not for clinical use.

◆ dragEnterEvent()

virtual void qSlicerAppMainWindow::dragEnterEvent ( QDragEnterEvent *  event)
protectedvirtual

Forward the dragEnterEvent to the IOManager which will decide if it could accept a drag/drop or not.

See also
dropEvent()

◆ dropEvent()

virtual void qSlicerAppMainWindow::dropEvent ( QDropEvent *  event)
protectedvirtual

Forward the dropEvent to the IOManager.

See also
dragEnterEvent()

◆ errorLogWidget()

Q_INVOKABLE ctkErrorLogWidget* qSlicerAppMainWindow::errorLogWidget ( ) const

Return a pointer to the error log widget.

See also
moduleSelector(), pythonConsole()

◆ eventFilter()

virtual bool qSlicerAppMainWindow::eventFilter ( QObject *  object,
QEvent *  event 
)
protectedvirtual

Reimplemented to catch activationChange/show/hide events. More specifically it allows to:

  1. update the state of the errorLog and python console QAction when associated dialog are visible or not.
  2. set the state of ErrorLog button based on the activation state of the error log dialog.

◆ initialWindowShown

void qSlicerAppMainWindow::initialWindowShown ( )
signal

Emitted when the window is first shown to the user.

See also
showEvent(QShowEvent *)

◆ moduleSelector()

Q_INVOKABLE qSlicerModuleSelectorToolBar* qSlicerAppMainWindow::moduleSelector ( ) const

Return a pointer to the module selector toolbar that can change the current module.

See also
pythonConsole(), errorLogWidget()

◆ on_CopyAction_triggered

virtual void qSlicerAppMainWindow::on_CopyAction_triggered ( )
virtualslot

◆ on_CutAction_triggered

virtual void qSlicerAppMainWindow::on_CutAction_triggered ( )
virtualslot

◆ on_EditApplicationSettingsAction_triggered

virtual void qSlicerAppMainWindow::on_EditApplicationSettingsAction_triggered ( )
virtualslot

◆ on_EditPlayMacroAction_triggered

virtual void qSlicerAppMainWindow::on_EditPlayMacroAction_triggered ( )
virtualslot

◆ on_EditRecordMacroAction_triggered

virtual void qSlicerAppMainWindow::on_EditRecordMacroAction_triggered ( )
virtualslot

◆ on_EditRedoAction_triggered

virtual void qSlicerAppMainWindow::on_EditRedoAction_triggered ( )
virtualslot

◆ on_EditUndoAction_triggered

virtual void qSlicerAppMainWindow::on_EditUndoAction_triggered ( )
virtualslot

◆ on_FileAddDataAction_triggered

virtual void qSlicerAppMainWindow::on_FileAddDataAction_triggered ( )
virtualslot

◆ on_FileAddTransformAction_triggered

virtual void qSlicerAppMainWindow::on_FileAddTransformAction_triggered ( )
virtualslot

◆ on_FileAddVolumeAction_triggered

virtual void qSlicerAppMainWindow::on_FileAddVolumeAction_triggered ( )
virtualslot

◆ on_FileCloseSceneAction_triggered

virtual void qSlicerAppMainWindow::on_FileCloseSceneAction_triggered ( )
virtualslot

◆ on_FileExitAction_triggered

virtual void qSlicerAppMainWindow::on_FileExitAction_triggered ( )
virtualslot

◆ on_FileImportSceneAction_triggered

virtual void qSlicerAppMainWindow::on_FileImportSceneAction_triggered ( )
virtualslot

◆ on_FileLoadDataAction_triggered

virtual void qSlicerAppMainWindow::on_FileLoadDataAction_triggered ( )
virtualslot

◆ on_FileLoadSceneAction_triggered

virtual void qSlicerAppMainWindow::on_FileLoadSceneAction_triggered ( )
virtualslot

◆ on_FileSaveSceneAction_triggered

virtual void qSlicerAppMainWindow::on_FileSaveSceneAction_triggered ( )
virtualslot

◆ on_HelpAboutSlicerAppAction_triggered

virtual void qSlicerAppMainWindow::on_HelpAboutSlicerAppAction_triggered ( )
virtualslot

◆ on_HelpBrowseTutorialsAction_triggered

virtual void qSlicerAppMainWindow::on_HelpBrowseTutorialsAction_triggered ( )
virtualslot

◆ on_HelpInterfaceDocumentationAction_triggered

virtual void qSlicerAppMainWindow::on_HelpInterfaceDocumentationAction_triggered ( )
virtualslot

◆ on_HelpKeyboardShortcutsAction_triggered

virtual void qSlicerAppMainWindow::on_HelpKeyboardShortcutsAction_triggered ( )
virtualslot

◆ on_HelpReportBugOrFeatureRequestAction_triggered

virtual void qSlicerAppMainWindow::on_HelpReportBugOrFeatureRequestAction_triggered ( )
virtualslot

◆ on_HelpSlicerPublicationsAction_triggered

virtual void qSlicerAppMainWindow::on_HelpSlicerPublicationsAction_triggered ( )
virtualslot

◆ on_HelpVisualBlogAction_triggered

virtual void qSlicerAppMainWindow::on_HelpVisualBlogAction_triggered ( )
virtualslot

◆ on_LoadDICOMAction_triggered

virtual void qSlicerAppMainWindow::on_LoadDICOMAction_triggered ( )
virtualslot

◆ on_ModuleHomeAction_triggered

virtual void qSlicerAppMainWindow::on_ModuleHomeAction_triggered ( )
virtualslot

◆ on_PasteAction_triggered

virtual void qSlicerAppMainWindow::on_PasteAction_triggered ( )
virtualslot

◆ on_SDBSaveToDCMAction_triggered

virtual void qSlicerAppMainWindow::on_SDBSaveToDCMAction_triggered ( )
virtualslot

◆ on_SDBSaveToDirectoryAction_triggered

virtual void qSlicerAppMainWindow::on_SDBSaveToDirectoryAction_triggered ( )
virtualslot

◆ on_SDBSaveToMRBAction_triggered

virtual void qSlicerAppMainWindow::on_SDBSaveToMRBAction_triggered ( )
virtualslot

◆ on_ViewExtensionsManagerAction_triggered

virtual void qSlicerAppMainWindow::on_ViewExtensionsManagerAction_triggered ( )
virtualslot

◆ on_WindowErrorLogAction_triggered

virtual void qSlicerAppMainWindow::on_WindowErrorLogAction_triggered ( )
virtualslot

◆ on_WindowToolbarsResetToDefaultAction_triggered

virtual void qSlicerAppMainWindow::on_WindowToolbarsResetToDefaultAction_triggered ( )
virtualslot

◆ onFileRecentLoadedActionTriggered

virtual void qSlicerAppMainWindow::onFileRecentLoadedActionTriggered ( )
virtualslot

◆ onLayoutActionTriggered

virtual void qSlicerAppMainWindow::onLayoutActionTriggered ( QAction *  action)
virtualslot

◆ onLayoutChanged

virtual void qSlicerAppMainWindow::onLayoutChanged ( int  )
protectedvirtualslot

◆ onLayoutCompareActionTriggered

virtual void qSlicerAppMainWindow::onLayoutCompareActionTriggered ( QAction *  action)
virtualslot

◆ onLayoutCompareGridActionTriggered

virtual void qSlicerAppMainWindow::onLayoutCompareGridActionTriggered ( QAction *  action)
virtualslot

◆ onLayoutCompareWidescreenActionTriggered

virtual void qSlicerAppMainWindow::onLayoutCompareWidescreenActionTriggered ( QAction *  action)
virtualslot

◆ onModuleAboutToBeUnloaded

virtual void qSlicerAppMainWindow::onModuleAboutToBeUnloaded ( const QString &  moduleName)
protectedvirtualslot

◆ onModuleLoaded

virtual void qSlicerAppMainWindow::onModuleLoaded ( const QString &  moduleName)
protectedvirtualslot

◆ onMRMLSceneModified

virtual void qSlicerAppMainWindow::onMRMLSceneModified ( vtkObject *  )
protectedvirtualslot

◆ onNewFileLoaded

virtual void qSlicerAppMainWindow::onNewFileLoaded ( const qSlicerIO::IOProperties fileProperties)
protectedvirtualslot

◆ onPythonConsoleToggled

virtual void qSlicerAppMainWindow::onPythonConsoleToggled ( bool  )
virtualslot

◆ onWarningsOrErrorsOccurred

virtual void qSlicerAppMainWindow::onWarningsOrErrorsOccurred ( ctkErrorLogLevel::LogLevel  logLevel)
protectedvirtualslot

◆ pythonConsoleInitialDisplay()

virtual void qSlicerAppMainWindow::pythonConsoleInitialDisplay ( )
protectedvirtual

Open Python interactor if it was requested.

◆ restoreToolbars

virtual void qSlicerAppMainWindow::restoreToolbars ( )
virtualslot

◆ setHomeModuleCurrent

virtual void qSlicerAppMainWindow::setHomeModuleCurrent ( )
virtualslot

◆ setLayout

virtual void qSlicerAppMainWindow::setLayout ( int  )
virtualslot

◆ setLayoutNumberOfCompareViewColumns

virtual void qSlicerAppMainWindow::setLayoutNumberOfCompareViewColumns ( int  )
virtualslot

◆ setLayoutNumberOfCompareViewRows

virtual void qSlicerAppMainWindow::setLayoutNumberOfCompareViewRows ( int  )
virtualslot

◆ setupMenuActions()

virtual void qSlicerAppMainWindow::setupMenuActions ( )
protectedvirtual

Connect MainWindow action with slots defined in MainWindowCore.

◆ showEvent()

virtual void qSlicerAppMainWindow::showEvent ( QShowEvent *  event)
protectedvirtual

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerAppMainWindowPrivate> qSlicerAppMainWindow::d_ptr
protected

Definition at line 171 of file qSlicerAppMainWindow.h.


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