12 #ifndef CXWORKFLOWSTATEMACHINE_H_
13 #define CXWORKFLOWSTATEMACHINE_H_
15 #include "cxResourceExport.h"
17 #include <QStateMachine>
18 #include <QActionGroup>
44 QActionGroup* getActionGroup();
46 QString getActiveUidState();
47 void setActiveState(QString uid);
50 void activeStateChanged();
51 void activeStateAboutToChange();
55 void clinicalApplicationChangedSlot();
64 void fillActionGroup(
WorkflowState* current, QActionGroup* group);
65 QAction* addAction(QString stateUid, QActionGroup* group);
67 typedef std::map<QString, WorkflowState*> WorkflowStateMap;
68 WorkflowStateMap mStates;
69 QActionGroup* mActionGroup;