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 ObjectState-backed 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 ObjectState-backed delegates.

abstractmethod get_flash_color_for_object_state_path(object_state_path: str) QColor | None[source]

Return the current flash color for a delegate-painted ObjectState row.

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.

abstractmethod register_repaint_callback(callback: Callable[[], None]) None[source]

Register a repaint callback used during flash animation.