spacr.qt.starplast¶
Install Starplast separately, then launch and monitor its desktop process.
Classes¶
Explain the alpha app and download size before installing in its own environment. |
|
Check PyPI off the GUI thread, allowing a cancelled check to open the installed app. |
Functions¶
|
Check for updates on every open and offer pip upgrades before launching. |
Module Contents¶
- class spacr.qt.starplast.StarplastInstallDialog(parent=None, *, root=None, job=None, upgrade=False)[source]¶
Bases:
PySide6.QtWidgets.QDialogExplain the alpha app and download size before installing in its own environment.
- Parameters:
parent – owning organism page.
root – optional external-application root.
job – optional installer substitute for tests.
Build the consent and progress controls; opening the dialog installs nothing.
- class spacr.qt.starplast.StarplastUpdateCheckDialog(parent=None, *, root=None)[source]¶
Bases:
PySide6.QtWidgets.QDialogCheck PyPI off the GUI thread, allowing a cancelled check to open the installed app.
Prepare an automatic, read-only update check.
- spacr.qt.starplast.open_starplast(parent=None, *, root=None)[source]¶
Check for updates on every open and offer pip upgrades before launching.
- Parameters:
parent – organism page requesting the launch.
root – optional external-application folder.
- Returns:
child process, or None if cancelled or launch failed.
Nested helpers¶
- StarplastUpdateCheckDialog.__init__.check(_source, *, root, cancel, progress)¶
Store the comparison until the worker’s finished signal arrives.
spacr/qt/starplast.py:227
- open_starplast.check()¶
Reap the detached child and show failures without closing Starplast on spaCR exit.
spacr/qt/starplast.py:309