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 savePatientFileSlot();
41 void clearPatientSlot();
43 void exportDataSlot();
44 void importDataSlot();
46 void togglePointPickerActionSlot();
47 void updatePointPickerActionSlot();
53 void onGotoDocumentation();
56 void centerToImageCenterSlot();
57 void centerToTooltipSlot();
59 void updateTrackingActionSlot();
60 void toggleTrackingSlot();
61 void toggleStreamingSlot();
62 void updateStreamingActionSlot();
66 void recordFullscreen();
67 void updateRecordFullscreenActionSlot();
69 void onStartLogConsole();
75 std::map<QString, QAction*> mActions;
77 QAction* mShowPointPickerAction;
78 QAction* mTrackingToolsAction;
79 QAction* mStartStreamingAction;
80 QAction* mRecordFullscreenStreamingAction;
82 QString mLastImportDataFolder;
86 void createPatientActions();
87 void createTrackingActions();
88 QString getExistingSessionFolder();
89 QWidget* parentWidget();
90 void shootOneLayout(
int index);
93 QAction* createAction(QString uid, QString text, QIcon icon,
94 QKeySequence shortcut, QString help,
101 #endif // CXMAINWINDOWACTIONS_H
boost::shared_ptr< class VisServices > VisServicesPtr
boost::shared_ptr< class ScreenShotImageWriter > ScreenShotImageWriterPtr
boost::shared_ptr< class ProcessWrapper > ProcessWrapperPtr