ShuttersWidget
ShuttersWidget
#
Bases: QWidget
A Widget to control shutters and Micro-Manager autoshutter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shutter_device
|
str
|
The shutter device Label. |
required |
autoshutter
|
bool
|
If True, a checkbox controlling the Micro-Manager autoshutter is added to the layout. |
True
|
button_text_open
|
str
|
Text shown on the button when the shutter is open. |
''
|
button_text_closed
|
str
|
Text shown on the button when the shutter is closed. |
''
|
icon_open
|
str
|
Iconify icon key for the open state. |
'mdi:hexagon-outline'
|
icon_closed
|
str
|
Iconify icon key for the closed state. |
'mdi:hexagon-slice-6'
|
icon_color_open
|
COLOR_TYPE
|
Icon color for the open state. |
'green'
|
icon_color_closed
|
COLOR_TYPE
|
Icon color for the closed state. |
'gray'
|
icon_size
|
int
|
Icon size in pixels. |
25
|
parent
|
QWidget | None
|
Optional parent widget. |
None
|
mmcore
|
CMMCorePlus | None
|
Optional CMMCorePlus micromanager core. |
None
|
Example#
| shutters_widget.py | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |