33 #ifndef CXTRAININGWIDGET_H_ 34 #define CXTRAININGWIDGET_H_ 37 #include "boost/shared_ptr.hpp" 38 #include "org_custusx_training_Export.h" 39 #include <boost/function.hpp> 41 class ctkPluginContext;
70 typedef boost::function<void(void)>
func_t;
72 void registrateTransition( func_t transition);
75 void makeUnavailable(QString uidPart,
bool makeModalityUnavailable =
false);
76 void makeAvailable(QString uidPart,
bool makeModalityUnavailable);
79 QString getFirstUSVolume();
80 MeshPtr getMesh(QString uidPart);
82 void onImportSimulatedPatient();
86 void createSteps(
unsigned numberOfSteps);
87 CXToolButton *addToolButtonFor(QHBoxLayout *layout, QAction *action);
89 void onStep(
int delta);
90 void stepTo(
int step);
91 void transitionToStep(
int step);
92 void setAvailability(std::map<QString, DataPtr> datas,
bool available, QString uidPart,
bool makeModalityUnavailable);
94 HelpEnginePtr mEngine;
100 QAction* mPreviousAction;
101 QAction* mNextAction;
102 QAction* mCurrentAction;
103 QAction* mImportAction;
104 QStringList mSessionIDs;
boost::shared_ptr< class RegServices > RegServicesPtr
boost::shared_ptr< HelpEngine > HelpEnginePtr
boost::shared_ptr< class Mesh > MeshPtr
Namespace for all CustusX production code.