spaCR nightly · Main documentation · Nightly preview
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
spaCR 1.5.1.4 documentation
Logo
spaCR 1.5.1.4 documentation
  • Installer guide
  • System requirements
  • Choose a workflow after installation
  • Combine measurement tables for plots and gates
  • Installer archive
  • Capabilities
  • Keyboard shortcuts and settings templates
  • Make Masks: editing, detection and measurement
  • Measure: preview checked images and verify mask planes
  • Train a Cellpose model
  • Process images with a point-spread function
  • Recruitment: compartment ratios and channel identity
  • Image quality before segmentation
  • Host–Pathogen Analysis
  • Plaque Assay: fields, figures and reviewed conditions
  • Python API quickstart
  • Export measurements to AnnData
  • Where a setting goes
  • Model zoo
  • Language
  • Setting animation gallery
  • Checkpoint and resume
  • Reproducibility manifests
  • Unified run history
  • Plate and batch-effect correction
  • Classifier evaluation workbench
  • Plate-aware guide permutation analysis
  • Explain CV models and investigate hits
  • Resumable multi-objective UMAP search
  • Remote and distributed execution
  • spaCR plugin SDK
  • Train/test leakage audit
  • Threading and cancellation audit
  • Database concurrency audit
  • API reference
    • spacr
      • spacr.api
      • spacr.core
      • spacr.measure
      • spacr.deep_spacr
      • spacr.sequencing
      • spacr.ml
      • spacr.artifacts
      • spacr.settings
Back to top
View this page
Edit this page

spacr.qt.install_consent¶

Apply privacy and account choices collected by desktop installation.

Classes¶

InstallerConsentDialog

One first-launch page whose three optional choices start off.

Functions¶

apply_choices(→ bool)

Persist choices and return whether account setup was requested.

maybe_show_installer_consent(→ bool)

Apply installer choices once, asking in-app if no page was shown.

Module Contents¶

class spacr.qt.install_consent.InstallerConsentDialog(parent=None)[source]¶

Bases: PySide6.QtWidgets.QDialog

One first-launch page whose three optional choices start off.

Parameters:

parent – parent widget.

Build the privacy and optional-account dialog.

Sized in scaled pixels rather than raw ones: a size set from Python does not grow with the stylesheet’s font size, and at the 200% scale the prose inside wrapped to more height than the window had.

Parameters:

parent – parent widget, or None.

choices() → dict[str, bool][source]¶

Return the three explicit checkbox states.

spacr.qt.install_consent.apply_choices(choices: Mapping[str, Any]) → bool[source]¶

Persist choices and return whether account setup was requested.

Parameters:

choices – the consent answers, read by the keys share_diagnostics, report_issues and sign_in_now; a missing or unrecognised value counts as no.

spacr.qt.install_consent.maybe_show_installer_consent(parent) → bool[source]¶

Apply installer choices once, asking in-app if no page was shown.

Parameters:

parent – the widget that parents the in-app consent dialog and, if sign-in was chosen, the account setup dialog.

Returns:

True when an installer profile was handled this call.

Copyright © 2025-2026, Einar Birnir Olafsson
Made with Sphinx and @pradyunsg's Furo
On this page
  • spacr.qt.install_consent
    • Classes
    • Functions
    • Module Contents
      • InstallerConsentDialog
        • InstallerConsentDialog.choices()
      • apply_choices()
      • maybe_show_installer_consent()