Commit Graph

8 Commits

Author SHA1 Message Date
03ab345e17 refactor(SplitView): Improve image rotation logic
Refactor the image rotation mechanism in the `SplitView` widget to prevent image quality degradation.

- The original reference pixmap is now stored in `self.original_ref_pixmap`.
- Rotations are always applied to the original, unmodified pixmap, using a cumulative rotation angle.
- This avoids sequential transformations that caused gradual quality loss.
- Also fixes indentation issues caused by previous automated replacements.
2025-10-14 08:41:47 +02:00
d62b367b47 refactor: Centralize resource path management
Create a new `settings.py` file to define and manage global application paths.

Modify UI components (`split_view_widget.py`, `view_settings_dialog.py`) to use the centralized `ICONS_DIR` path constant instead of hardcoded relative paths for icons. This improves maintainability and makes the application independent of the working directory.
2025-10-14 08:33:08 +02:00
2cc496a2b2 refactor: enhance SplitView to support image rotation and handle null pixmap in ZoomableImageView 2025-10-13 22:22:35 +02:00
feebc5153a refactor: update SplitView to use ViewWithOverlay for live and reference images 2025-10-13 05:17:59 +02:00
eb72b25fdb feat: add error label and update related methods in CameraPlaceholder 2025-10-12 10:28:53 +02:00
5b345e6641 feater: add camera buttons 2025-10-09 21:48:23 +02:00
d86a6429f7 feat: add split view functionality with image rotation and flipping controls 2025-09-27 19:14:42 +02:00
6acb690f16 add split view widget and integrate photo button functionality in main controller 2025-09-09 19:19:50 +02:00