SnapButton
SnapButton
#
Bases: QPushButton
Create a snap QPushButton.
This button is linked to the
CMMCorePlus.snap method.
Once the button is clicked, an image is acquired and the pymmcore-plus
signal imageSnapped is emitted.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parent
|
QWidget | None
|
Optional parent widget. |
None
|
mmcore
|
CMMCorePlus | None
|
Optional |
None
|
Examples:
Combining SnapButton with other widgets
see ImagePreview
Example#
| snap_button.py | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |