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`.
This commit is contained in:
Dmitry 2025-11-21 12:45:39 +03:00
parent 8756529c13
commit dc733cfc23
24 changed files with 95 additions and 57 deletions

View file

@ -0,0 +1,4 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 4C21.5228 4 25.5 5.5 25.5 7C25.5 9 22 25 22 25C21.5 26.5 19.3137 27.5 16 27.5C12.6863 27.5 10.5 26.5 9.99999 25C9.99999 25 6.5 9 6.5 7C6.5 5.34315 10.4771 4 16 4Z" fill="white" fill-opacity="0.8"/>
<path d="M25 7C25 8.10457 20.9706 9 16 9C11.0294 9 7 8.10457 7 7C7 5.89543 11.0294 4.5 16 4.5C20.9706 4.5 25 5.89543 25 7Z" fill="black" fill-opacity="0.48"/>
</svg>

After

Width:  |  Height:  |  Size: 473 B

View file

@ -1,4 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.80762 25.1924L25.1924 6.80761" stroke="white" stroke-width="2" stroke-linecap="round"/>
<path d="M25.1924 25.1924L6.80761 6.80761" stroke="white" stroke-width="2" stroke-linecap="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 303 B

View file

@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.556 16C8.25 16 8 15.751 8 15.444V8H15.445C15.751 8 16 8.249 16 8.556V16H8.556ZM21 16H18V8.556C18 7.146 16.854 6 15.445 6H8V3C8 2.447 7.553 2 7 2C6.448 2 6 2.447 6 3V6H3C2.448 6 2 6.447 2 7C2 7.553 2.448 8 3 8H6V15.444C6 16.854 7.147 18 8.556 18H16V21C16 21.553 16.448 22 17 22C17.553 22 18 21.553 18 21V18H21C21.553 18 22 17.553 22 17C22 16.447 21.553 16 21 16Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 2C9.55228 2 10 2.44772 10 3V8H22C23.1046 8 24 8.89543 24 10V22H29C29.5523 22 30 22.4477 30 23C30 23.5523 29.5523 24 29 24H24V29C24 29.5523 23.5523 30 23 30C22.4477 30 22 29.5523 22 29V24H10C8.89543 24 8 23.1046 8 22V10H3C2.44772 10 2 9.55228 2 9C2 8.44772 2.44772 8 3 8H8V3C8 2.44772 8.44772 2 9 2ZM10 22H22V10H10V22Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 533 B

After

Width:  |  Height:  |  Size: 449 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9831 7.32291L6.36614 12.9399L6.10214 15.8959L9.07914 15.6249L14.6791 10.0189L11.9831 7.32291ZM17.9661 6.72891L15.2711 4.03491L13.3231 5.98291L16.0181 8.67891L17.9661 6.72891ZM5.09114 17.9959C5.06014 17.9989 5.03014 17.9999 5.00014 17.9999C4.73614 17.9999 4.48114 17.8959 4.29314 17.7069C4.08314 17.4969 3.97714 17.2049 4.00414 16.9099L4.38314 12.7389C4.42514 12.2819 4.62714 11.8509 4.95214 11.5259L13.9481 2.52891C14.6501 1.82491 15.9241 1.85991 16.6641 2.59891L19.4021 5.33691C20.1681 6.10391 20.1991 7.32091 19.4711 8.05091L10.4741 17.0479C10.1491 17.3739 9.71914 17.5749 9.26114 17.6169L5.09114 17.9959ZM5 20H19C19.55 20 20 20.45 20 21C20 21.55 19.55 22 19 22H5C4.45 22 4 21.55 4 21C4 20.45 4.45 20 5 20Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.09114 4.004C5.06014 4.001 5.03014 4 5.00014 4C4.73614 4 4.48114 4.104 4.29314 4.293C4.08314 4.503 3.97714 4.795 4.00414 5.09L4.38314 9.261C4.42514 9.718 4.62714 10.149 4.95214 10.474L13.9481 19.471C14.6501 20.175 15.9241 20.14 16.6641 19.401L19.4021 16.663C20.1681 15.896 20.1991 14.679 19.4711 13.949L10.4741 4.952C10.1491 4.626 9.71914 4.425 9.26114 4.383L5.09114 4.004Z" fill="white" stroke="black" stroke-width="2"/>
<path d="M12 17.5L17.5 12" stroke="black" stroke-width="2"/>
</svg>

Before

Width:  |  Height:  |  Size: 881 B

After

Width:  |  Height:  |  Size: 637 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17 7.99982H4C3.4 7.99982 3 7.59982 3 6.99982C3 6.39982 3.4 5.99982 4 5.99982H17.1L15.5 4.79982C15.1 4.49982 15 3.79982 15.3 3.39982C15.6 2.99982 16.3 2.89982 16.7 3.19982L20.6 6.19982C20.9 6.39982 21 6.69982 21 6.99982C21 7.29982 20.9 7.59982 20.6 7.79982L16.6 10.7998C16.4 10.8998 16.2 10.9998 16 10.9998C15.7 10.9998 15.4 10.8998 15.2 10.5998C14.9 10.1998 15 9.49982 15.4 9.19982L17 7.99982ZM7 14.9998H20C20.6 14.9998 21 15.3998 21 15.9998C21 16.5998 20.6 16.9998 20 16.9998H6.9L8.5 18.1998C8.9 18.4998 9 19.1998 8.7 19.5998C8.5 19.8998 8.2 19.9998 7.9 19.9998C7.7 19.9998 7.5 19.8998 7.3 19.7998L3.4 16.7998C3.1 16.5998 3 16.2998 3 15.9998C3 15.6998 3.1 15.3998 3.4 15.1998L7.4 12.1998C7.8 11.8998 8.5 11.9998 8.8 12.3998C9.1 12.7998 9 13.4998 8.6 13.7998L7 14.9998Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3 8.5C2.44772 8.5 2 8.94772 2 9.5C2 10.0523 2.44772 10.5 3 10.5V9.5V8.5ZM29.7071 10.2071C30.0976 9.81658 30.0976 9.18342 29.7071 8.79289L23.3431 2.42893C22.9526 2.03841 22.3195 2.03841 21.9289 2.42893C21.5384 2.81946 21.5384 3.45262 21.9289 3.84315L27.5858 9.5L21.9289 15.1569C21.5384 15.5474 21.5384 16.1805 21.9289 16.5711C22.3195 16.9616 22.9526 16.9616 23.3431 16.5711L29.7071 10.2071ZM3 9.5V10.5H29V9.5V8.5H3V9.5Z" fill="white"/>
<path d="M29 21.5C29.5523 21.5 30 21.9477 30 22.5C30 23.0523 29.5523 23.5 29 23.5V22.5V21.5ZM2.29289 23.2071C1.90237 22.8166 1.90237 22.1834 2.29289 21.7929L8.65685 15.4289C9.04738 15.0384 9.68054 15.0384 10.0711 15.4289C10.4616 15.8195 10.4616 16.4526 10.0711 16.8431L4.41421 22.5L10.0711 28.1569C10.4616 28.5474 10.4616 29.1805 10.0711 29.5711C9.68054 29.9616 9.04738 29.9616 8.65685 29.5711L2.29289 23.2071ZM29 22.5V23.5H3V22.5V21.5H29V22.5Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 1,009 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.99982 7L7.99982 20C7.99982 20.6 7.59982 21 6.99982 21C6.39982 21 5.99982 20.6 5.99982 20L5.99982 6.9L4.79982 8.5C4.49982 8.9 3.79982 9 3.39982 8.7C2.99982 8.4 2.89982 7.7 3.19982 7.3L6.19982 3.4C6.39982 3.1 6.69982 3 6.99982 3C7.29982 3 7.59982 3.1 7.79982 3.4L10.7998 7.4C10.8998 7.6 10.9998 7.8 10.9998 8C10.9998 8.3 10.8998 8.6 10.5998 8.8C10.1998 9.1 9.49982 9 9.19982 8.6L7.99982 7ZM14.9998 17L14.9998 4C14.9998 3.4 15.3998 3 15.9998 3C16.5998 3 16.9998 3.4 16.9998 4V17.1L18.1998 15.5C18.4998 15.1 19.1998 15 19.5998 15.3C19.8998 15.5 19.9998 15.8 19.9998 16.1C19.9998 16.3 19.8998 16.5 19.7998 16.7L16.7998 20.6C16.5998 20.9 16.2998 21 15.9998 21C15.6998 21 15.3998 20.9 15.1998 20.6L12.1998 16.6C11.8998 16.2 11.9998 15.5 12.3998 15.2C12.7998 14.9 13.4998 15 13.7998 15.4L14.9998 17Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.5 29C8.5 29.5523 8.94772 30 9.5 30C10.0523 30 10.5 29.5523 10.5 29H9.5H8.5ZM10.2071 2.29289C9.81658 1.90237 9.18342 1.90237 8.79289 2.29289L2.42893 8.65685C2.03841 9.04738 2.03841 9.68054 2.42893 10.0711C2.81946 10.4616 3.45262 10.4616 3.84315 10.0711L9.5 4.41421L15.1569 10.0711C15.5474 10.4616 16.1805 10.4616 16.5711 10.0711C16.9616 9.68054 16.9616 9.04738 16.5711 8.65685L10.2071 2.29289ZM9.5 29H10.5L10.5 3H9.5H8.5L8.5 29H9.5Z" fill="white"/>
<path d="M21.5 3C21.5 2.44772 21.9477 2 22.5 2C23.0523 2 23.5 2.44772 23.5 3H22.5H21.5ZM23.2071 29.7071C22.8166 30.0976 22.1834 30.0976 21.7929 29.7071L15.4289 23.3431C15.0384 22.9526 15.0384 22.3195 15.4289 21.9289C15.8195 21.5384 16.4526 21.5384 16.8431 21.9289L22.5 27.5858L28.1569 21.9289C28.5474 21.5384 29.1805 21.5384 29.5711 21.9289C29.9616 22.3195 29.9616 22.9526 29.5711 23.3431L23.2071 29.7071ZM22.5 3H23.5V29H22.5H21.5V3H22.5Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 1,018 B

View file

@ -1,3 +1,5 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19 18.256C19 18.666 18.666 19 18.256 19H17V17H19V18.256ZM5 18.256V17H7V19H5.744C5.334 19 5 18.666 5 18.256ZM5.744 5H7V7H5V5.744C5 5.334 5.334 5 5.744 5ZM19 5.744V7H17V5H18.256C18.666 5 19 5.334 19 5.744ZM17 15H19V13H17V15ZM17 11H19V9H17V11ZM9 19H15V5H9V19ZM5 15H7V13H5V15ZM5 11H7V9H5V11ZM18.256 3H5.744C4.231 3 3 4.232 3 5.744V18.256C3 19.769 4.231 21 5.744 21H18.256C19.769 21 21 19.769 21 18.256V5.744C21 4.232 19.769 3 18.256 3Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.0471 13.3823C18.0188 12.5505 18.5085 11.7881 19.2767 11.468L28.6154 7.57692C29.2741 7.30247 30 7.78642 30 8.5V20.908C30 21.6584 29.5799 22.3457 28.9121 22.6879L19.9472 27.2817C19.295 27.6159 18.5168 27.1582 18.4918 26.4258L18.0471 13.3823Z" fill="white"/>
<path d="M10.0471 11.3823C10.0188 10.5505 10.5085 9.78813 11.2767 9.46803L20.6154 5.57692C21.2741 5.30247 22 5.78642 22 6.5V18.908C22 19.6584 21.5799 20.3457 20.9121 20.6879L11.9472 25.2817C11.295 25.6159 10.5168 25.1582 10.4918 24.4258L10.0471 11.3823Z" fill="white" fill-opacity="0.8"/>
<path d="M2.04712 9.38232C2.01877 8.55054 2.50849 7.78813 3.27673 7.46803L12.6154 3.57692C13.2741 3.30247 14 3.78642 14 4.5V16.908C14 17.6584 13.5799 18.3457 12.9121 18.6879L3.94724 23.2817C3.29504 23.6159 2.51676 23.1582 2.49179 22.4258L2.04712 9.38232Z" fill="white" fill-opacity="0.32"/>
</svg>

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 952 B

View file

@ -1,3 +1,12 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 8H8.818V5H5V8ZM5 13H8.818V10H5V13ZM8.818 17.091C8.818 18.144 7.962 19 6.909 19C5.856 19 5 18.144 5 17.091V15H8.818V17.091ZM10.818 4C10.818 3.447 10.371 3 9.818 3H4C3.447 3 3 3.447 3 4V17.091C3 19.246 4.754 21 6.909 21C9.064 21 10.818 19.246 10.818 17.091V4ZM20 13.1816H17.305L15.44 15.1816L11.881 18.9996L10.466 20.5176L10.017 20.9996H20C20.553 20.9996 21 20.5526 21 19.9996V14.1816C21 13.6286 20.553 13.1816 20 13.1816ZM14.0535 5.4438L18.1895 9.2998C18.5935 9.6768 18.6165 10.3098 18.2395 10.7128L11.7605 17.6618C11.7663 17.6138 11.7729 17.566 11.7796 17.5182C11.799 17.3774 11.8185 17.2363 11.8185 17.0908V14.6678V9.3078V6.3748L12.6405 5.4928C12.8215 5.2988 13.0725 5.1848 13.3365 5.1758C13.6105 5.1538 13.8605 5.2628 14.0535 5.4438Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_34_16)">
<path d="M2 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V24C14 27.3137 11.3137 30 8 30C4.68629 30 2 27.3137 2 24V4Z" fill="white"/>
<path d="M18.3848 5.41421C19.1658 4.63317 20.4322 4.63317 21.2132 5.41421L26.8701 11.0711C27.6511 11.8521 27.6511 13.1184 26.8701 13.8995L12.7279 28.0416C10.3848 30.3848 6.58579 30.3848 4.24265 28.0416C1.8995 25.6985 1.8995 21.8995 4.24265 19.5563L18.3848 5.41421Z" fill="white" fill-opacity="0.64"/>
<path d="M28 18C29.1046 18 30 18.8954 30 20V28C30 29.1046 29.1046 30 28 30L12.5 30L25 18H28Z" fill="white" fill-opacity="0.32"/>
</g>
<defs>
<clipPath id="clip0_34_16">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 907 B

After

Width:  |  Height:  |  Size: 813 B

View file

@ -1,8 +1,20 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 2C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5C2 3.34315 3.34315 2 5 2H19ZM5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5Z" fill="white"/>
<path d="M11.5 14.5H4V19C4 19.5523 4.44771 20 5 20H11.5V14.5Z" fill="#0059FF"/>
<path d="M11.5 4H5C4.44771 4 4 4.44772 4 5V9.5H11.5V4Z" fill="#FF0000"/>
<path d="M12.5 20H19C19.5523 20 20 19.5523 20 19V12H12.5V20Z" fill="#FFFEFE"/>
<path d="M12.5 12H20V5C20 4.44772 19.5523 4 19 4H12.5V12Z" fill="black"/>
<path d="M4 9.5H11.5V14.5H4V9.5Z" fill="#4DFF00"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 2C23.732 2 30 8.26801 30 16C30 23.732 23.732 30 16 30C8.26801 30 2 23.732 2 16C2 8.26801 8.26801 2 16 2ZM16 29C23.1797 29 29 23.1797 29 16C29 8.8203 23.1797 3 16 3V29Z" fill="white"/>
<path d="M16 16.9286C16 9.74887 16 3 16 3C23.1797 3 29 8.8203 29 16C29 23.1797 23.1797 29 16 29C16 29 16 24.1083 16 16.9286Z" fill="white" fill-opacity="0.24"/>
<circle cx="18" cy="6" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="18" cy="10" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="10" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="6" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="18" cy="14" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="14" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="26" cy="14" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="26" cy="10" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="18" cy="18" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="18" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="26" cy="18" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="26" cy="22" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="18" cy="22" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="22" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="22" cy="26" r="1" fill="white" fill-opacity="0.8"/>
<circle cx="18" cy="26" r="1" fill="white" fill-opacity="0.8"/>
</svg>

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -1,4 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 12.9744H19C19.6 12.9744 20 12.5744 20 11.9744C20 11.3744 19.6 10.9744 19 10.9744H6.9L8.5 9.77443C8.9 9.47443 9 8.77443 8.7 8.37443C8.4 7.97443 7.7 7.87443 7.3 8.17443L3.4 11.1744C3.1 11.3744 3 11.6744 3 11.9744C3 12.2744 3.1 12.5744 3.4 12.7744L7.4 15.7744C7.6 15.8744 7.8 15.9744 8 15.9744C8.3 15.9744 8.6 15.8744 8.8 15.5744C9.1 15.1744 9 14.4744 8.6 14.1744L7 12.9744Z" fill="white"/>
<path d="M17 12.9744H5C4.4 12.9744 4 12.5744 4 11.9744C4 11.3744 4.4 10.9744 5 10.9744H17.1L15.5 9.77443C15.1 9.47443 15 8.77443 15.3 8.37443C15.6 7.97443 16.3 7.87443 16.7 8.17443L20.6 11.1744C20.9 11.3744 21 11.6744 21 11.9744C21 12.2744 20.9 12.5744 20.6 12.7744L16.6 15.7744C16.4 15.8744 16.2 15.9744 16 15.9744C15.7 15.9744 15.4 15.8744 15.2 15.5744C14.9 15.1744 15 14.4744 15.4 14.1744L17 12.9744Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M29.7071 15.2929C30.0976 15.6834 30.0976 16.3166 29.7071 16.7071L23.3431 23.0711C22.9526 23.4616 22.3195 23.4616 21.9289 23.0711C21.5384 22.6805 21.5384 22.0474 21.9289 21.6569L27.5858 16L21.9289 10.3431C21.5384 9.95262 21.5384 9.31946 21.9289 8.92893C22.3195 8.53841 22.9526 8.53841 23.3431 8.92893L29.7071 15.2929ZM2.29289 16.7071C1.90237 16.3166 1.90237 15.6834 2.29289 15.2929L8.65685 8.92893C9.04738 8.53841 9.68054 8.53841 10.0711 8.92893C10.4616 9.31946 10.4616 9.95262 10.0711 10.3431L4.41421 16L10.0711 21.6569C10.4616 22.0474 10.4616 22.6805 10.0711 23.0711C9.68054 23.4616 9.04738 23.4616 8.65685 23.0711L2.29289 16.7071ZM29 16V17H3V16V15H29V16Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 785 B

View file

@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 12.9744H20C20.6 12.9744 21 12.5744 21 11.9744C21 11.3744 20.6 10.9744 20 10.9744H6.9L8.5 9.77443C8.9 9.47443 9 8.77443 8.7 8.37443C8.4 7.97443 7.7 7.87443 7.3 8.17443L3.4 11.1744C3.1 11.3744 3 11.6744 3 11.9744C3 12.2744 3.1 12.5744 3.4 12.7744L7.4 15.7744C7.6 15.8744 7.8 15.9744 8 15.9744C8.3 15.9744 8.6 15.8744 8.8 15.5744C9.1 15.1744 9 14.4744 8.6 14.1744L7 12.9744Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M29 15C29.5523 15 30 15.4477 30 16C30 16.5523 29.5523 17 29 17V16V15ZM2.29289 16.7071C1.90237 16.3166 1.90237 15.6834 2.29289 15.2929L8.65685 8.92893C9.04738 8.53841 9.68054 8.53841 10.0711 8.92893C10.4616 9.31946 10.4616 9.95262 10.0711 10.3431L4.41421 16L10.0711 21.6569C10.4616 22.0474 10.4616 22.6805 10.0711 23.0711C9.68054 23.4616 9.04738 23.4616 8.65685 23.0711L2.29289 16.7071ZM29 16V17H3V16V15H29V16Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 538 B

View file

@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17 12.9744H4C3.4 12.9744 3 12.5744 3 11.9744C3 11.3744 3.4 10.9744 4 10.9744H17.1L15.5 9.77443C15.1 9.47443 15 8.77443 15.3 8.37443C15.6 7.97443 16.3 7.87443 16.7 8.17443L20.6 11.1744C20.9 11.3744 21 11.6744 21 11.9744C21 12.2744 20.9 12.5744 20.6 12.7744L16.6 15.7744C16.4 15.8744 16.2 15.9744 16 15.9744C15.7 15.9744 15.4 15.8744 15.2 15.5744C14.9 15.1744 15 14.4744 15.4 14.1744L17 12.9744Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M29.7071 15.2929C30.0976 15.6834 30.0976 16.3166 29.7071 16.7071L23.3431 23.0711C22.9526 23.4616 22.3195 23.4616 21.9289 23.0711C21.5384 22.6805 21.5384 22.0474 21.9289 21.6569L27.5858 16L21.9289 10.3431C21.5384 9.95262 21.5384 9.31946 21.9289 8.92893C22.3195 8.53841 22.9526 8.53841 23.3431 8.92893L29.7071 15.2929ZM3 17C2.44772 17 2 16.5523 2 16C2 15.4477 2.44772 15 3 15V16V17ZM29 16V17H3V16V15H29V16Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 533 B

View file

@ -1,5 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3 12H6" stroke="white" stroke-width="2" stroke-linecap="round"/>
<path d="M10 12L14 12" stroke="white" stroke-width="2" stroke-linecap="round"/>
<path d="M18 12H21" stroke="white" stroke-width="2" stroke-linecap="round"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M29 16H3" stroke="white" stroke-width="2" stroke-linecap="round" stroke-dasharray="8 8"/>
</svg>

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 202 B

View file

@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 12H22" stroke="white" stroke-width="2" stroke-linecap="round"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M29 16H3" stroke="white" stroke-width="2" stroke-linecap="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.858 10.6736L15.759 6.45959C15.15 5.95759 14.282 5.85659 13.549 6.20059C12.902 6.50659 12.5 7.11359 12.5 7.78659V10.3776L7.759 6.45959C7.15 5.95759 6.281 5.85659 5.549 6.20059C4.902 6.50659 4.5 7.11359 4.5 7.78659V16.2126C4.5 16.8856 4.902 17.4926 5.549 17.7986C5.838 17.9346 6.149 18.0006 6.455 18.0006C6.926 18.0006 7.39 17.8436 7.759 17.5386L12.5 13.6226V16.2126C12.5 16.8856 12.902 17.4926 13.549 17.7986C13.838 17.9346 14.149 18.0006 14.455 18.0006C14.926 18.0006 15.39 17.8436 15.759 17.5386L20.858 13.3256C21.266 12.9896 21.5 12.5056 21.5 11.9996C21.5 11.4936 21.266 11.0096 20.858 10.6736Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 5.78197C6 5.3501 6.3501 5 6.78197 5C6.98046 5 7.17153 5.07549 7.31643 5.21115L17.4265 14.6773C17.7924 15.0199 18 15.4987 18 16C18 16.5013 17.7924 16.9801 17.4265 17.3227L7.31643 26.7888C7.17153 26.9245 6.98046 27 6.78197 27C6.3501 27 6 26.6499 6 26.218V5.78197Z" fill="white"/>
<path d="M17 5.78197C17 5.3501 17.3501 5 17.782 5C17.9805 5 18.1715 5.07549 18.3164 5.21115L28.4265 14.6773C28.7924 15.0199 29 15.4987 29 16C29 16.5013 28.7924 16.9801 28.4265 17.3227L18.3164 26.7888C18.1715 26.9245 17.9805 27 17.782 27C17.3501 27 17 26.6499 17 26.218V5.78197Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 769 B

After

Width:  |  Height:  |  Size: 687 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 2C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5C2 3.34315 3.34315 2 5 2H19ZM5.11133 3C4.007 3.00012 3.11156 3.8957 3.11133 5V12H11.8896V21H18.8896C19.9937 20.9996 20.8894 20.1041 20.8896 19V12H12.1113V3H5.11133Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 30H6C3.79086 30 2 28.2091 2 26V25H7V30ZM19 30H13V25H19V30ZM30 26C30 28.2091 28.2091 30 26 30H25V25H30V26ZM13 25H7V19H13V25ZM25 25H19V19H25V25ZM19 19H13V13H19V19ZM30 19H25V13H30V19ZM7 19H2V13H7V19ZM13 13H7V7H13V13ZM25 13H19V7H25V13ZM19 7H13V2H19V7ZM26 2C28.2091 2 30 3.79086 30 6V7H25V2H26ZM7 7H2V6C2 3.79086 3.79086 2 6 2H7V7Z" fill="white" fill-opacity="0.64"/>
<rect x="2.5" y="2.5" width="27" height="27" rx="3.5" fill="white" fill-opacity="0.48" stroke="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 385 B

After

Width:  |  Height:  |  Size: 582 B

View file

@ -1,3 +1,16 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.36614 14.9395L11.9451 9.35953L14.6411 12.0555L11.8511 14.8515M19.4021 7.33653L16.6631 4.59753C15.8951 3.82953 14.6771 3.80153 13.9481 4.52953L11.9451 6.53153L10.7071 5.29353C10.3161 4.90253 9.68314 4.90253 9.29314 5.29353C8.90214 5.68353 8.90214 6.31653 9.29314 6.70753L10.5311 7.94553L4.95214 13.5255C4.62714 13.8505 4.42514 14.2825 4.38314 14.7395L4.00414 18.9095C3.97714 19.2055 4.08314 19.4975 4.29314 19.7075C4.48114 19.8955 4.73614 20.0005 5.00014 20.0005C5.03014 20.0005 5.06014 19.9995 5.09114 19.9965L9.26114 19.6175C9.71814 19.5755 10.1491 19.3735 10.4741 19.0475L16.0541 13.4685L17.2931 14.7075C17.4881 14.9025 17.7441 15.0005 18.0001 15.0005C18.2561 15.0005 18.5121 14.9025 18.7071 14.7075C19.0971 14.3165 19.0971 13.6835 18.7071 13.2935L17.4691 12.0545L19.4701 10.0515C20.2001 9.32253 20.1701 8.10453 19.4021 7.33653Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_34_33)">
<mask id="path-1-inside-1_34_33" fill="white">
<path d="M15.8046 26.6807C15.4738 27.0113 15.0371 27.2156 14.5713 27.258L8.44763 27.8146C7.85658 27.8683 7.2722 27.6569 6.8525 27.2373L6.76273 27.1475C6.34312 26.7278 6.13171 26.1434 6.18544 25.5524L6.74201 19.4287C6.78436 18.9629 6.98866 18.5262 7.3193 18.1954L16 9.51472L24.4853 18L15.8046 26.6807Z"/>
</mask>
<path d="M15.8046 26.6807L16.5115 27.388L16.5117 27.3878L15.8046 26.6807ZM14.5713 27.258L14.6618 28.2539L14.6618 28.2539L14.5713 27.258ZM8.44763 27.8146L8.35711 26.8187L8.35709 26.8187L8.44763 27.8146ZM6.8525 27.2373L6.14539 27.9444L6.14547 27.9445L6.8525 27.2373ZM6.76273 27.1475L6.05554 27.8545L6.05562 27.8546L6.76273 27.1475ZM6.18544 25.5524L7.18133 25.6429L7.18134 25.6429L6.18544 25.5524ZM6.74201 19.4287L5.74612 19.3382L5.74612 19.3382L6.74201 19.4287ZM7.3193 18.1954L6.61219 17.4883L6.61203 17.4885L7.3193 18.1954ZM16 9.51472L16.7071 8.80761L16 8.1005L15.2929 8.80761L16 9.51472ZM24.4853 18L25.1924 18.7071L25.8995 18L25.1924 17.2929L24.4853 18ZM15.8046 26.6807L15.0976 25.9734C14.9324 26.1386 14.7139 26.2409 14.4807 26.2621L14.5713 27.258L14.6618 28.2539C15.3603 28.1904 16.0151 27.8841 16.5115 27.388L15.8046 26.6807ZM14.5713 27.258L14.4808 26.2621L8.35711 26.8187L8.44763 27.8146L8.53815 28.8105L14.6618 28.2539L14.5713 27.258ZM8.44763 27.8146L8.35709 26.8187C8.06142 26.8455 7.76926 26.7398 7.55952 26.5301L6.8525 27.2373L6.14547 27.9445C6.77513 28.574 7.65175 28.891 8.53817 28.8105L8.44763 27.8146ZM6.8525 27.2373L7.5596 26.5302L7.46983 26.4404L6.76273 27.1475L6.05562 27.8546L6.14539 27.9444L6.8525 27.2373ZM6.76273 27.1475L7.46991 26.4405C7.26022 26.2307 7.15445 25.9386 7.18133 25.6429L6.18544 25.5524L5.18955 25.4618C5.10896 26.3482 5.42603 27.2249 6.05554 27.8545L6.76273 27.1475ZM6.18544 25.5524L7.18134 25.6429L7.73791 19.5192L6.74201 19.4287L5.74612 19.3382L5.18955 25.4619L6.18544 25.5524ZM6.74201 19.4287L7.7379 19.5192C7.7591 19.2861 7.86143 19.0676 8.02657 18.9024L7.3193 18.1954L6.61203 17.4885C6.11588 17.9849 5.80961 18.6397 5.74612 19.3382L6.74201 19.4287ZM7.3193 18.1954L8.0264 18.9025L16.7071 10.2218L16 9.51472L15.2929 8.80761L6.61219 17.4883L7.3193 18.1954ZM16 9.51472L15.2929 10.2218L23.7782 18.7071L24.4853 18L25.1924 17.2929L16.7071 8.80761L16 9.51472ZM24.4853 18L23.7782 17.2929L15.0975 25.9736L15.8046 26.6807L16.5117 27.3878L25.1924 18.7071L24.4853 18Z" fill="white" mask="url(#path-1-inside-1_34_33)"/>
<path d="M15.8053 26.6814C15.4746 27.0116 15.0381 27.2157 14.5727 27.258L8.44763 27.8146C7.85659 27.8683 7.2722 27.6569 6.8525 27.2373L6.76273 27.1475C6.34313 26.7278 6.13171 26.1434 6.18544 25.5524L6.74201 19.4287C6.78436 18.9629 6.98866 18.5262 7.3193 18.1954L7.51472 18H24.5005L15.8053 26.6814Z" fill="white" fill-opacity="0.32"/>
<rect x="14.5858" y="6.68629" width="18" height="2" rx="1" transform="rotate(45 14.5858 6.68629)" fill="white"/>
<path d="M20.2426 6.68629C21.0237 5.90524 22.29 5.90524 23.0711 6.68629L27.3137 10.9289C28.0948 11.71 28.0948 12.9763 27.3137 13.7574L23.7782 17.2929L16.7071 10.2218L20.2426 6.68629Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_34_33">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1,002 B

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 5C6.89543 5 6 5.89543 6 7V17C6 18.1046 6.89543 19 8 19C9.10457 19 10 18.1046 10 17V7C10 5.89543 9.10457 5 8 5ZM16 5C14.8954 5 14 5.89543 14 7V17C14 18.1046 14.8954 19 16 19C17.1046 19 18 18.1046 18 17V7C18 5.89543 17.1046 5 16 5Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="6" y="4" width="7" height="24" rx="2" fill="white"/>
<rect x="19" y="4" width="7" height="24" rx="2" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 228 B

View file

@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 17.5353C7 18.7089 8.28685 19.4279 9.28626 18.8128L18.2815 13.2762C19.2332 12.6904 19.2331 11.3069 18.2812 10.7212L9.28604 5.18673C8.28663 4.57182 7 5.29086 7 6.46428V17.5353Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 4.73409C5 3.77638 5.77638 3 6.73409 3C7.02776 3 7.31662 3.07458 7.57359 3.21675L28.1875 14.6219C28.6888 14.8993 29 15.427 29 16C29 16.573 28.6888 17.1007 28.1875 17.3781L7.57359 28.7832C7.31662 28.9254 7.02776 29 6.73409 29C5.77638 29 5 28.2236 5 27.2659V4.73409Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 395 B

View file

@ -1,3 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.45 6.20097C17.716 5.85597 16.849 5.95797 16.241 6.46097L11.5 10.377V7.78697C11.5 7.11397 11.097 6.50697 10.45 6.20097C9.716 5.85597 8.849 5.95797 8.241 6.46097L3.141 10.674C2.734 11.01 2.5 11.494 2.5 12C2.5 12.506 2.734 12.99 3.141 13.326L8.241 17.54C8.609 17.844 9.073 18.001 9.544 18.001C9.851 18.001 10.161 17.934 10.45 17.799C11.097 17.493 11.5 16.886 11.5 16.213V13.622L16.241 17.54C16.609 17.844 17.073 18.001 17.544 18.001C17.851 18.001 18.161 17.934 18.45 17.799C19.097 17.493 19.5 16.886 19.5 16.213V7.78697C19.5 7.11397 19.097 6.50697 18.45 6.20097Z" fill="white"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26 5.78197C26 5.3501 25.6499 5 25.218 5C25.0195 5 24.8285 5.07549 24.6836 5.21115L14.5735 14.6773C14.2076 15.0199 14 15.4987 14 16C14 16.5013 14.2076 16.9801 14.5735 17.3227L24.6836 26.7888C24.8285 26.9245 25.0195 27 25.218 27C25.6499 27 26 26.6499 26 26.218V5.78197Z" fill="white"/>
<path d="M15 5.78197C15 5.3501 14.6499 5 14.218 5C14.0195 5 13.8285 5.07549 13.6836 5.21115L3.57355 14.6773C3.20764 15.0199 3 15.4987 3 16C3 16.5013 3.20764 16.9801 3.57355 17.3227L13.6836 26.7888C13.8285 26.9245 14.0195 27 14.218 27C14.6499 27 15 26.6499 15 26.218V5.78197Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 732 B

After

Width:  |  Height:  |  Size: 688 B

View file

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 16C10 16.55 9.55 17 9 17C8.45 17 8 16.55 8 16V12C8 11.45 8.45 11 9 11C9.55 11 10 11.45 10 12V16ZM16 16C16 16.55 15.55 17 15 17C14.45 17 14 16.55 14 16V12C14 11.45 14.45 11 15 11C15.55 11 16 11.45 16 12V16ZM18 19C18 19.551 17.552 20 17 20H7C6.448 20 6 19.551 6 19V8H18V19ZM10 4.328C10 4.173 10.214 4 10.5 4H13.5C13.786 4 14 4.173 14 4.328V6H10V4.328ZM21 6H20H16V4.328C16 3.044 14.879 2 13.5 2H10.5C9.121 2 8 3.044 8 4.328V6H4H3C2.45 6 2 6.45 2 7C2 7.55 2.45 8 3 8H4V19C4 20.654 5.346 22 7 22H17C18.654 22 20 20.654 20 19V8H21C21.55 8 22 7.55 22 7C22 6.45 21.55 6 21 6V6Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 742 B

View file

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.1523 2.00211C9.25997 1.95883 6.64866 3.15654 4.79688 5.09L2.85352 3.14664C2.65852 2.95164 2.34148 2.95164 2.14648 3.14664C2.04848 3.24364 2 3.37216 2 3.50016V8.00016C2 8.26537 2.10536 8.51973 2.29289 8.70726C2.48043 8.8948 2.73478 9.00016 3 9.00016H7.5C7.628 9.00016 7.75552 8.95067 7.85352 8.85367C8.04852 8.65867 8.04852 8.34164 7.85352 8.14664L6.2168 6.50992C8.02806 4.60134 10.7519 3.56922 13.6914 4.17594C16.7664 4.81094 19.2318 7.30002 19.8398 10.381C20.8498 15.499 16.941 20.0002 12 20.0002C7.881 20.0002 4.47987 16.8704 4.04688 12.8654C3.99287 12.3684 3.5625 12.0002 3.0625 12.0002C2.4625 12.0002 1.9955 12.5253 2.0625 13.1213C2.6215 18.1093 6.866 22.0002 12 22.0002C18.136 22.0002 22.9993 16.4438 21.8223 10.0978C21.0773 6.07481 17.8171 2.86041 13.7871 2.15641C13.2347 2.06003 12.6888 2.01014 12.1523 2.00211Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 951 B

View file

@ -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(

View file

@ -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",
]