 |
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:247
void initActions()
initializes all QActions of the application
Definition: ImpMainWindow.cpp:137
QAction * viewMenuBar
Definition: ImpMainWindow.h:200
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:244
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:263
QMap< Viewer *, QDockWidget * > dockWidgetMap
the map that gives the corresponding QDockWidget for a given Viewer
Definition: MainWindow.h:192
void initToolBar()
this creates the toolbars.
Definition: ImpMainWindow.cpp:294
QAction * fileSaveAll
Definition: ImpMainWindow.h:193
QAction * fileClose
Definition: ImpMainWindow.h:189
virtual void setCentralViewer(camitk::Viewer *)
set the central Viewer of the application.
Definition: ImpMainWindow.cpp:130
QAction * fileSaveAs
Definition: ImpMainWindow.h:192
QAction * getQAction()
Get the corresponding QAction.
Definition: Action.cpp:183
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:366
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:199
QAction * fileQuit
Definition: ImpMainWindow.h:194
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:95
QToolBar * mainToolbar
the main toolbar
Definition: ImpMainWindow.h:167
QAction * saveHistory
Definition: ImpMainWindow.h:210
This Class describes the "historical" imp application. It is a classical desktop application,...
Definition: ImpMainWindow.h:43
QMenu * actionMenu
the actionMenu.
Definition: ImpMainWindow.h:220
virtual void refresh()
Definition: ImpMainWindow.cpp:111
QAction * fileOpen
Definition: ImpMainWindow.h:188
QList< QAction * > recentDocumentActions
list of all the possible recent documents actions
Definition: ImpMainWindow.h:241
QAction * fileSave
Definition: ImpMainWindow.h:191
This class controls the settings dialog user interface.
Definition: SettingsDialog.h:54
QAction * viewStatusBar
Definition: ImpMainWindow.h:201
ApplyStatus applyAndRegister()
This method is called whenever the action has to be applied on the target list (like the apply()) met...
Definition: Action.cpp:245
QAction * editClearSelection
Definition: ImpMainWindow.h:209
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
QAction * fileCloseAll
Definition: ImpMainWindow.h:190
The generic/default application. Once this class is intanciated in the main, everything is setup....
Definition: Application.h:63
void updateActionStates()
Definition: ImpMainWindow.cpp:304
QAction * viewResetWindows
Definition: ImpMainWindow.h:202
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:273
void openRecentDocuments()
open a given recent document
Definition: ImpMainWindow.cpp:545
QAction * editApplicationSettings
Definition: ImpMainWindow.h:208
virtual QMenu * getMenu()
get the viewer menu (returns NULL by default, i.e. there are no default edit menu)
Definition: Viewer.h:80
QList< Viewer * > viewers
Definition: MainWindow.h:189
QAction * helpShowConsole
action for the show console
Definition: ImpMainWindow.h:228
QAction * changeLanguage
Definition: ImpMainWindow.h:234
QMenu * fileMenu
file_menu contains all items of the menubar entry "File"
Definition: ImpMainWindow.h:186
QProgressBar * getProgressBar()
similar as statusBar() from QMainWindow but for the progress bar
Definition: MainWindow.cpp:319
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: MainWindow.h:85
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
Viewer is an abstract viewer.
Definition: Viewer.h:55
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:137
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:75
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:204
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:187
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:298
Definition: Action.cpp:36
QAction * helpAboutApp
Definition: ImpMainWindow.h:225