1 #ifndef CXMAINWINDOWACTIONS_H
2 #define CXMAINWINDOWACTIONS_H
4 #include "cxGuiExport.h"
9 #include "boost/shared_ptr.hpp"
33 QAction* getAction(QString uid);
37 void newPatientSlot();
38 void loadPatientFileSlot();
39 void savePatientFileSlot();
40 void clearPatientSlot();
42 void exportDataSlot();
43 void importDataSlot();
44 void deleteDataSlot();
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;
85 void createPatientActions();
86 void createTrackingActions();
87 QString getExistingSessionFolder();
88 QWidget* parentWidget();
89 void saveScreenShot(QPixmap pixmap, QString
id=
"");
90 void saveScreenShotThreaded(QImage pixmap, QString filename);
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 ProcessWrapper > ProcessWrapperPtr