pyleecan.GUI.Tools.SidebarWindow module

class SidebarWindow[source]

Bases: 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)

closeEvent(event)[source]

Overload the methode to call DesignWidget.closeEvent

staticMetaObject = <PySide2.QtCore.QMetaObject object>