# sec_interp.gui.ui.sidebar module

Sidebar navigation widget.

class sec_interp.gui.ui.sidebar.Sidebar(*args: Any, **kwargs: Any)

  Bases: `QListWidget`

  Sidebar navigation widget.

  __init__(parent: Any = None) → None

    Initialize the sidebar widget.

    Parameters:

      parent – Optional parent widget.

  add_item(text: str, icon_name: str | None = None) → None

    Add an item to the sidebar.

    Parameters:

      - text (str) – Item label.

      - icon_name (str) – QGIS theme icon name (e.g. ‘mIconRaster.svg’).