spacr.qt.parascape¶
Install ParaScape 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.parascape.ParaScapeInstallDialog(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.parascape.ParaScapeUpdateCheckDialog(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.parascape.open_parascape(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¶
- ParaScapeUpdateCheckDialog.__init__.check(_source, *, root, cancel, progress)¶
Store the comparison until the worker’s finished signal arrives.
spacr/qt/parascape.py:227
- open_parascape.check()¶
Reap the detached child and show failures without closing ParaScape on spaCR exit.
spacr/qt/parascape.py:309