Loaded the traced icons by theme name and removed the PNGs they replace

This commit is contained in:
Jeff Patterson
2026-10-01 05:39:46 -05:00
parent 5057817b6e
commit 194708c0da
91 changed files with 39 additions and 133 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 977 B

-77
View File
@@ -5,13 +5,10 @@
<file>ico/128x128/document-export.png</file>
<file>ico/128x128/printer.png</file>
<file>ico/16x16/application-exit.png</file>
<file>ico/16x16/arrow-left-double.png</file>
<file>ico/16x16/arrow-left.png</file>
<file>ico/16x16/arrow-right-double.png</file>
<file>ico/16x16/arrow-right.png</file>
<file>ico/16x16/circle.png</file>
<file>ico/16x16/configure.png</file>
<file>ico/16x16/configure-toolbars.png</file>
<file>ico/16x16/dialog-cancel.png</file>
<file>ico/16x16/dialog-ok.png</file>
<file>ico/16x16/document-close.png</file>
@@ -25,7 +22,6 @@
<file>ico/16x16/document-save-all.png</file>
<file>ico/16x16/document-save-as.png</file>
<file>ico/16x16/document-save.png</file>
<file>ico/16x16/east.png</file>
<file>ico/16x16/edit-clear-locationbar-ltr.png</file>
<file>ico/16x16/edit-clear.png</file>
<file>ico/16x16/edit-copy.png</file>
@@ -44,55 +40,34 @@
<file>ico/16x16/edit-table-cell-split.png</file>
<file>ico/16x16/edit-table-cell-merge.png</file>
<file>ico/16x16/edit-undo.png</file>
<file>ico/16x16/endline-circle.png</file>
<file>ico/16x16/endline-diamond.png</file>
<file>ico/16x16/endline-none.png</file>
<file>ico/16x16/endline-simple.png</file>
<file>ico/16x16/endline-triangle.png</file>
<file>ico/16x16/flip.png</file>
<file>ico/16x16/folder-new.png</file>
<file>ico/16x16/folder.png</file>
<file>ico/16x16/go-company.png</file>
<file>ico/16x16/go-down.png</file>
<file>ico/16x16/go-home.png</file>
<file>ico/16x16/go-up.png</file>
<file>ico/16x16/ground.png</file>
<file>ico/16x16/label.png</file>
<file>ico/16x16/list-add.png</file>
<file>ico/16x16/list-remove.png</file>
<file>ico/16x16/masquer.png</file>
<file>ico/16x16/mirror.png</file>
<file>ico/16x16/neutral.png</file>
<file>ico/16x16/north.png</file>
<file>ico/16x16/orientations.png</file>
<file>ico/16x16/phase.png</file>
<file>ico/16x16/preferences-desktop-user.png</file>
<file>ico/16x16/qet.png</file>
<file>ico/16x16/south.png</file>
<file>ico/16x16/text-xml.png</file>
<file>ico/16x16/user-busy.png</file>
<file>ico/16x16/user-online.png</file>
<file>ico/16x16/view-fullscreen.png</file>
<file>ico/16x16/view-refresh.png</file>
<file>ico/16x16/view-restore.png</file>
<file>ico/16x16/west.png</file>
<file>ico/16x16/window-new.png</file>
<file>ico/16x16/zoom-draw.png</file>
<file>ico/16x16/zoom-fit-best.png</file>
<file>ico/16x16/zoom-in.png</file>
<file>ico/16x16/zoom-original.png</file>
<file>ico/16x16/zoom-out.png</file>
<file>ico/22x22/all_pages.png</file>
<file>ico/22x22/application-exit.png</file>
<file>ico/22x22/arc.png</file>
<file>ico/22x22/arrow-left-double.png</file>
<file>ico/22x22/arrow-left.png</file>
<file>ico/22x22/arrow-right-double.png</file>
<file>ico/22x22/arrow-right.png</file>
<file>ico/22x22/bring_forward.png</file>
<file>ico/22x22/conductor2.png</file>
<file>ico/22x22/configure.png</file>
<file>ico/22x22/configure-toolbars.png</file>
<file>ico/22x22/dialog-cancel.png</file>
<file>ico/22x22/dialog-ok.png</file>
<file>ico/22x22/document-close.png</file>
@@ -124,43 +99,27 @@
<file>ico/22x22/edit-table-cell-split.png</file>
<file>ico/22x22/edit-table-cell-merge.png</file>
<file>ico/22x22/edit-undo.png</file>
<file>ico/22x22/element-delete.png</file>
<file>ico/22x22/element-edit.png</file>
<file>ico/22x22/element-new.png</file>
<file>ico/22x22/ellipse.png</file>
<file>ico/22x22/folder-delete.png</file>
<file>ico/22x22/folder-edit.png</file>
<file>ico/22x22/folder-new.png</file>
<file>ico/22x22/go-company.png</file>
<file>ico/22x22/go-down.png</file>
<file>ico/22x22/go-home.png</file>
<file>ico/22x22/go-up.png</file>
<file>ico/22x22/hotspot.png</file>
<file>ico/22x22/insert-image.png</file>
<file>ico/22x22/landscape.png</file>
<file>ico/22x22/line.png</file>
<file>ico/22x22/list-add.png</file>
<file>ico/22x22/list-remove.png</file>
<file>ico/22x22/lower.png</file>
<file>ico/22x22/move.png</file>
<file>ico/22x22/names.png</file>
<file>ico/22x22/object-locked.png</file>
<file>ico/22x22/object-rotate-right.png</file>
<file>ico/22x22/object-unlocked.png</file>
<file>ico/22x22/polygon.png</file>
<file>ico/22x22/portrait.png</file>
<file>ico/22x22/preferences-desktop-user.png</file>
<file>ico/22x22/raise.png</file>
<file>ico/22x22/rectangle.png</file>
<file>ico/22x22/restaurer.png</file>
<file>ico/22x22/select.png</file>
<file>ico/22x22/send_backward.png</file>
<file>ico/22x22/single_page.png</file>
<file>ico/22x22/start.png</file>
<file>ico/22x22/terminal.png</file>
<file>ico/22x22/textfield.png</file>
<file>ico/22x22/text.png</file>
<file>ico/22x22/text-xml.png</file>
<file>ico/22x22/transform-scale.png</file>
<file>ico/22x22/two_pages.png</file>
<file>ico/22x22/view_fit_width.png</file>
@@ -169,16 +128,12 @@
<file>ico/22x22/view-restore.png</file>
<file>ico/22x22/window-new.png</file>
<file>ico/22x22/zoom-draw.png</file>
<file>ico/22x22/zoom-fit-best.png</file>
<file>ico/22x22/zoom-in.png</file>
<file>ico/22x22/zoom-original.png</file>
<file>ico/22x22/zoom-out.png</file>
<file>ico/256x256/qelectrotech.png</file>
<file>ico/256x256/qet.png</file>
<file>ico/32x32/application-pdf.png</file>
<file>ico/32x32/image-x-eps.png</file>
<file>ico/32x32/printer.png</file>
<file>ico/32x32/text-xml.png</file>
<file>ico/32x32/qt.png</file>
<file>ico/diagram.png</file>
<file>ico/splash.png</file>
@@ -206,24 +161,17 @@
<file>ico/22x22/applications-development-translation.png</file>
<file>ico/48x48/view-pim-journal.png</file>
<file>ico/24x16/nl.png</file>
<file>ico/32x32/simplifyrichtext.png</file>
<file>ico/24x16/nl_BE.png</file>
<file>ico/128x128/plasmagik.png</file>
<file>ico/22x22/autoconnect.png</file>
<file>ico/128x128/project.png</file>
<file>ico/16x16/folio-new.png</file>
<file>ico/48x48/document-print-frame.png</file>
<file>ico/22x22/Actions-player-time-icon.png</file>
<file>ico/22x22/diagram_bg.png</file>
<file>ico/24x16/dk.png</file>
<file>ico/24x16/br.png</file>
<file>ico/22x22/grid.png</file>
<file>ico/22x22/guides.png</file>
<file>ico/22x22/terminalstrip.png</file>
<file>ico/16x16/diagram.png</file>
<file>ico/16x16/edit-clear-locationbar-rtl.png</file>
<file>ico/16x16/edit-download.png</file>
<file>ico/16x16/export-csv.png</file>
<file>ico/16x16/help-contents.png</file>
<file>ico/16x16/help-donate.png</file>
<file>ico/16x16/item-cancel.png</file>
@@ -231,20 +179,12 @@
<file>ico/16x16/item-move.png</file>
<file>ico/16x16/kdenlive-show-video.png</file>
<file>ico/16x16/object-rotate-right.png</file>
<file>ico/16x16/project-close.png</file>
<file>ico/16x16/project-delete.png</file>
<file>ico/16x16/project-new.png</file>
<file>ico/16x16/project.png</file>
<file>ico/16x16/qt.png</file>
<file>ico/16x16/terminalstrip.png</file>
<file>ico/22x22/edit-clear-locationbar-rtl.png</file>
<file>ico/22x22/export-csv.png</file>
<file>ico/22x22/format-text-subscript.png</file>
<file>ico/22x22/format-text-superscript.png</file>
<file>ico/22x22/project-close.png</file>
<file>ico/22x22/project-delete.png</file>
<file>ico/22x22/project-new.png</file>
<file>ico/22x22/project.png</file>
<file>ico/22x22/view-fit-window.png</file>
<file>ico/24x16/ad.png</file>
<file>ico/24x16/ae.png</file>
@@ -562,42 +502,25 @@
<file>ico/windows_icon/qelectrotech.ico</file>
<file>ico/windows_icon/qelectrotech.rc</file>
<file>ico/copyright</file>
<file>ico/16x16/folder-only-this.png</file>
<file>ico/16x16/folder-show-all.png</file>
<file>ico/16x16/folio-delete.png</file>
<file>ico/16x16/project-properties.png</file>
<file>ico/16x16/table-of-content.png</file>
<file>ico/16x16/folio-properties.png</file>
<file>ico/16x16/select.png</file>
<file>ico/16x16/grid.png</file>
<file>ico/16x16/move.png</file>
<file>ico/22x22/titleblock-bottom.png</file>
<file>ico/22x22/titleblock-right.png</file>
<file>ico/16x16/element.png</file>
<file>ico/16x16/element-new.png</file>
<file>ico/16x16/element-delete.png</file>
<file>ico/16x16/element-edit.png</file>
<file>ico/16x16/folder-delete.png</file>
<file>ico/16x16/folder-edit.png</file>
<file>ico/16x16/folder-open.png</file>
<file>ico/16x16/folder-properties.png</file>
<file>ico/16x16/go-up-double.png</file>
<file>ico/16x16/go-down-double.png</file>
<file>ico/16x16/go-top.png</file>
<file>ico/16x16/go-bottom.png</file>
<file>ico/16x16/run-dxf.png</file>
<file>ico/22x22/folder-open.png</file>
<file>ico/16x16/conductor-reset.png</file>
<file>ico/16x16/conductor-edit.png</file>
<file>ico/16x16/edit-select-invert.png</file>
<file>ico/16x16/edit-select-none.png</file>
<file>ico/16x16/transform-rotate.png</file>
<file>ico/16x16/window-close.svg</file>
<file>ico/16x16/conductor.png</file>
<file>ico/16x16/element-master.png</file>
<file>ico/16x16/element-slave.png</file>
<file>ico/16x16/folio-ref-coming.png</file>
<file>ico/16x16/terminal.png</file>
<file>ico/22x22/color/color-brown.png</file>
<file>ico/22x22/color/color-gray.png</file>
<file>ico/22x22/color/color-orange.png</file>
@@ -32,6 +32,13 @@ void ElementPreviewDelegate::initStyleOption(QStyleOptionViewItem *option,
const QModelIndex &index) const
{
QStyledItemDelegate::initStyleOption(option, index);
// The view's icon size is set for the element previews. A theme icon
// (a folder, a collection root) would scale up to fill it, so those
// stay at 16 px.
if (!option->icon.name().isEmpty())
option->decorationSize = QSize(16, 16);
if (option->icon.isNull() || !QET::Palette::isDark(option->palette))
return;
@@ -370,8 +370,7 @@
<string>phase</string>
</property>
<property name="icon">
<iconset theme="phase" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/phase.png</normaloff>:/ico/16x16/phase.png</iconset>
<iconset theme="phase"/>
</property>
</widget>
</item>
@@ -397,8 +396,7 @@
<string>neutre</string>
</property>
<property name="icon">
<iconset theme="neutral" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/neutral.png</normaloff>:/ico/16x16/neutral.png</iconset>
<iconset theme="neutral"/>
</property>
</widget>
</item>
@@ -433,8 +431,7 @@
<string>terre</string>
</property>
<property name="icon">
<iconset theme="ground" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/ground.png</normaloff>:/ico/16x16/ground.png</iconset>
<iconset theme="ground"/>
</property>
</widget>
</item>
@@ -157,8 +157,7 @@
<string/>
</property>
<property name="icon">
<iconset theme="configure-toolbars" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/configure-toolbars.png</normaloff>:/ico/16x16/configure-toolbars.png</iconset>
<iconset theme="configure-toolbars"/>
</property>
<property name="checkable">
<bool>true</bool>
+8 -16
View File
@@ -340,8 +340,7 @@
</action>
<action name="m_paste_from_file_action">
<property name="icon">
<iconset theme="text-xml" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/text-xml.png</normaloff>:/ico/16x16/text-xml.png</iconset>
<iconset theme="text-xml"/>
</property>
<property name="text">
<string>Un fichier</string>
@@ -376,8 +375,7 @@
</action>
<action name="m_edit_names_action">
<property name="icon">
<iconset theme="names" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/names.png</normaloff>:/ico/22x22/names.png</iconset>
<iconset theme="names"/>
</property>
<property name="text">
<string>Éditer le nom et les traductions de l'élément</string>
@@ -394,8 +392,7 @@
</action>
<action name="m_edit_element_properties_action">
<property name="icon">
<iconset theme="element-edit" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/element-edit.png</normaloff>:/ico/22x22/element-edit.png</iconset>
<iconset theme="element-edit"/>
</property>
<property name="text">
<string>Éditer les propriétés de l'élément</string>
@@ -421,8 +418,7 @@
</action>
<action name="m_zoom_fit_best_action">
<property name="icon">
<iconset theme="zoom-fit-best" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/zoom-fit-best.png</normaloff>:/ico/22x22/zoom-fit-best.png</iconset>
<iconset theme="zoom-fit-best"/>
</property>
<property name="text">
<string>Zoom adapté</string>
@@ -430,8 +426,7 @@
</action>
<action name="m_zoom_original_action">
<property name="icon">
<iconset theme="zoom-original" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/zoom-original.png</normaloff>:/ico/22x22/zoom-original.png</iconset>
<iconset theme="zoom-original"/>
</property>
<property name="text">
<string>Pas de zoom</string>
@@ -499,8 +494,7 @@
</action>
<action name="m_rotate_action">
<property name="icon">
<iconset theme="orientations" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/orientations.png</normaloff>:/ico/16x16/orientations.png</iconset>
<iconset theme="orientations"/>
</property>
<property name="text">
<string>Rotation</string>
@@ -508,8 +502,7 @@
</action>
<action name="m_rotateFine_action">
<property name="icon">
<iconset theme="orientations" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/orientations.png</normaloff>:/ico/16x16/orientations.png</iconset>
<iconset theme="orientations"/>
</property>
<property name="text">
<string>Fine-Rotation</string>
@@ -535,8 +528,7 @@
</action>
<action name="m_import_dxf">
<property name="icon">
<iconset theme="run-dxf" resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/run-dxf.png</normaloff>:/ico/16x16/run-dxf.png</iconset>
<iconset theme="run-dxf"/>
</property>
<property name="text">
<string>Importer un dxf</string>
+1 -1
View File
@@ -256,7 +256,7 @@ bool ElementsPanel::matchesFilter(const QTreeWidgetItem *item,
void ElementsPanel::reload()
{
QIcon system_icon(":/ico/16x16/qet.png");
QIcon company_icon(":/ico/16x16/go-company.png");
QIcon company_icon = QET::Icons::Company;
QIcon user_icon(":/ico/16x16/go-home.png");
// load the common title block templates collection
+1 -1
View File
@@ -35,7 +35,7 @@ GenericPanel::GenericPanel(QWidget *parent) :
first_activation_(true)
{
header() -> hide();
setIconSize(QSize(50, 50));
setIconSize(QSize(16, 16));
}
/**
+5 -10
View File
@@ -341,8 +341,7 @@
</action>
<action name="m_landscape_action">
<property name="icon">
<iconset theme="landscape" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/landscape.png</normaloff>:/ico/22x22/landscape.png</iconset>
<iconset theme="landscape"/>
</property>
<property name="text">
<string>Paysage</string>
@@ -350,8 +349,7 @@
</action>
<action name="m_portrait_action">
<property name="icon">
<iconset theme="portrait" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/portrait.png</normaloff>:/ico/22x22/portrait.png</iconset>
<iconset theme="portrait"/>
</property>
<property name="text">
<string>Portrait</string>
@@ -359,8 +357,7 @@
</action>
<action name="m_first_page_action">
<property name="icon">
<iconset theme="arrow-left-double" resource="../../qelectrotech.qrc">
<normaloff>:/ico/16x16/arrow-left-double.png</normaloff>:/ico/16x16/arrow-left-double.png</iconset>
<iconset theme="arrow-left-double"/>
</property>
<property name="text">
<string>Première page</string>
@@ -386,8 +383,7 @@
</action>
<action name="m_last_page_action">
<property name="icon">
<iconset theme="arrow-right-double" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/arrow-right-double.png</normaloff>:/ico/22x22/arrow-right-double.png</iconset>
<iconset theme="arrow-right-double"/>
</property>
<property name="text">
<string>Dernière page</string>
@@ -413,8 +409,7 @@
</action>
<action name="m_display_all_page_action">
<property name="icon">
<iconset theme="all_pages" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/all_pages.png</normaloff>:/ico/22x22/all_pages.png</iconset>
<iconset theme="all_pages"/>
</property>
<property name="text">
<string>Afficher un aperçu de toutes les pages</string>
@@ -104,8 +104,7 @@
<string/>
</property>
<property name="icon">
<iconset theme="zoom-fit-best" resource="../../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/zoom-fit-best.png</normaloff>:/ico/22x22/zoom-fit-best.png</iconset>
<iconset theme="zoom-fit-best"/>
</property>
</widget>
</item>
@@ -203,8 +202,7 @@
<string/>
</property>
<property name="icon">
<iconset theme="all_pages" resource="../../../../qelectrotech.qrc">
<normaloff>:/ico/22x22/all_pages.png</normaloff>:/ico/22x22/all_pages.png</iconset>
<iconset theme="all_pages"/>
</property>
</widget>
</item>
+5 -4
View File
@@ -568,10 +568,11 @@ void QET::Icons::initIcons()
// The elements panel shows the project root with this icon in a 50 px
// slot meant for element previews. The theme name "project" also
// carries the 128 px file used by the configuration dialog, and on a
// 2x display Qt's theme loader would pick it and fill the slot. Load
// the two small files directly so the item stays at 16/22 px.
ProjectFileGP.addFile(":/ico/themes/qet/16x16/project.png");
ProjectFileGP.addFile(":/ico/themes/qet/22x22/project.png");
// 2x display Qt's theme loader would pick it and fill the slot. Keep
// only the 16 and 22 px pixmaps so the item stays at that size.
ProjectFileGP = QIcon();
for (int size : {16, 22})
ProjectFileGP.addPixmap(Projects.pixmap(QSize(size, size), 1.0));
QETLogo = QIcon::fromTheme("qet");
QETManual = QIcon::fromTheme("help-contents");
QETLogo.addFile(":/ico/256x256/qet.png");
+3 -6
View File
@@ -363,8 +363,7 @@
<string>neutre</string>
</property>
<property name="icon">
<iconset theme="neutral" resource="../../qelectrotech.qrc">
<normaloff>:/ico/16x16/neutral.png</normaloff>:/ico/16x16/neutral.png</iconset>
<iconset theme="neutral"/>
</property>
</widget>
</item>
@@ -377,8 +376,7 @@
<string>terre</string>
</property>
<property name="icon">
<iconset theme="ground" resource="../../qelectrotech.qrc">
<normaloff>:/ico/16x16/ground.png</normaloff>:/ico/16x16/ground.png</iconset>
<iconset theme="ground"/>
</property>
</widget>
</item>
@@ -391,8 +389,7 @@
<string>phase</string>
</property>
<property name="icon">
<iconset theme="phase" resource="../../qelectrotech.qrc">
<normaloff>:/ico/16x16/phase.png</normaloff>:/ico/16x16/phase.png</iconset>
<iconset theme="phase"/>
</property>
</widget>
</item>
+1 -2
View File
@@ -66,8 +66,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset theme="textfield" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/textfield.png</normaloff>:/ico/22x22/textfield.png</iconset>
<iconset theme="textfield"/>
</property>
</widget>
</item>
+2 -4
View File
@@ -94,8 +94,7 @@
<string notr="true"/>
</property>
<property name="icon">
<iconset theme="titleblock-bottom" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/titleblock-bottom.png</normaloff>:/ico/22x22/titleblock-bottom.png</iconset>
<iconset theme="titleblock-bottom"/>
</property>
</item>
<item>
@@ -103,8 +102,7 @@
<string notr="true"/>
</property>
<property name="icon">
<iconset theme="titleblock-right" resource="../../qelectrotech.qrc">
<normaloff>:/ico/22x22/titleblock-right.png</normaloff>:/ico/22x22/titleblock-right.png</iconset>
<iconset theme="titleblock-right"/>
</property>
</item>
</widget>