mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-20 07:14:13 +02:00
ba29dc45a0
The "Add PDF" action used ico/22x22/pdf-import.png, a white page with a red PDF mark that sat apart from its neighbors "Add text" and "Add image", both gray line art in a square frame with a plus. It is now ico/scalable/pdf-import.svg, the same pixel design as insert-image.png: a frame, the letters PDF, a plus in the corner. One file serves every slot and stays sharp on high-DPI screens; the PNG is gone from both .qrc files. The canvas is 24 pixels with the art offset by one, like the Breeze SVGs already in the theme. Fusion's toolbar slot is 24 pixels: a 22 pixel PNG is drawn unscaled inside it, but a scalable icon is rendered at the slot size, and a 22 pixel grid stretched to 24 puts every one pixel line between pixels and reads blurry. The file uses currentColor like the Breeze SVGs already in the theme, so misc/make_icon_themes.py produces the dark copy the same way. A new ico/scalable/ folder holds QET's own vector icons; the direction arummler asked for in #690. tests/qttest/tst_qeticons: the icon resolves in both themes at 16, 22, 32 and 64 pixels, dark ink on the light theme and light ink on the dark one, and no 22 pixel PNG remains.
1.2 KiB
1.2 KiB