SidebarWindow module

class SidebarWindow[source]

Bases: PyQt5.QtWidgets.QMainWindow

close_application()[source]
switch_stack(btn)[source]
centerOnScreen()[source]

centerOnScreen() - Centers the window on the screen.

addSubWindow(name, widget, btn_fct=None)[source]

add a new sub window to the stack including the coresponding button

eventFilter(obj, event)[source]

Event Filter to disable ‘Esc’-Key in a Widgets. To install eventFilter on a Widget:

widget.installEventFilter(instance_of_main_window)