Commit Graph

41 Commits

Author SHA1 Message Date
Jeff Patterson a4d5b7a12a Draw the folio icons as SVGs
The folio icons (Add, Remove, Properties, New folio, Title block
template) were anti-aliased gray page drawings, and the previous commit
left them untouched on the dark palette, where their soft gray fills
read blurry next to the line-art icons. They are now pixel-grid SVGs in
ico/scalable/ in the style of the Add PDF icon: a landscape sheet with
a title block line, a plus or minus badge in the corner, text lines for
properties, a filled title block for the template. Same 24 pixel canvas
as pdf-import.svg, same currentColor recoloring for the dark theme.

Only the 22 pixel PNGs go: five files leave ico/22x22 and both .qrc
files, and the alias list in misc/make_icon_themes.py that exposed
three of them under a second name is down to conductor2.png. The 16
pixel files stay, so menus and the projects panel keep their icons at
that size, and the 128 pixel diagram.png stays for the configuration
page list.

tests/qttest/tst_qeticons: every file in ico/scalable/ resolves in both
themes at 22, 24, 32 and 64 pixels, dark ink on light and light ink on
dark, with no 22 pixel PNG left beside it; the light-art check reads
the folio family at 16 pixels, where the page art remains.
2026-09-19 12:02:55 -05:00
Jeff Patterson ba29dc45a0 Draw the Add PDF icon as an SVG
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.
2026-09-19 12:02:54 -05:00
Kellermorph ff25a77159 Improve PDF import: DPI selection, page preview, Qt5 compat, custom icon
- Add DPI selection (150/300/600) to the page selection dialog
- Add live page preview in the selection dialog
- Conditionally compile PDF import only for Qt6 (#if QT_VERSION)
- Add custom pdf-import icon (PDF document with + symbol)
- Register new icon in qelectrotech.qrc
- Qt5 builds: PDF import action is hidden, everything else works as before
2026-08-22 18:53:36 +02:00
Kellermorph 4e0c075575 Fix grid and guide startup behavior and update german translation 2026-06-16 17:41:03 +02:00
plc-user f12b11bee3 added folder "company-titleblocks" \(incl. language-files\) 2023-12-16 09:32:44 +01:00
plc-user 72092300ed added icons for "company-collection" 2023-12-09 12:02:52 +01:00
Laurent Trinques 081f44f8be Element Editor add new ColorHTML, THANKS Arnaud for the patch 2020-04-15 10:27:54 +02:00
nuri dbd867d604 icon theme: add new icons in element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 20:27:49 +00:00
nuri d31d360340 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 22:20:35 +00:00
nuri 79b578dcf7 icon theme: add new icons for titleblock placement (bottom or right)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 08:03:26 +00:00
nuri b0e185c506 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 07:13:14 +00:00
nuri 22756eff42 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 06:36:06 +00:00
nuri dd2c45ab64 icon theme: add dedicated icons for actions "show only this folder" and "show all folders" in the collection panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 04:54:31 +00:00
nuri 947b933941 new icon theme: update subversion repository to the new folders and files used by the new theme
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5109 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 03:46:48 +00:00
nuri 9f3024545f Set the KDE "Breeze" icon theme as new icon theme for QElectroTech
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-25 07:44:38 +00:00
scorpio810 ecfb49c227 Fix libpng warning: iCCP: known incorrect sRGB profile, thanks LETARTARE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4995 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-27 21:46:34 +00:00
scorpio810 c0b5aa7a59 Minor: RichTextEditor : add action to Create superscript or subscript
text or numbers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-04 03:50:12 +00:00
scorpio810 2150c62181 Added new entry for launch plugin qet_tb_generator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-30 21:42:35 +00:00
scorpio810 741426a2d4 Minor : add Nuri icon for grid
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-19 11:33:23 +00:00
nuri ab1d558f61 Add a new button in the display tool bar to switch the background color in white or grey on the fly.
The check box for this functionality in the DiagramProporties window was deleted.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-21 11:00:08 +00:00
scorpio810 37cfe41308 Minor: cosmetic change icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-13 05:12:36 +00:00
scorpio810 1d7da9fedd Minor: cosmetic change icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-12 14:44:04 +00:00
scorpio810 7a7d4a9a94 Icon: cosmetic changes, thank Nuri for icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-10 14:47:03 +00:00
scorpio810 8db5b74980 Minor change auto conductor icon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-14 11:52:41 +00:00
scorpio810 5b9b2517f4 Add new icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-14 16:16:16 +00:00
scorpio810 25b1be1e88 Add icon system to language switch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 03:20:20 +00:00
scorpio810 009043fe0a Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 16:22:27 +00:00
scorpio810 5616d42582 Delete icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2519 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 16:01:00 +00:00
scorpio810 57ccbe387b Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:48:46 +00:00
scorpio810 0b30ded795 Add news icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:30:49 +00:00
xavier eb2acce3b6 Diagram editor: added the "zoom content" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 11:46:42 +00:00
xavier a8b0d63a5c TBT editor: logo manager: added icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 12:56:18 +00:00
xavier d42a9ad176 Title block template editor: added a menu entry to manage logos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:43 +00:00
xavier e6180e8971 Introduced the new icon for title block templates, got rid of the "green directory" icon used for projects.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:33:36 +00:00
xavier 62bb0d2d01 Title block template editor: added icons for row/columns/cells operations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-17 07:26:46 +00:00
xavier b6ae248036 Oxygen-based theme: updated zoom-related icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-16 19:09:30 +00:00
xavier 815a2ea3e8 Rapatriement dans la branche 0.3 des revisions 855 a 870.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 16:13:45 +00:00
xavier 9a52ef4688 Rapatriement dans la branche 0.3 des revisions 839 a 853.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@854 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 16:28:45 +00:00
xavier 121bd1f432 Rapatriement dans la branche 0.3 de toutes les modifications effectuees dans le trunk depuis la creation de la branche 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-22 16:12:22 +00:00
xavier 871d89692e Modification d'icones dans le panel d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 18:49:59 +00:00
xavier af4864778b Reorganisation du dossier contenant les icones et de la facon d'y acceder a travers l'application (creation d'un namespace QET::Icons dedie).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 14:41:33 +00:00