sec_interp.gui.ui.pages.settings.symbology_units module

Per-unit editor section for the Symbology settings tab.

Kept separate from symbology_tab so that module stays within the size gate. The mixin relies on the host widget providing tr, changed and _collapsible_group.

class sec_interp.gui.ui.pages.settings.symbology_units.UnitsEditorMixin

Bases: object

Build and manage the editable color/hide/rename/reorder unit rows.

connect_unit_signals() → None

Connect the per-unit reset button.

refresh_units(force: bool = False) → None

Rebuild the unit rows when the underlying units change.

reset_units() → None

Clear all per-unit customization.

set_unit_manager(manager: Any) → None

Inject the ColorManager that backs the per-unit editor.