39 QObjectList childrenList = this->children();
40 std::vector<WorkflowState*> retval;
41 for (
int i = 0; i < childrenList.size(); ++i)
45 retval.push_back(state);
82 if (
settings()->value(
"Automation/autoStartTracking").toBool())
84 if (
settings()->value(
"Automation/autoStartStreaming").toBool())
90 mEnableAction = enable;
virtual void onEntry(QEvent *event)
virtual QString getName() const
virtual void enableAction(bool enable)
CoreServicesPtr mServices
virtual QString getUid() const
Utility class for StateService states.
std::vector< WorkflowState * > getChildStates()
Settings * settings()
Shortcut for accessing the settings instance.
QAction * createAction(QActionGroup *group)
State in a WorkflowStateMachine.
virtual void onExit(QEvent *event)
virtual bool canEnter() const =0
Namespace for all CustusX production code.
virtual QIcon getIcon() const =0