TimePlanWidget¶
Example¶
API¶
Bases: DataTableWidget
Table to edit a time plan (useq.AnyTimePlan), one row per phase.
Referenced by:
Returned by:
valueChanged
¶
Emitted (with no arguments) when the table changes; read it with value().
value
¶
value(
exclude_unchecked: bool = True,
) -> MultiPhaseTimePlan | TIntervalLoops | TIntervalDuration
Return the current value of the table as a useq.AnyTimePlan.
Returns:
| Type | Description |
|---|---|
MultiPhaseTimePlan | TIntervalLoops | TIntervalDuration
|
The current time plan ( |
setValue
¶
setValue(value: Any) -> None
Set the current value of the table from a time plan (useq.AnyTimePlan).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
MultiPhaseTimePlan | TIntervalLoops | TDurationLoops | TIntervalDuration | None
|
The
time plan ( |
required |

