spacr.qt.screens

Screen widgets — one per spacr app.

No screen is imported here. This package is on the import path of every screen the window builds, so a screen imported here would be imported, with pandas and its other dependencies, before the window is drawn.

A registry row does not require importing its screen. spacr.qt.app_catalog declares the key, the name, the sentence, the section, the stage and the name of the screen factory, and spacr.qt.app_catalog.register_declared() registers all of that without importing anything; the screen is imported the first time somebody opens it. A screen that contributes a stylesheet block registers it at that import, and MainWindow applies missing registered blocks to the new screen’s own QSS scope before inserting it into the visible stack. spacr.qt.theme.WIDGET_QSS_MODULES remains the inventory used when an exhaustive/static stylesheet is explicitly requested.

So: to add a screen, declare its row in app_catalog and — if it registers a QSS block — name it in WIDGET_QSS_MODULES so exhaustive sheets remain complete. Do not import it here merely for startup styling.

Submodules