16 using Action = std::function<void()>;
void setPredicate(Predicate predicate)
Set the predicate.
void setAction(Action action)
Set the action.
void skipped()
Emitted when the predicate returns false and the state is skipped.
std::function< void()> Action
std::function< bool()> Predicate
QString stateName() const