vdat.gui.tasks
– Reduction steps and buttons¶
-
class
vdat.gui.tasks.
VDATStack
(cls, parent=None, name='tasks_stack')[source]¶ Bases:
PyQt5.QtWidgets.QStackedWidget
Parent widget containing the buttons to run the reduction steps
Parameters: - parent :
QtWidget
instance The QtWidget that the menu is attached to
- name : string
name of the widget
- parent :
-
class
vdat.gui.tasks.
VDATTaskStack
(parent=None, name='tasks_stack')[source]¶ Bases:
vdat.gui.tasks.VDATStack
Parent widget containing the buttons to run the reduction steps
Parameters: - parent :
QtWidget
instance The QtWidget that the menu is attached to
- name : string
name of the widget
-
sig_taskChanged
¶
-
sig_runCommand
¶
- parent :
-
class
vdat.gui.tasks.
VDATButtonStack
(parent=None, name='tasks_stack')[source]¶ Bases:
vdat.gui.tasks.VDATStack
Parent widget containing the buttons to run the reduction steps
Parameters: - parent :
QtWidget
instance The QtWidget that the menu is attached to
- name : string
name of the widget
-
sig_runCommand
¶
- parent :
-
class
vdat.gui.tasks.
VDATTaskWidget
(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())[source]¶ Bases:
PyQt5.QtWidgets.QWidget
-
sig_selected
¶
-
sig_command
¶
-
add_task
(task_dict, tool_tip=None)[source]¶ Adds a button to the widget.
Parameters: - name : string
name of the button
- commands : list of strings, optional
strings defining the commands
- tool_tip : string, optional
text that appears as a tool tip when the user hovers their mouse over the button
-
add_stretch
(stretch=1)[source]¶ Add a stretch to the layout containing the buttons
Parameters: - stretch : int, optional
stretch factor
Slot to catch the the button pressed from the button group, and re-emit with updated information
-
-
class
vdat.gui.tasks.
VDATButtonWidget
(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())[source]¶ Bases:
PyQt5.QtWidgets.QWidget
-
sig_runCommand
¶
Adds a button to the widget.
Parameters: - name : string
name of the button
- commands : list of strings, optional
strings defining the commands
- tool_tip : string, optional
text that appears as a tool tip when the user hovers their mouse over the button
-