MainWindow#
- class lsst.ts.m2gui.MainWindow(is_output_log_to_file: bool, is_output_log_on_screen: bool, is_simulation_mode: bool, is_crio_simulator: bool = False, log: Logger | None = None, log_level: int = 30)#
Bases:
QMainWindowMain window of the application.
Parameters#
- is_output_log_to_file
bool Is outputting the log messages to file or not.
- is_output_log_on_screen
bool Is outputting the log messages on screen or not.
- is_simulation_mode:
bool Is the simulation mode or not.
- is_crio_simulator
bool, optional Is using the M2 cRIO simulator or not. (the default is False)
- log
logging.Loggeror None, optional A logger. If None, a logger will be instantiated. (the default is None)
- log_level
int, optional Logging level. (the default is
logging.WARN)
Attributes#
- log
logging.Logger A logger.
- model
Model Model class.
Attributes Summary
Attributes Documentation
- staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": Methods: #39 type=Slot, signature=_callback_exit() #40 type=Slot, signature=_callback_connect() #41 type=Slot, signature=_callback_disconnect() #42 type=Slot, signature=_callback_settings() )#
- is_output_log_to_file