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: QMainWindow

Main window of the application.

Parameters#

is_output_log_to_filebool

Is outputting the log messages to file or not.

is_output_log_on_screenbool

Is outputting the log messages on screen or not.

is_simulation_mode: bool

Is the simulation mode or not.

is_crio_simulatorbool, optional

Is using the M2 cRIO simulator or not. (the default is False)

loglogging.Logger or None, optional

A logger. If None, a logger will be instantiated. (the default is None)

log_levelint, optional

Logging level. (the default is logging.WARN)

Attributes#

loglogging.Logger

A logger.

modelModel

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() )#