12 #ifndef CXTRAININGWIDGET_H_ 13 #define CXTRAININGWIDGET_H_ 16 #include "boost/shared_ptr.hpp" 17 #include "org_custusx_training_Export.h" 18 #include <boost/function.hpp> 20 class ctkPluginContext;
49 typedef boost::function<void(void)>
func_t;
51 void registrateTransition( func_t transition);
54 void makeUnavailable(QString uidPart,
bool makeModalityUnavailable =
false);
55 void makeAvailable(QString uidPart,
bool makeModalityUnavailable);
58 QString getFirstUSVolume();
59 MeshPtr getMesh(QString uidPart);
61 void onImportSimulatedPatient();
65 void createSteps(
unsigned numberOfSteps);
66 CXToolButton *addToolButtonFor(QHBoxLayout *layout, QAction *action);
68 void onStep(
int delta);
69 void stepTo(
int step);
70 void transitionToStep(
int step);
71 void setAvailability(std::map<QString, DataPtr> datas,
bool available, QString uidPart,
bool makeModalityUnavailable);
73 HelpEnginePtr mEngine;
79 QAction* mPreviousAction;
81 QAction* mCurrentAction;
82 QAction* mImportAction;
83 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.