|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
15 #include <QApplication>
54 void StateServiceImpl::initialize()
61 mWorkflowStateMachine->start();
81 return QString(
"%1").arg(CustusX_VERSION_STRING);
86 return mWorkflowStateMachine->getActionGroup();
91 return mWorkflowStateMachine;
96 mWorkflowStateMachine->setActiveState(uid);
102 return parser.
getDesktop(mWorkflowStateMachine->getActiveUidState());
108 parser.
setDesktop(mWorkflowStateMachine->getActiveUidState(),
115 parser.
resetDesktop(mWorkflowStateMachine->getActiveUidState());
QStringList getProfiles()
virtual QString getApplicationStateName() const
virtual ~StateServiceImpl()
void workflowStateAboutToChange()
Namespace for all CustusX production code.
State Machine for the Workflow Steps for CustusX.
void setDesktop(QString workflowName, Desktop desktop)
void fillDefaultSettings()
Desktop getDesktop(QString workflowName)
void activeStateAboutToChange()
boost::shared_ptr< class WorkflowStateMachine > WorkflowStateMachinePtr
virtual WorkflowStateMachinePtr getWorkflow()
void activeStateChanged()
virtual void resetDesktop()
void workflowStateChanged()
void applicationStateChanged()
virtual Desktop getActiveDesktop()
virtual QActionGroup * getWorkflowActions()
virtual void saveDesktop(Desktop desktop)
virtual QString getVersionName()
virtual QStringList getAllApplicationStateNames() const
void resetDesktop(QString workflowName)
static VisServicesPtr create(ctkPluginContext *context)
StateServiceImpl(ctkPluginContext *context)
void activeProfileChanged()
virtual void setWorkFlowState(QString uid)
static ProfileManager * getInstance(QString defaultProfile=QString("Laboratory"))
returns the only instance of this class
ProfilePtr activeProfile()
Data class for CustusX desktop.