olive-groves / butterfly_viewer

Side-by-side image viewer with synchronized zoom and sliding overlays. Drag and drop to instantly compare multiple images on your desktop. Very open source.
https://olive-groves.github.io/butterfly_viewer/
Other
22 stars 3 forks source link

[Improve] Have consistent button icons #37

Closed larsmaxfield closed 3 months ago

larsmaxfield commented 5 months ago

I want to investigate how to achieve consistent and beautiful button icons instead of using Unicode character symbols for the Viewer's grid of buttons on the bottom-right of the interface.

The interface buttons on the bottom-right of the Viewer use Unicode character symbols for their icons. I chose this because it was easy (I didn't have to figure out how to add image-based icons to buttons) and it seemed to keep things lightweight for the Viewer (I didn't have to keep a folder of icons in the source code, in the executable, in the installer, etc.).

There are a couple problems with using symbol-based icons for these buttons:

I want to solve these problems — namely, to have consistent and beautiful button icons.

larsmaxfield commented 5 months ago

Once potential solution I am looking into is using SVG vectors.

GitHub user yjg30737 has already made pyqt-svg-button, a "PyQt button which supports svg icon[s]".

And Siemens has a nice collection of MIT-licensed SVG icons called Industrial Sharp UI Icons.