pyqt_reactive.protocols.form_config
Base configuration class for form generation.
Provides hooks for applications to customize form generation behavior.
Functions
Get the current form generation configuration. |
|
|
Set the global form generation configuration. |
Classes
|
Base configuration for form generation behavior. |
- class pyqt_reactive.protocols.form_config.FormGenConfig(enable_placeholder_styling: bool = True, enable_help_buttons: bool = True, enable_inheritance_tracking: bool = True, custom_widget_factories: Type, ~typing.Any]=<factory>, jedi_project_paths: List[str] = <factory>, log_dir: str | None = None, log_prefixes: List[str] = <factory>, log_root_logger_name: str | None = None, performance_logger_name: str = 'pyqt_reactive.performance', performance_log_filename: str = 'performance.log', path_cache_file: str | None = None)[source]
Base configuration for form generation behavior.
Applications can subclass this to provide custom configuration.
- custom_widget_factories
Custom widget factories by type
- Type:
Dict[Type, Any]
- __init__(enable_placeholder_styling: bool = True, enable_help_buttons: bool = True, enable_inheritance_tracking: bool = True, custom_widget_factories: Type, ~typing.Any]=<factory>, jedi_project_paths: List[str] = <factory>, log_dir: str | None = None, log_prefixes: List[str] = <factory>, log_root_logger_name: str | None = None, performance_logger_name: str = 'pyqt_reactive.performance', performance_log_filename: str = 'performance.log', path_cache_file: str | None = None) None
- pyqt_reactive.protocols.form_config.set_form_config(config: FormGenConfig) None[source]
Set the global form generation configuration.
- Parameters:
config – FormGenConfig instance
- pyqt_reactive.protocols.form_config.get_form_config() FormGenConfig[source]
Get the current form generation configuration.
- Returns:
Current FormGenConfig or default if not set