36 #include <QApplication>
76 void StateServiceImpl::initialize()
83 mWorkflowStateMachine->start();
103 return QString(
"%1").arg(CustusX_VERSION_STRING);
108 return mWorkflowStateMachine->getActionGroup();
113 return mWorkflowStateMachine;
118 mWorkflowStateMachine->setActiveState(uid);
124 return parser.
getDesktop(mWorkflowStateMachine->getActiveUidState());
130 parser.
setDesktop(mWorkflowStateMachine->getActiveUidState(),
137 parser.
resetDesktop(mWorkflowStateMachine->getActiveUidState());
void activeStateChanged()
virtual QActionGroup * getWorkflowActions()
void activeProfileChanged()
virtual void setWorkFlowState(QString uid)
ProfilePtr activeProfile()
virtual void saveDesktop(Desktop desktop)
void applicationStateChanged()
void setDesktop(QString workflowName, Desktop desktop)
virtual void resetDesktop()
static VisServicesPtr create(ctkPluginContext *context)
virtual Desktop getActiveDesktop()
QStringList getProfiles()
virtual QString getVersionName()
State Machine for the Workflow Steps for CustusX.
virtual QStringList getAllApplicationStateNames() const
void resetDesktop(QString workflowName)
StateServiceImpl(ctkPluginContext *context)
void workflowStateAboutToChange()
static ProfileManager * getInstance()
returns the only instance of this class
virtual ~StateServiceImpl()
void fillDefaultSettings()
virtual QString getApplicationStateName() const
boost::shared_ptr< class WorkflowStateMachine > WorkflowStateMachinePtr
void activeStateAboutToChange()
void workflowStateChanged()
Data class for CustusX desktop.
Desktop getDesktop(QString workflowName)