|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
27 #ifndef IMP_MAINWINDOW_H
28 #define IMP_MAINWINDOW_H
89 virtual void refresh()
override;
231 #endif //IMP_MAINWINDOW_H
The Explorer viewer displays the list of all data currently opened in the application....
Definition: Explorer.h:64
void initActions()
initializes all QActions of the application
Definition: ImpMainWindow.cpp:179
QAction * viewMenuBar
Definition: ImpMainWindow.h:198
void updateRecentDocumentsMenu()
update the recent document menu
Definition: ImpMainWindow.cpp:648
QAction * recentDocumentSeparator
the separator between the last file menu action and the recent document actions
Definition: ImpMainWindow.h:242
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
void toggleMenuBar()
show or hide the menu bar
Definition: ImpMainWindow.cpp:412
void aboutToShow() override
overriden from MainWindow to automatically load last opened document if needed
Definition: ImpMainWindow.cpp:141
virtual void setSearchPanelVisible(bool)
show/hide the search panel (hidden by default)
Definition: ActionViewer.cpp:120
QMap< Viewer *, QDockWidget * > dockWidgetMap
the map that gives the corresponding QDockWidget for a given Viewer
Definition: MainWindow.h:222
void initToolBar()
this creates the toolbars.
Definition: ImpMainWindow.cpp:345
QAction * fileSaveAll
Definition: ImpMainWindow.h:191
QAction * fileClose
Definition: ImpMainWindow.h:187
QLayout * getEmbedder()
Get the QLayout* where this viewer is currently embedded (or nullptr if it is not embedded anywhere o...
Definition: Viewer.cpp:205
All-in-one medical image viewer.
Definition: MedicalImageViewer.h:59
QAction * fileSaveAs
Definition: ImpMainWindow.h:190
virtual void refresh() override
Definition: ImpMainWindow.cpp:154
Frame Explorer window, display the hierachy of the frames of all the data currently opened in the app...
Definition: FrameExplorer.h:60
void updateOpenDirectoryMenu()
update the open data directory menu depending on registered plugins
Definition: ImpMainWindow.cpp:674
void updateViewMenu()
Definition: ImpMainWindow.cpp:514
void saveHistoryAsSCXML()
Save the history of action as a SCXML file.
Definition: ImpMainWindow.cpp:669
QMenu * getActionMenu()
Get a QMenu that contains all the action that can be applied to this component.
Definition: sdk/libraries/core/component/Component.cpp:355
QMenu * viewMenu
view_menu contains all items of the menubar entry "View"
Definition: ImpMainWindow.h:197
QAction * fileQuit
Definition: ImpMainWindow.h:192
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:136
QToolBar * mainToolbar
the main toolbar
Definition: ImpMainWindow.h:165
QAction * saveHistory
Definition: ImpMainWindow.h:208
This Class describes the "historical" imp application. It is a classical desktop application,...
Definition: ImpMainWindow.h:43
QMenu * actionMenu
the actionMenu.
Definition: ImpMainWindow.h:218
QAction * fileOpen
Definition: ImpMainWindow.h:186
QList< QAction * > recentDocumentActions
list of all the possible recent documents actions
Definition: ImpMainWindow.h:239
QAction * fileSave
Definition: ImpMainWindow.h:189
This class controls the settings dialog user interface.
Definition: SettingsDialog.h:54
QAction * viewStatusBar
Definition: ImpMainWindow.h:199
virtual void setCentralViewer(camitk::Viewer *) override final
set the central Viewer of the application.
Definition: ImpMainWindow.cpp:172
QString getName() const
get the name of the viewer
Definition: Viewer.h:200
camitk::Action::ApplyStatus applyAndRegister()
This method is called whenever the action has to be applied on the target list (like the apply()) met...
Definition: Action.cpp:263
QAction * editClearSelection
Definition: ImpMainWindow.h:207
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
virtual void showDockViewer(Viewer *, bool)
set the visibility for the given docked viewer and its toolbar
Definition: MainWindow.cpp:253
QAction * fileCloseAll
Definition: ImpMainWindow.h:188
virtual QAction * getQAction(Component *target=nullptr)
Get the corresponding QAction.
Definition: Action.cpp:204
The generic/default application. Once this class is intanciated in the main, everything is setup....
Definition: Application.h:82
void updateActionStates()
set the current QAction enable state depending on the current selection
Definition: ImpMainWindow.cpp:355
virtual void addDockViewer(Qt::DockWidgetArea, camitk::Viewer *) override final
add a Viewer to the application as a docking widget and specify where it has to be docked MainWindow ...
Definition: ImpMainWindow.cpp:165
QAction * viewResetWindows
Definition: ImpMainWindow.h:200
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
void openRecentDocuments()
open a given recent document
Definition: ImpMainWindow.cpp:630
QAction * editApplicationSettings
Definition: ImpMainWindow.h:206
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition: Viewer.h:245
QList< Viewer * > viewers
Definition: MainWindow.h:219
QAction * helpShowConsole
action for the show console
Definition: ImpMainWindow.h:226
ActionViewer is the viewer used to manage the actions.
Definition: ActionViewer.h:63
QAction * changeLanguage
Definition: ImpMainWindow.h:232
QMenu * fileMenu
file_menu contains all items of the menubar entry "File"
Definition: ImpMainWindow.h:184
void openDataDirectory(QString plugin)
Definition: ImpMainWindow.cpp:481
QProgressBar * getProgressBar()
similar as statusBar() from QMainWindow but for the progress bar
Definition: MainWindow.cpp:388
This class is the base class for your application. It sets up the main window and creates a menubar,...
Definition: MainWindow.h:89
ViewerType getType()
get the viewer layout
Definition: Viewer.cpp:140
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
The property explorer.
Definition: PropertyExplorer.h:81
virtual void redirectToConsole(bool) override
use or not the application console (overriden to add an action to show the console window)
Definition: ImpMainWindow.cpp:623
void resetWindows()
reset all windows in their initial state
Definition: ImpMainWindow.cpp:432
void editSettings(QObject *)
add a new property editor in a tab for the new object (it automatically connect the object "saveSetti...
Definition: SettingsDialog.cpp:142
virtual QPixmap getIcon()
get the viewer icon
Definition: Viewer.cpp:89
void editSettings()
Definition: ImpMainWindow.cpp:593
virtual QObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition: Viewer.h:240
void refresh()
refresh the display
void setWindowSubtitle(QString)
The subtitle is situated at the end of the title, on the title bar, is helps for example showing whic...
Definition: MainWindow.cpp:223
void showStatusBar(bool)
show or hide the status bar
Definition: ImpMainWindow.cpp:427
void showToolbar(bool)
show or hide the toolbar
Definition: ImpMainWindow.cpp:407
void initMenuBar()
initMenuBar creates the menu_bar and inserts the menuitems
Definition: ImpMainWindow.cpp:280
QMenu * fileOpenDataDirectoryMenu
Definition: ImpMainWindow.h:185
ImpMainWindow()
Definition: ImpMainWindow.cpp:62
Viewer * centralViewer
The actual central Viewer.
Definition: MainWindow.h:261
virtual QString getName()=0
returns the action extension name (to be overriden in your ActionExtension)
virtual ~ImpMainWindow()
destructor
Definition: ImpMainWindow.cpp:137
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35
QAction * helpAboutApp
Definition: ImpMainWindow.h:223