SnapButton¶
Example¶
API¶
Bases: QPushButton
Button that snaps an image with the current camera.
Clicking it calls CMMCorePlus.snap in a
separate thread (so the GUI stays responsive), which emits the
imageSnapped event. If live mode
is running, it is stopped first.
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
|
Referenced by:

