|
ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
|
Device (model) images come from enlighten/assets/uic_qrc/images/devices. More...
Public Member Functions | |
| __init__ (self) | |
| contains (self, name) | |
Public Attributes | |
| list | resources = [] |
Device (model) images come from enlighten/assets/uic_qrc/images/devices.
However, they also have to be listed in devices.qrc. They are then exposed through Qt through QtCore.QDirIterator.Subdirectories, which is iterated in this ctor.
The final image is updated in EEPROMEditor.update_from_spec, using a pathname generated by Spectrometer.get_image_pathname.
| enlighten.ui.ImageResources.ImageResources.__init__ | ( | self | ) |
| enlighten.ui.ImageResources.ImageResources.contains | ( | self, | |
| name ) |
| list enlighten.ui.ImageResources.ImageResources.resources = [] |