spacr.qt.widgets.setup_dialog¶
Present optional application preferences on the first spaCR launch.
Questions are grouped by purpose and initialized with functional defaults, so the dialog can be dismissed without additional configuration. The blurred background is decorative; all controls remain available when the platform cannot render it.
Classes¶
Collect optional first-run preferences. |
Functions¶
|
Open the first-run setup dialog when required. |
Module Contents¶
- class spacr.qt.widgets.setup_dialog.SetupDialog(parent: PySide6.QtWidgets.QWidget | None = None)[source]¶
Bases:
PySide6.QtWidgets.QDialogCollect optional first-run preferences.
Build the first-run setup dialog.
- Parameters:
parent – parent widget, or
None; also where the backdrop behind the card is taken from.
- spacr.qt.widgets.setup_dialog.open_setup_if_needed(parent=None) SetupDialog | None[source]¶
Open the first-run setup dialog when required.
- Parameters:
parent (QWidget, optional) – Parent application window.
- Returns:
SetupDialog or None – Executed dialog, or
Nonewhen setup has already been completed for the current version.