uos_activpal.gui.base.BaseMainWindow¶
-
class
uos_activpal.gui.base.
BaseMainWindow
(parent=None)[source]¶ A QMainWindow subclass which includes additional setup, mainly styling.
-
__init__
(parent=None)[source]¶ Create an instance of a BaseMainWindow.
Parameters: parent (object) – The parent object.
Methods
__init__
([parent])Create an instance of a BaseMainWindow. centerOnScreen
()Centers the window on the screen. Attributes
base_geometry
(left, top, width, height) – The default window geometry. -