StepDialog¶
class StepDialog(parent: QWidget, steps: List[Tuple[str, str, Union[QWidget, List[QWidget]]]], overlay: ‘Overlay’)
Bases: QDialog
Dialog that guides the user through steps using popups and an overlay.
Public Methods¶
- StepDialog.moveEvent(event: QMoveEvent) None¶
Run the default handling, then notify the
on_movehook if one is set.- Parameters:
event (QMoveEvent) – The move event.
Private Methods¶
- StepDialog.__init__(parent: QWidget, steps: List[Tuple[str, str, QWidget | List[QWidget]]], overlay: Overlay) None¶
Initialize the step-by-step tutorial dialog.
- Parameters:
parent (QWidget) – Parent widget.
steps (List[Tuple[str, str, Union[QWidget, List[QWidget]]]]) – List of (title, message, widget) tuples representing each step. The third element may be a single widget or a list of widgets to highlight together.
overlay (Overlay) – Overlay widget to highlight target areas.