IntroDialog

class IntroDialog(parent: Optional[QWidget] = None, current_step: str = ‘MainView’)

Bases: QDialog

Welcome dialog to start the Poriscope walkthrough tutorial.

start_walkthrough: Signal

Signal emitted when the user starts the walkthrough.

param parent:

Parent widget, typically the main window.

type parent:

Optional[QWidget]

param current_step:

Identifier for the current step (used to customize intro).

type current_step:

str

Public Methods

IntroDialog.emit_start() None

Emit the signal to start the walkthrough and close the dialog.

IntroDialog.paintEvent(event: QPaintEvent) None

Paint a semi-transparent dark background behind the intro dialog.

Parameters:

event (QPaintEvent) – The paint event.

Private Methods

IntroDialog.__init__(parent: QWidget | None = None, current_step: str = 'MainView') None