uos_activpal.gui.base.BaseDialog¶
-
class
uos_activpal.gui.base.BaseDialog(parent=None)[source]¶ A QDialog subclass which includes additional setup, mainly styling.
See also
BaseMessageDialog- A BaseDialog subclass desiged for displaying messages.
BaseQuestionDialog- A BaseDialog subclass desiged for asking binary (yes | no) questions.
-
__init__(parent=None)[source]¶ Create an instance of a BaseDialog.
Parameters: parent (object) – The parent object.
Methods
__init__([parent])Create an instance of a BaseDialog. centerOnScreen()Centers the window on the screen. controlbar_addWidget(widget)Add a widget to the controlbar. left_button_action()Define the left button action. main_space_addWidget(widget)Add a widget to the main space. right_button_action()Define the right button action. Attributes
base_geometry(left, top, width, height) – The default window geometry.