uos_activpal.gui.base.BaseSubWindow

class uos_activpal.gui.base.BaseSubWindow(parent=None)[source]

A BaseMainWindow subclass desiged for creating additional windows.

See also

BaseDialog
A QDialog subclass which includes additional setup, mainly styling.
__init__(parent=None)[source]

Create an instance of a BaseSubWindow.

Parameters:parent (object) – The parent object.

Methods

__init__([parent]) Create an instance of a BaseSubWindow.
centerOnScreen() Centers the window on the screen.
closeEvent(*args, **kwargs) Close the window.
left_button_action() Define the left button action.
right_button_action() Define the right button action.

Attributes

base_geometry (left, top, width, height) – The default window geometry.