BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
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)
 

Protected Attributes

 _device = device
 

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

Member Data Documentation

◆ _device

microscope.gui.DeviceSettingsWidget._device = device
protected

Definition at line 67 of file gui.py.


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