spacr.qt.screens.app_screen
AppScreen — the reusable layout every non-interactive spacr app uses.
- Structure (horizontal splitter):
┌───────────────────────┬─────────────────────────────┐ │ Settings (scrollable) │ Console (top) │ │ │ Usage bars | Run/Stop… │ │ QGroupBox sections │ Progress bar │ │ QFormLayout inside │ │ └───────────────────────┴─────────────────────────────┘
Module Contents
- class spacr.qt.screens.app_screen.AppScreen(app_key: str, parent=None)[source]
Bases:
PySide6.QtWidgets.QWidgetGeneric settings + runtime screen used by every non-interactive app.
Composes the settings model on the left with the console, usage bars, figures card, and actions row on the right.
- Parameters:
app_key – id of the app (see
APPSinspacr.qt.app).- Variables:
error_explain_requested – emitted with
(traceback, app_key)when the user clicks “Explain error”; MainWindow routes it to the AI Console for backward compatibility.