pyqt_reactive.services.widget_tree_projection_config

Lightweight widget-tree projection policy shared by window managers.

Classes

WidgetNodeIdentity(path, path_id, ...)

Stable widget identity fields shared by projector and transport DTOs.

WidgetTextProjection(value, truncated)

Bounded text projection with explicit truncation state.

WidgetTreeProjectionControls(*[, ...])

Projection controls that do not require importing Qt widget classes.

WidgetTreeProjectionPolicy(*[, ...])

Concrete projection policy used by Qt widget tree projectors.

class pyqt_reactive.services.widget_tree_projection_config.WidgetTextProjection(value: str, truncated: bool)[source]

Bounded text projection with explicit truncation state.

value: str
truncated: bool
__init__(value: str, truncated: bool) None
class pyqt_reactive.services.widget_tree_projection_config.WidgetNodeIdentity(path: tuple[int, ...], path_id: str, child_index: int | None, class_name: str, object_name: str, accessible_name: str, accessible_description: str)[source]

Stable widget identity fields shared by projector and transport DTOs.

path: tuple[int, ...]
path_id: str
child_index: int | None
class_name: str
object_name: str
accessible_name: str
accessible_description: str
__init__(path: tuple[int, ...], path_id: str, child_index: int | None, class_name: str, object_name: str, accessible_name: str, accessible_description: str) None
class pyqt_reactive.services.widget_tree_projection_config.WidgetTreeProjectionControls(*, maximum_text_length: int = 4096, maximum_item_model_nodes: int | None = 512, truncation_suffix: str = '...<truncated>')[source]

Projection controls that do not require importing Qt widget classes.

maximum_text_length: int = 4096
maximum_item_model_nodes: int | None = 512
truncation_suffix: str = '...<truncated>'
classmethod default_maximum_text_length() int[source]
classmethod default_maximum_item_model_nodes() int[source]
classmethod default_truncation_suffix() str[source]
project_text(text: str) WidgetTextProjection[source]
as_projection_policy() WidgetTreeProjectionPolicy[source]
__init__(*, maximum_text_length: int = 4096, maximum_item_model_nodes: int | None = 512, truncation_suffix: str = '...<truncated>') None
class pyqt_reactive.services.widget_tree_projection_config.WidgetTreeProjectionPolicy(*, maximum_text_length: int = 4096, maximum_item_model_nodes: int | None = 512, truncation_suffix: str = '...<truncated>')[source]

Concrete projection policy used by Qt widget tree projectors.

maximum_text_length: int
maximum_item_model_nodes: int | None
truncation_suffix: str
__init__(*, maximum_text_length: int = 4096, maximum_item_model_nodes: int | None = 512, truncation_suffix: str = '...<truncated>') None