pyqt_reactive.windows.help_window_manager
PyQt6 help system - reuses Textual TUI help logic and components.
Functions
|
Create compact wrapped help text labels. |
|
Return the display name for a documented function/class target. |
|
Choose a readable help-window width from rendered content volume. |
Choose a readable help-window width from parameter-help content. |
|
|
Return text length for an optional docstring section. |
|
Return approximate rendered text length for help-window sizing. |
Classes
|
Base class for all PyQt6 help windows - reuses Textual TUI help logic. |
|
Help window for functions and classes - reuses Textual TUI DocstringExtractor. |
PyQt6 help window manager - unified window for all help content. |
|
Mixin class to add help functionality to PyQt6 widgets - mirrors Textual TUI. |
|
|
Help window for one parameter or dataclass field. |
- pyqt_reactive.windows.help_window_manager.help_target_display_name(target: Callable | type) str[source]
Return the display name for a documented function/class target.
- pyqt_reactive.windows.help_window_manager.optional_text_length(value: str | None) int[source]
Return text length for an optional docstring section.
- pyqt_reactive.windows.help_window_manager.total_docstring_text_length(docstring_info) int[source]
Return approximate rendered text length for help-window sizing.
- pyqt_reactive.windows.help_window_manager.help_window_width_for_content(docstring_info) int[source]
Choose a readable help-window width from rendered content volume.
- pyqt_reactive.windows.help_window_manager.help_window_width_for_parameter_content(content: ParameterHelpContent) int[source]
Choose a readable help-window width from parameter-help content.
- class pyqt_reactive.windows.help_window_manager.BaseHelpWindow(title: str = 'Help', color_scheme: ColorScheme | None = None, parent=None)[source]
Base class for all PyQt6 help windows - reuses Textual TUI help logic.
- __init__(title: str = 'Help', color_scheme: ColorScheme | None = None, parent=None)[source]
- set_content_widget(content_widget: QWidget, target_width: int) None[source]
Install content and size the dialog to show available content.
- pyqt_reactive.windows.help_window_manager.help_content_label(text: str, *, color_scheme: ColorScheme, accent: bool = False, title: bool = False) QLabel[source]
Create compact wrapped help text labels.
- class pyqt_reactive.windows.help_window_manager.DocstringHelpWindow(target: Callable | type, title: str | None = None, color_scheme: ColorScheme | None = None, parent=None)[source]
Help window for functions and classes - reuses Textual TUI DocstringExtractor.
- __init__(target: Callable | type, title: str | None = None, color_scheme: ColorScheme | None = None, parent=None)[source]
- class pyqt_reactive.windows.help_window_manager.ParameterHelpWindow(content: ParameterHelpContent, title: str = 'Parameter', color_scheme: ColorScheme | None = None, parent=None)[source]
Help window for one parameter or dataclass field.
- __init__(content: ParameterHelpContent, title: str = 'Parameter', color_scheme: ColorScheme | None = None, parent=None)[source]
- set_parameter_content(content: ParameterHelpContent, *, title: str) None[source]
Replace displayed parameter content without changing renderer type.
- class pyqt_reactive.windows.help_window_manager.HelpWindowManager[source]
PyQt6 help window manager - unified window for all help content.