sknrf.view.desktop.base module

class sknrf.view.desktop.base.BusyFrame(parent, quit_signal, message='')

Bases: QFrame, Ui_busyFrame

set_message(message)
paintEvent(self, arg__1: PySide6.QtGui.QPaintEvent) None
staticMetaObject = PySide6.QtCore.QMetaObject("BusyFrame" inherits "QFrame": )
class sknrf.view.desktop.base.QtHandlerObject

Bases: QObject

new_record
staticMetaObject = PySide6.QtCore.QMetaObject("QtHandlerObject" inherits "QObject": Methods:   #5 type=Signal, signature=new_record(PyObject), parameters=PyObject )
class sknrf.view.desktop.base.QtHandler

Bases: Handler

A Python Logging Handler that transmits events to the Qt backend.

Python logging events are broadcast to the Qt backend by emitting a QtCore.Signal. The QtHandler is automatically initialized when sknrf Core is launched.

See also

sknrf.QtHandlerObject
emit(record)

Emits a QtCore.Signal that must be handled by a slot in the Qt backend.

sknrf.view.desktop.base.desktop_logger(logger)
sknrf.view.desktop.base.unhandled_exception(exc_type, exc_value, exc_traceback)

Catches all unhandled exceptions.

Unhandled exceptions are summarized inside a message box and the logger before exiting the application with status=1

Notes

If debug mode is enabled, the application will continue to run, but may perform unexpected behaviour.

sknrf.view.desktop.base.cleanup(form)