BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
microscope.gui.DeviceSettingsWidget Class Reference
Inheritance diagram for microscope.gui.DeviceSettingsWidget:

Public Member Functions

None __init__ (self, microscope.abc.Device device, *args, **kwargs)
 

Detailed Description

Table of device settings and its values.

This widget simply shows the available settings on the device and
their current value.  In the future it may add the possibility to
modify them.

Definition at line 56 of file gui.py.

Constructor & Destructor Documentation

◆ __init__()

None microscope.gui.DeviceSettingsWidget.__init__ (   self,
microscope.abc.Device  device,
args,
**  kwargs 
)

Definition at line 65 of file gui.py.

65 def __init__(self, device: microscope.abc.Device, *args, **kwargs) -> None:
66 super().__init__(*args, **kwargs)
67 self._device = device
68
69 layout = QtWidgets.QFormLayout(self)
70 for key, value in sorted(self._device.get_all_settings().items()):
71 layout.addRow(key, QtWidgets.QLabel(parent=self, text=str(value)))
72 self.setLayout(layout)
73
74

The documentation for this class was generated from the following file: