27#ifndef IMP_MAINWINDOW_H
28#define IMP_MAINWINDOW_H
89 virtual void refresh()
override;
162 QMenu* fileOpenDataDirectoryMenu;
165 QAction* fileCloseAll;
168 QAction* fileSaveAll;
175 QAction* viewMenuBar;
176 QAction* viewStatusBar;
177 QAction* viewResetWindows;
183 QAction* editApplicationSettings;
184 QAction* editClearSelection;
185 QAction* saveHistory;
200 QAction* helpAboutApp;
203 QAction* helpShowConsole;
209 QAction* changeLanguage;
216 QList<QAction*> recentDocumentActions;
219 QAction* recentDocumentSeparator;
227 void openRecentDocuments();
This Class describes the "historical" imp application.
Definition ImpMainWindow.h:43
void toggleMenuBar()
show or hide the menu bar
Definition ImpMainWindow.cpp:412
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 updateActionStates()
set the current QAction enable state depending on the current selection
Definition ImpMainWindow.cpp:355
virtual ~ImpMainWindow()
destructor
Definition ImpMainWindow.cpp:137
void updateOpenDirectoryMenu()
update the open data directory menu depending on registered plugins
Definition ImpMainWindow.cpp:674
void editSettings()
Definition ImpMainWindow.cpp:593
virtual void setCentralViewer(camitk::Viewer *) override final
set the central Viewer of the application.
Definition ImpMainWindow.cpp:172
void openDataDirectory(QString plugin)
Definition ImpMainWindow.cpp:481
void initActions()
initializes all QActions of the application
Definition ImpMainWindow.cpp:179
virtual void refresh() override
Definition ImpMainWindow.cpp:154
void aboutToShow() override
overriden from MainWindow to automatically load last opened document if needed
Definition ImpMainWindow.cpp:141
void updateViewMenu()
Definition ImpMainWindow.cpp:514
QToolBar * mainToolbar
the main toolbar
Definition ImpMainWindow.h:142
void resetWindows()
reset all windows in their initial state
Definition ImpMainWindow.cpp:432
void saveHistoryAsSCXML()
Save the history of action as a SCXML file.
Definition ImpMainWindow.cpp:669
void updateRecentDocumentsMenu()
update the recent document menu
Definition ImpMainWindow.cpp:648
void showToolbar(bool)
show or hide the toolbar
Definition ImpMainWindow.cpp:407
void showStatusBar(bool)
show or hide the status bar
Definition ImpMainWindow.cpp:427
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
ImpMainWindow()
Definition ImpMainWindow.cpp:62
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:180