rayoptics.qtgui.rayopticsapp module
Ray Optics GUI Application
Relies on PyQt5
- class MainWindow(parent=None, qtapp=None)[source]
Bases:
QMainWindow
- count = 0
- light_or_dark(is_dark)[source]
set the UI to a light or dark scheme.
Qt doesn’t seem to support controlling the MdiArea’s background from a style sheet. Set the widget directly and save the original color to reset defaults.