32 using Action = std::function<void()>;
65 float _fixedProgress = 0.0f;
68 bool _useCallback =
false;
void onEnter() override
Override to perform actions on state entry.
float progress() const
Get the current progress value.
void progressChanged(float progress)
Emitted when the state is entered with the current progress value.
std::function< void()> Action
void setProgress(float progress)
Set a fixed progress value.
void setProgressCallback(ProgressCallback callback)
Set a progress callback.
std::function< float()> ProgressCallback
QString stateName() const