1 #ifndef CXMAINWINDOWACTIONS_H
2 #define CXMAINWINDOWACTIONS_H
4 #include "cxGuiExport.h"
9 #include "boost/shared_ptr.hpp"
34 QAction* getAction(QString uid);
38 void newPatientSlot();
39 void loadPatientFileSlot();
40 void loadPatientFileCopySlot();
41 void savePatientFileSlot();
42 void clearPatientSlot();
44 void exportDataSlot();
45 void importDataSlot(QString actionText =
"AddMoreFilesButtonClickedAction");
47 void togglePointPickerActionSlot();
48 void updatePointPickerActionSlot();
54 void onGotoDocumentation();
57 void centerToImageCenterSlot();
58 void centerToTooltipSlot();
60 void updateTrackingActionSlot();
61 void toggleTrackingSlot();
62 void toggleStreamingSlot();
63 void updateStreamingActionSlot();
67 void recordFullscreen();
68 void updateRecordFullscreenActionSlot();
70 void onStartLogConsole();
76 std::map<QString, QAction*> mActions;
78 QAction* mShowPointPickerAction;
79 QAction* mTrackingToolsAction;
80 QAction* mStartStreamingAction;
81 QAction* mRecordFullscreenStreamingAction;
83 QString mLastImportDataFolder;
87 void createPatientActions();
88 void createTrackingActions();
89 QString getExistingSessionFolder();
90 QWidget* parentWidget();
91 void shootOneLayout(
int index);
94 QAction* createAction(QString uid, QString text, QIcon icon,
95 QKeySequence shortcut, QString help,
97 QString selectNewPatientFolder();
103 #endif // CXMAINWINDOWACTIONS_H