From dc733cfc232bbdb541499fd31a0f89ce2e2f5072 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 21 Nov 2025 12:45:39 +0300 Subject: [PATCH] Update dependencies and icons; remove unused icons - Updated Python version requirement in `pyproject.toml` to allow any version from 3.9 onwards. - Modified dependencies for `lxml` and `pyQt6` to allow newer versions. - Replaced several SVG icons with larger versions and updated their designs for better visual consistency. - Removed unused icons: `trash-alt.svg` and `undo.svg`. - Updated the `reset_icon` in `text_floating_menu.py` to use `clear.svg` instead of `undo.svg`. --- beeref/assets/icons/clear.svg | 4 ++++ beeref/assets/icons/close.svg | 6 +++--- beeref/assets/icons/crop.svg | 4 ++-- beeref/assets/icons/draw-line.svg | 3 ++- beeref/assets/icons/flip_h.svg | 5 +++-- beeref/assets/icons/flip_v.svg | 5 +++-- beeref/assets/icons/frames.svg | 6 ++++-- beeref/assets/icons/gamut.svg | 13 +++++++++++-- beeref/assets/icons/grayscale.svg | 26 ++++++++++++++++++------- beeref/assets/icons/line-arrow-both.svg | 5 ++--- beeref/assets/icons/line-arrow-left.svg | 4 ++-- beeref/assets/icons/line-arrow.svg | 4 ++-- beeref/assets/icons/line-dashed.svg | 6 ++---- beeref/assets/icons/line-solid.svg | 4 ++-- beeref/assets/icons/next-frame.svg | 5 +++-- beeref/assets/icons/opacity.svg | 5 +++-- beeref/assets/icons/palette.svg | 17 ++++++++++++++-- beeref/assets/icons/pause.svg | 5 +++-- beeref/assets/icons/play.svg | 4 ++-- beeref/assets/icons/prev-frame.svg | 5 +++-- beeref/assets/icons/trash-alt.svg | 3 --- beeref/assets/icons/undo.svg | 3 --- beeref/widgets/text_floating_menu.py | 2 +- pyproject.toml | 8 ++++---- 24 files changed, 95 insertions(+), 57 deletions(-) create mode 100644 beeref/assets/icons/clear.svg delete mode 100644 beeref/assets/icons/trash-alt.svg delete mode 100644 beeref/assets/icons/undo.svg diff --git a/beeref/assets/icons/clear.svg b/beeref/assets/icons/clear.svg new file mode 100644 index 0000000..aba010f --- /dev/null +++ b/beeref/assets/icons/clear.svg @@ -0,0 +1,4 @@ + + + + diff --git a/beeref/assets/icons/close.svg b/beeref/assets/icons/close.svg index ad0c27f..86eef0c 100644 --- a/beeref/assets/icons/close.svg +++ b/beeref/assets/icons/close.svg @@ -1,4 +1,4 @@ - - + + + - diff --git a/beeref/assets/icons/crop.svg b/beeref/assets/icons/crop.svg index 2b00313..305202e 100644 --- a/beeref/assets/icons/crop.svg +++ b/beeref/assets/icons/crop.svg @@ -1,3 +1,3 @@ - - + + diff --git a/beeref/assets/icons/draw-line.svg b/beeref/assets/icons/draw-line.svg index a1f6d8d..c97fe4e 100644 --- a/beeref/assets/icons/draw-line.svg +++ b/beeref/assets/icons/draw-line.svg @@ -1,3 +1,4 @@ - + + diff --git a/beeref/assets/icons/flip_h.svg b/beeref/assets/icons/flip_h.svg index e5688f3..bab7acb 100644 --- a/beeref/assets/icons/flip_h.svg +++ b/beeref/assets/icons/flip_h.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/flip_v.svg b/beeref/assets/icons/flip_v.svg index fd3e332..48c1963 100644 --- a/beeref/assets/icons/flip_v.svg +++ b/beeref/assets/icons/flip_v.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/frames.svg b/beeref/assets/icons/frames.svg index 5db745e..b18001d 100644 --- a/beeref/assets/icons/frames.svg +++ b/beeref/assets/icons/frames.svg @@ -1,3 +1,5 @@ - - + + + + diff --git a/beeref/assets/icons/gamut.svg b/beeref/assets/icons/gamut.svg index 3383273..4877ecb 100644 --- a/beeref/assets/icons/gamut.svg +++ b/beeref/assets/icons/gamut.svg @@ -1,3 +1,12 @@ - - + + + + + + + + + + + diff --git a/beeref/assets/icons/grayscale.svg b/beeref/assets/icons/grayscale.svg index 2fbc692..eb393e2 100644 --- a/beeref/assets/icons/grayscale.svg +++ b/beeref/assets/icons/grayscale.svg @@ -1,8 +1,20 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/beeref/assets/icons/line-arrow-both.svg b/beeref/assets/icons/line-arrow-both.svg index 3557e1d..9ac12c0 100644 --- a/beeref/assets/icons/line-arrow-both.svg +++ b/beeref/assets/icons/line-arrow-both.svg @@ -1,4 +1,3 @@ - - - + + diff --git a/beeref/assets/icons/line-arrow-left.svg b/beeref/assets/icons/line-arrow-left.svg index 278850f..56b40b6 100644 --- a/beeref/assets/icons/line-arrow-left.svg +++ b/beeref/assets/icons/line-arrow-left.svg @@ -1,3 +1,3 @@ - - + + diff --git a/beeref/assets/icons/line-arrow.svg b/beeref/assets/icons/line-arrow.svg index 59e5350..ef43b35 100644 --- a/beeref/assets/icons/line-arrow.svg +++ b/beeref/assets/icons/line-arrow.svg @@ -1,3 +1,3 @@ - - + + diff --git a/beeref/assets/icons/line-dashed.svg b/beeref/assets/icons/line-dashed.svg index cc0c2b3..e5ce7ad 100644 --- a/beeref/assets/icons/line-dashed.svg +++ b/beeref/assets/icons/line-dashed.svg @@ -1,5 +1,3 @@ - - - - + + diff --git a/beeref/assets/icons/line-solid.svg b/beeref/assets/icons/line-solid.svg index 853d485..4dec234 100644 --- a/beeref/assets/icons/line-solid.svg +++ b/beeref/assets/icons/line-solid.svg @@ -1,3 +1,3 @@ - - + + diff --git a/beeref/assets/icons/next-frame.svg b/beeref/assets/icons/next-frame.svg index f9ee17c..ed9ba6b 100644 --- a/beeref/assets/icons/next-frame.svg +++ b/beeref/assets/icons/next-frame.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/opacity.svg b/beeref/assets/icons/opacity.svg index a910fc4..544905b 100644 --- a/beeref/assets/icons/opacity.svg +++ b/beeref/assets/icons/opacity.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/palette.svg b/beeref/assets/icons/palette.svg index 9538b21..ac3a184 100644 --- a/beeref/assets/icons/palette.svg +++ b/beeref/assets/icons/palette.svg @@ -1,3 +1,16 @@ - - + + + + + + + + + + + + + + + diff --git a/beeref/assets/icons/pause.svg b/beeref/assets/icons/pause.svg index 786bf5b..cb24185 100644 --- a/beeref/assets/icons/pause.svg +++ b/beeref/assets/icons/pause.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/play.svg b/beeref/assets/icons/play.svg index b87b2c6..4c58fed 100644 --- a/beeref/assets/icons/play.svg +++ b/beeref/assets/icons/play.svg @@ -1,3 +1,3 @@ - - + + diff --git a/beeref/assets/icons/prev-frame.svg b/beeref/assets/icons/prev-frame.svg index 0d45e98..d39a978 100644 --- a/beeref/assets/icons/prev-frame.svg +++ b/beeref/assets/icons/prev-frame.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/beeref/assets/icons/trash-alt.svg b/beeref/assets/icons/trash-alt.svg deleted file mode 100644 index ed1423a..0000000 --- a/beeref/assets/icons/trash-alt.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/beeref/assets/icons/undo.svg b/beeref/assets/icons/undo.svg deleted file mode 100644 index b8da845..0000000 --- a/beeref/assets/icons/undo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/beeref/widgets/text_floating_menu.py b/beeref/widgets/text_floating_menu.py index d6c9c47..9b7d536 100644 --- a/beeref/widgets/text_floating_menu.py +++ b/beeref/widgets/text_floating_menu.py @@ -31,7 +31,7 @@ class TextFloatingMenu(FloatingMenu): italic_icon = QtGui.QIcon(str(icons_path.joinpath('format-italic.svg'))) underline_icon = QtGui.QIcon(str(icons_path.joinpath('format-underline.svg'))) strikethrough_icon = QtGui.QIcon(str(icons_path.joinpath('format-strikethrough.svg'))) - reset_icon = QtGui.QIcon(str(icons_path.joinpath('undo.svg'))) + reset_icon = QtGui.QIcon(str(icons_path.joinpath('clear.svg'))) fonts_icon = QtGui.QIcon(str(icons_path.joinpath('fonts.svg'))) self.text_color_btn = self.add_button( diff --git a/pyproject.toml b/pyproject.toml index f60a2af..3140931 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,12 +17,12 @@ license = {file = "LICENSE"} authors = [ { name = "Rebecca Breu", email = "rebecca@rbreu.de" }, ] -requires-python = ">=3.9,<3.13" +requires-python = ">=3.9" dependencies = [ "exif>=1.3.5,<=1.6.0", - "lxml==5.1.0", - "pyQt6-Qt6>=6.7.0,<=6.7.0", - "pyQt6>=6.7.0,<=6.7.0", + "lxml>=5.1.0", + "pyQt6-Qt6>=6.10.0", + "pyQt6>=6.10.0", "rectangle-packer>=2.0.1,<=2.0.2", ]