LiveButton¶
Example¶
API¶
Bases: QPushButton
Button that starts and stops live mode.
When pressed, a continuous sequence acquisition is started or stopped
and a pymmcore-plus signal
continuousSequenceAcquisitionStarted
or
sequenceAcquisitionStopped
is emitted.
See the ImagePreview example for this
widget combined with an image preview and other controls.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parent
|
QWidget | None
|
Optional parent widget. |
None
|
mmcore
|
CMMCorePlus | None
|
Optional |
None
|
button_text_on
property
writable
¶
button_text_on: str
Set the live button text for when live mode is on.
Default = "Live."
button_text_off
property
writable
¶
button_text_off: str
Set the live button text for when live mode is off.
Default = "Stop."
icon_color_on
property
writable
¶
Set the live button color for when live mode is on.
Default = (0. 255, 0).
icon_color_off
property
writable
¶
Set the live button color for when live mode is off.
Default = "magenta".

