spacr.qt.iconset
Central icon lookup for the spacr Qt GUI.
Wraps qtawesome so callers stay decoupled from Font Awesome glyph names, and returns a placeholder QIcon() if qtawesome isn’t installed so the UI still renders (with text-only buttons).
Module Contents
- spacr.qt.iconset.icon(name: str, color: str | None = None, size: int = 16) PySide6.QtGui.QIcon[source]
Return a QIcon for the named glyph, or an empty QIcon fallback.
name is a semantic key (e.g. “open”, “run”, “brush”) mapped to a Font Awesome glyph. Unknown names fall back to a puzzle piece.