Added type annotations to various files within the mantidimaging/gui/windows directory to enhance type safety and improve code maintainability. These annotations ensure clearer function signatures and better compatibility with Python type checkers like mypy.
Testing
Type annotations do not introduce runtime errors.
Functionality across affected modules remains intact.
All affected code paths are adequately covered by existing unit tests.
Acceptance Criteria
No linting errors related to type annotations.
No type-related runtime errors occur during testing.
All affected code paths are adequately covered by existing tests.
Description
Added type annotations to various files within the mantidimaging/gui/windows directory to enhance type safety and improve code maintainability. These annotations ensure clearer function signatures and better compatibility with Python type checkers like mypy.
Testing
Type annotations do not introduce runtime errors. Functionality across affected modules remains intact. All affected code paths are adequately covered by existing unit tests.
Acceptance Criteria
No linting errors related to type annotations. No type-related runtime errors occur during testing. All affected code paths are adequately covered by existing tests.