uos_activpal.gui.raw_marker.ConfidenceDialog¶
-
class
uos_activpal.gui.raw_marker.ConfidenceDialog(parent=None)[source]¶ A BaseQuestionDialog to request a confidence rating from the user.
See also
uos_activpal.gui.base.BaseDialog- A QDialog subclass which includes additional setup, mainly styling.
uos_activpal.gui.base.BaseMessageDialog- A BaseDialog subclass desiged for displaying messages.
uos_activpal.gui.base.BaseQuestionDialog- A BaseDialog subclass desiged for asking binary (yes | no) questions.
-
__init__(parent=None)[source]¶ Create an instance of a ConfidenceDialog.
Parameters: parent (object) – The parent object.
Methods
__init__([parent])Create an instance of a ConfidenceDialog. centerOnScreen()Centers the window on the screen. controlbar_addWidget(widget)Add a widget to the controlbar. get_confidence()Get the current confidence rating. 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. set_question(question)Set the question displayed by the dialog. Attributes
base_geometry(left, top, width, height) – The default window geometry.