PositionTable¶
Example¶
API¶
Bases: DataTableWidget
Table to edit a list of stage positions (useq.Position).
valueChanged
¶
Emitted (with no arguments) when the table changes; read it with value().
value
¶
Return the current value of the table as a tuple of useq.Position.
Note that exclude_hidden_cols has the result of:
- excluding the Z position in each of the Positions if
include_z.isChecked() is False
- excluding the AF offset in each of the Positions if
af_per_position.isChecked() is False
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
exclude_unchecked
|
bool
|
Exclude unchecked rows, by default True |
True
|
exclude_hidden_cols
|
bool
|
Exclude hidden columns, by default True |
True
|
Returns:
| Type | Description |
|---|---|
tuple[Position, ...]
|
A tuple of |
setValue
¶
Set the current value of the table from a Sequence of useq.Position.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
Sequence[Position]
|
A Sequence of |
required |
load
¶
Load positions from a JSON file and set the table value.

