pyqt_reactive.widgets.shared.config_tree_contracts

Nominal contracts used by configuration hierarchy tree widgets.

Classes

ConfigTreeFlashManager()

Full flash/dirty contract required by ConfigHierarchyTreeHelper.

ScopeColorSchemeHost()

Widget/window that owns a scope color scheme.

TreeFlashColorProvider()

Provides precomputed flash colors for config tree delegates.

class pyqt_reactive.widgets.shared.config_tree_contracts.ScopeColorSchemeHost[source]

Widget/window that owns a scope color scheme.

class pyqt_reactive.widgets.shared.config_tree_contracts.TreeFlashColorProvider[source]

Provides precomputed flash colors for config tree delegates.

abstractmethod get_flash_color_for_key(key: str) QColor | None[source]

Return the current flash color for a scoped key.

class pyqt_reactive.widgets.shared.config_tree_contracts.ConfigTreeFlashManager[source]

Full flash/dirty contract required by ConfigHierarchyTreeHelper.

abstractmethod register_flash_tree_item(key: str, tree: QTreeWidget, get_index: Callable[[], Any]) None[source]

Register a tree item with the flash coordinator.

abstractmethod update_groupbox_dirty_markers(dirty_prefixes: set[str], sig_diff_prefixes: set[str]) None[source]

Synchronize groupbox dirty markers with tree dirty state.