uos_activpal.gui.raw_marker.AnotherPointDialog¶
-
class
uos_activpal.gui.raw_marker.
AnotherPointDialog
(parent=None)[source]¶ A BaseQuestionDialog to ask if the user wants to mark another point in this file.
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 AnotherPointDialog.
Parameters: parent (object) – The parent object.
Methods
__init__
([parent])Create an instance of a AnotherPointDialog. 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. set_question
(question)Set the question displayed by the dialog. Attributes
base_geometry
(left, top, width, height) – The default window geometry.