60 QObjectList childrenList = this->children();
61 std::vector<WorkflowState*> retval;
62 for (
int i = 0; i < childrenList.size(); ++i)
66 retval.push_back(state);
103 if (
settings()->value(
"Automation/autoStartTracking").toBool())
105 if (
settings()->value(
"Automation/autoStartStreaming").toBool())
111 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