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.widgets.dot_link¶

Shared custom-painted documentation-dot button.

Classes¶

DotLink

Small circular link with a generous, accessible hit area.

Module Contents¶

class spacr.qt.widgets.dot_link.DotLink(*, tooltip: str, colours: Tuple[str, str, str, str], accessible_description: str, parent=None)[source]¶

Bases: PySide6.QtWidgets.QToolButton

Small circular link with a generous, accessible hit area.

The dot painted is 7 px, which is far below any usable hit target, so the BUTTON is sized for the pointer and only its painting is small.

NOTHING IN THE APPLICATION CONSTRUCTS ONE, and that is deliberate rather than an oversight: the information dots were taken off the settings surfaces, and several tests asserting they stayed off do it by looking for this type. The class is the sentinel those tests need, so it is kept and not wired up.

Parameters:
  • tooltip – the hover text. Also used as the accessible NAME, since a dot has no label a screen reader could otherwise announce.

  • colours – the four states to paint, as (normal, hover, pressed, disabled).

  • accessible_description – what the link does, for a screen reader – the longer form of tooltip.

  • parent – parent widget.

Build a small coloured dot that acts as a link.

Parameters:
  • tooltip – hover text.

  • colours – the four states, as (rest, hover, pressed, disabled).

  • accessible_description – what the dot is, for assistive technology – the mark itself says nothing readable.

  • parent – parent widget, or None.

paintEvent(_event) → None[source]¶

Paint only the state-coloured dot, never a platform icon.

Parameters:

_event – the paint event; unused, since the dot is redrawn whole from the button’s enabled, pressed and hover state.

Copyright © 2025-2026, Einar Birnir Olafsson
Made with Sphinx and @pradyunsg's Furo
On this page
  • spacr.qt.widgets.dot_link
    • Classes
    • Module Contents
      • DotLink
        • DotLink.paintEvent()