 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
27 #ifndef IMP_MAINWINDOW_H
28 #define IMP_MAINWINDOW_H
233 #endif //IMP_MAINWINDOW_H
virtual void showViewer(Viewer *, bool)
set the visibility for the given viewer (if it is in a dock)
Definition: MainWindow.cpp:245
void initActions()
initializes all QActions of the application
Definition: ImpMainWindow.cpp:137
QAction * viewMenuBar
Definition: ImpMainWindow.h:198
void updateRecentDocumentsMenu()
update the recent document menu
Definition: ImpMainWindow.cpp:563
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:261
QMap< Viewer *, QDockWidget * > dockWidgetMap
the map that gives the corresponding QDockWidget for a given Viewer
Definition: MainWindow.h:190
void initToolBar()
this creates the toolbars.
Definition: ImpMainWindow.cpp:294
QAction * fileSaveAll
Definition: ImpMainWindow.h:191
QAction * fileClose
Definition: ImpMainWindow.h:187
virtual void setCentralViewer(camitk::Viewer *)
set the central Viewer of the application.
Definition: ImpMainWindow.cpp:130
QAction * fileSaveAs
Definition: ImpMainWindow.h:190
QAction * getQAction()
Get the corresponding QAction.
Definition: Action.cpp:182
void openDirectory(QAction *)
Definition: ImpMainWindow.cpp:447
void updateViewMenu()
update the viewer's menu
Definition: ImpMainWindow.cpp:480
void updateOpenDirectoryMenu()
Definition: ImpMainWindow.cpp:424
void saveHistoryAsSCXML()
Save the history of action as a SCXML file.
Definition: ImpMainWindow.cpp:584
virtual void redirectToConsole(bool)
use or not the application console (overriden to add an action to show the console window)
Definition: ImpMainWindow.cpp:538
QMenu * getActionMenu()
Get a QMenu that contains all the action that can be applied to this component.
Definition: sdk/libraries/core/component/Component.cpp:365
void aboutToShow()
overriden from MainWindow to automatically load last opened document if needed
Definition: ImpMainWindow.cpp:98
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:94
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:42
QMenu * actionMenu
the actionMenu.
Definition: ImpMainWindow.h:218
virtual void refresh()
Definition: ImpMainWindow.cpp:111
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:53
QAction * viewStatusBar
Definition: ImpMainWindow.h:199
ApplyStatus applyAndRegister()
This method is called whenever the action has to be applied on the target list (like the apply()) met...
Definition: Action.cpp:244
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:228
QAction * fileCloseAll
Definition: ImpMainWindow.h:188
void updateActionStates()
Definition: ImpMainWindow.cpp:304
QAction * viewResetWindows
Definition: ImpMainWindow.h:200
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:271
void openRecentDocuments()
open a given recent document
Definition: ImpMainWindow.cpp:545
QAction * editApplicationSettings
Definition: ImpMainWindow.h:206
virtual QMenu * getMenu()
get the viewer menu (returns NULL by default, i.e. there are no default edit menu)
Definition: Viewer.h:79
QList< Viewer * > viewers
Definition: MainWindow.h:187
QAction * helpShowConsole
action for the show console
Definition: ImpMainWindow.h:226
QAction * changeLanguage
Definition: ImpMainWindow.h:232
QMenu * fileMenu
file_menu contains all items of the menubar entry "File"
Definition: ImpMainWindow.h:184
QProgressBar * getProgressBar()
similar as statusBar() from QMainWindow but for the progress bar
Definition: MainWindow.cpp:317
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: MainWindow.h:83
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
Viewer is an abstract viewer.
Definition: Viewer.h:54
void resetWindows()
reset all windows in their initial state
Definition: ImpMainWindow.cpp:383
void editSettings(QObject *)
add a new property editor in a tab for the new object (it automatically connect the object "saveSetti...
Definition: SettingsDialog.cpp:136
void editSettings()
Definition: ImpMainWindow.cpp:508
virtual QObject * getPropertyObject()
get the viewer property object (returns NULL by default, i.e. there are no property to edit)
Definition: Viewer.h:74
void refresh()
refresh the display
void showMenuBar(bool)
show or hide the menu bar
Definition: ImpMainWindow.cpp:360
virtual void addDockViewer(Qt::DockWidgetArea, camitk::Viewer *)
add a Viewer to the application as a docking widget and specify where it has to be docked MainWindow ...
Definition: ImpMainWindow.cpp:123
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:202
void showStatusBar(bool)
show or hide the status bar
Definition: ImpMainWindow.cpp:378
void showToolbar(bool)
show or hide the toolbar
Definition: ImpMainWindow.cpp:355
void initMenuBar()
initMenuBar creates the menu_bar and inserts the menuitems
Definition: ImpMainWindow.cpp:227
QMenu * fileOpenDataDirectoryMenu
Definition: ImpMainWindow.h:185
ImpMainWindow()
Definition: ImpMainWindow.cpp:60
virtual QString getName()=0
returns the action extension name (to be overriden in your ActionExtension)
virtual ~ImpMainWindow()
destructor
Definition: ImpMainWindow.cpp:94
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:297
Definition: Action.cpp:36
QAction * helpAboutApp
Definition: ImpMainWindow.h:223