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();
68 void onStartLogConsole();
74 std::map<QString, QAction*> mActions;
76 QAction* mShowPointPickerAction;
77 QAction* mTrackingToolsAction;
78 QAction* mStartStreamingAction;
80 QString mLastImportDataFolder;
83 void createPatientActions();
84 void createTrackingActions();
85 QString getExistingSessionFolder();
86 QWidget* parentWidget();
87 void saveScreenShot(QPixmap pixmap, QString
id=
"");
88 void saveScreenShotThreaded(QImage pixmap, QString filename);
91 QAction* createAction(QString uid, QString text, QIcon icon,
92 QKeySequence shortcut, QString help,
99 #endif // CXMAINWINDOWACTIONS_H
boost::shared_ptr< class VisServices > VisServicesPtr
boost::shared_ptr< class ProcessWrapper > ProcessWrapperPtr