@@ -65,18 +65,19 @@ def __init__(
6565 export_formats : dict [str , str ],
6666 initial_dir : Path = Path .home (),
6767 ) -> None :
68- """Initialise the dialog.
68+ """Initialize the export counts dialog.
6969
7070 Args:
71- resource_manager: The resource manager for localised labels.
72- viewmodel: The application view model.
73- start: Start datetime for the count window (may be None).
74- end: End datetime for the count window (may be None).
75- default_format: The format name selected by default.
76- modes: Counting modes to include in the produced specification.
77- export_formats: Mapping of format name to file extension.
78- initial_dir: Initial directory, used if no save-path suggestion
79- is available.
71+ resource_manager (ResourceManager): The resource manager for localization
72+ viewmodel (ViewModel): The view model
73+ start (datetime | None): The start datetime
74+ end (datetime | None): The end datetime
75+ default_format (str): The default export format
76+ modes (list): The available export modes
77+ export_formats (dict[str, str]): A dictionary mapping format names to file
78+ extensions
79+ initial_dir (Path): The initial directory for file selection, defaults to
80+ user's home directory
8081 """
8182 super ().__init__ (resource_manager )
8283 self ._viewmodel = viewmodel
0 commit comments