trspectrometer.mainwindow module

class trspectrometer.mainwindow.MainWindow[source]

Bases: Ui_MainWindow, QMainWindow

closeEvent(event)[source]

Handler for window close event.

show_message

Signal to trigger a status bar message.

staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": Methods:   #40 type=Signal, signature=show_message(QString), parameters=QString )
trspectrometer.mainwindow.exception_handler(extype, value, tb)[source]

Global handler for exceptions. Not particularly smart, but stops crashes from minor recoverable errors. The exception details are sent to the log.

trspectrometer.mainwindow.main()[source]

Run the launcher application.