27 #ifndef IMP_MAINWINDOW_H
28 #define IMP_MAINWINDOW_H
89 virtual void refresh()
override;
162 QMenu* fileOpenDataDirectoryMenu;
164 QAction* workspaceOpen;
166 QAction* fileCloseAll;
169 QAction* fileSaveAll;
170 QAction* workspaceSave;
177 QAction* viewMenuBar;
178 QAction* viewStatusBar;
179 QAction* viewResetWindows;
185 QAction* editApplicationSettings;
186 QAction* editClearSelection;
187 QAction* saveHistory;
202 QAction* helpAboutApp;
205 QAction* helpShowConsole;
211 QAction* changeLanguage;
221 QAction* recentDocumentSeparator;
229 void openRecentDocuments();
This Class describes the "historical" imp application.
Definition: ImpMainWindow.h:43
void toggleMenuBar()
show or hide the menu bar
Definition: ImpMainWindow.cpp:410
virtual void redirectToConsole(bool) override
use or not the application console (overriden to add an action to show the console window)
Definition: ImpMainWindow.cpp:621
void updateActionStates()
set the current QAction enable state depending on the current selection
Definition: ImpMainWindow.cpp:353
virtual ~ImpMainWindow()
destructor
Definition: ImpMainWindow.cpp:131
void updateOpenDirectoryMenu()
update the open data directory menu depending on registered plugins
Definition: ImpMainWindow.cpp:672
void editSettings()
Definition: ImpMainWindow.cpp:591
virtual void setCentralViewer(camitk::Viewer *) override final
set the central Viewer of the application.
Definition: ImpMainWindow.cpp:166
void openDataDirectory(QString plugin)
Definition: ImpMainWindow.cpp:479
void initActions()
initializes all QActions of the application
Definition: ImpMainWindow.cpp:173
virtual void refresh() override
Definition: ImpMainWindow.cpp:148
void aboutToShow() override
overriden from MainWindow to automatically load last opened document if needed
Definition: ImpMainWindow.cpp:135
void updateViewMenu()
Definition: ImpMainWindow.cpp:512
QToolBar * mainToolbar
the main toolbar
Definition: ImpMainWindow.h:142
void resetWindows()
reset all windows in their initial state
Definition: ImpMainWindow.cpp:430
void saveHistoryAsSCXML()
Save the history of action as a SCXML file.
Definition: ImpMainWindow.cpp:667
void updateRecentDocumentsMenu()
update the recent document menu
Definition: ImpMainWindow.cpp:646
void showToolbar(bool)
show or hide the toolbar
Definition: ImpMainWindow.cpp:405
void showStatusBar(bool)
show or hide the status bar
Definition: ImpMainWindow.cpp:425
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:159
ImpMainWindow()
Definition: ImpMainWindow.cpp:57
This class is the base class for your application.
Definition: MainWindow.h:66
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181