enh(ui): add signal to notify if the next activity is ready
Description
The activity sequencer proposes a signal enabledNext(bool)
, which for me, would allow notifying when the next activity can be launched (its requirements are satisfied). This would be useful to enable/disable some widgets. However, this signal only informs that there is an activity in the sequencer after the current one, whatever its state. This might be interesting, but it is badly named imho.
Functional specifications
Rename the current signal and add a new one to know when the next activity is ready.
Technical specifications
- rename SSequencer signals
-
enabledNext()
-> hasNext() -
enabledPrevious()
-> hasPrevious()
-
- add a new signal that is triggered when the next activity is ready
nextEnabled()
Test plan
The existing signal is used in SightCalibrator, thus we should test it.