1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Icons renaming refactoring

This commit is contained in:
gigas002 2024-06-06 02:04:36 +00:00
parent 958a2ef835
commit 2f19133638
8 changed files with 45 additions and 44 deletions

View File

@ -226,7 +226,7 @@ if(NOT WIN32 AND NOT APPLE)
foreach(iconSize 32 48 64 128 256)
install(FILES "icons/mapeditor.${iconSize}x${iconSize}.png"
DESTINATION "share/icons/hicolor/${iconSize}x${iconSize}/apps"
RENAME mapeditor.png
RENAME vcmieditor.png
)
endforeach()
install(FILES "vcmieditor.desktop" DESTINATION share/applications)

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -199,10 +199,11 @@ MainWindow::MainWindow(QWidget* parent) :
ui->toolBrush->setIcon(QIcon{":/icons/brush-1.png"});
ui->toolBrush2->setIcon(QIcon{":/icons/brush-2.png"});
ui->toolBrush4->setIcon(QIcon{":/icons/brush-4.png"});
ui->toolLasso->setIcon(QIcon{":/icons/brush-3.png"});
ui->toolLine->setIcon(QIcon{":/icons/brush-7.png"});
ui->toolArea->setIcon(QIcon{":/icons/brush-5.png"});
ui->toolFill->setIcon(QIcon{":/icons/brush-6.png"});
ui->toolLasso->setIcon(QIcon{":/icons/tool-lasso.png"});
ui->toolLine->setIcon(QIcon{":/icons/tool-line.png"});
ui->toolArea->setIcon(QIcon{":/icons/tool-area.png"});
ui->toolFill->setIcon(QIcon{":/icons/tool-fill.png"});
ui->toolSelect->setIcon(QIcon{":/icons/tool-select.png"});
ui->actionOpen->setIcon(QIcon{":/icons/document-open.png"});
ui->actionSave->setIcon(QIcon{":/icons/document-save.png"});
ui->actionNew->setIcon(QIcon{":/icons/document-new.png"});

View File

@ -1,45 +1,45 @@
<RCC>
<qresource prefix="/">
<file>icons/toggle-grid.png</file>
<file>icons/lock-open.png</file>
<file>icons/brush-3.png</file>
<file>icons/mod-download.png</file>
<file>icons/toggle-pass.png</file>
<file>icons/mapeditor.256x256.png</file>
<file>icons/mapeditor.64x64.png</file>
<file>icons/edit-clear.png</file>
<file>icons/document-open.png</file>
<file>icons/brush-5.png</file>
<file>icons/document-new.png</file>
<file>icons/mapeditor.128x128.png</file>
<file>icons/lock-closed.png</file>
<file>icons/toggle-underground.png</file>
<file>icons/zoom_zero.png</file>
<file>icons/brush-1.png</file>
<file>icons/edit-redo.png</file>
<file>icons/edit-copy.png</file>
<file>icons/edit-undo.png</file>
<file>icons/mapeditor.32x32.png</file>
<file>icons/brush-6.png</file>
<file>icons/edit-cut.png</file>
<file>icons/menu-settings.png</file>
<file>icons/fill-obstacles.png</file>
<file>icons/mod-delete.png</file>
<file>icons/mod-enabled.png</file>
<file>icons/mod-disabled.png</file>
<file>icons/menu-game.png</file>
<file>icons/mod-update.png</file>
<file>icons/brush-7.png</file>
<file>icons/zoom_minus.png</file>
<file>icons/zoom_base.png</file>
<file>icons/menu-mods.png</file>
<file>icons/edit-paste.png</file>
<file>icons/translations.png</file>
<file>icons/zoom_plus.png</file>
<file>icons/brush-4.png</file>
<file>icons/mapeditor.48x48.png</file>
<file>icons/document-save.png</file>
<file>icons/brush-2.png</file>
<file>icons/brush-0.png</file>
<file>icons/brush-4.png</file>
<file>icons/document-new.png</file>
<file>icons/document-open.png</file>
<file>icons/document-save.png</file>
<file>icons/edit-clear.png</file>
<file>icons/edit-copy.png</file>
<file>icons/edit-cut.png</file>
<file>icons/edit-paste.png</file>
<file>icons/edit-redo.png</file>
<file>icons/edit-undo.png</file>
<file>icons/fill-obstacles.png</file>
<file>icons/lock-closed.png</file>
<file>icons/lock-open.png</file>
<file>icons/mapeditor.32x32.png</file>
<file>icons/mapeditor.48x48.png</file>
<file>icons/mapeditor.64x64.png</file>
<file>icons/mapeditor.128x128.png</file>
<file>icons/mapeditor.256x256.png</file>
<file>icons/menu-game.png</file>
<file>icons/menu-mods.png</file>
<file>icons/menu-settings.png</file>
<file>icons/mod-delete.png</file>
<file>icons/mod-disabled.png</file>
<file>icons/mod-download.png</file>
<file>icons/mod-enabled.png</file>
<file>icons/mod-update.png</file>
<file>icons/toggle-grid.png</file>
<file>icons/toggle-pass.png</file>
<file>icons/toggle-underground.png</file>
<file>icons/tool-area.png</file>
<file>icons/tool-fill.png</file>
<file>icons/tool-lasso.png</file>
<file>icons/tool-line.png</file>
<file>icons/tool-select.png</file>
<file>icons/translations.png</file>
<file>icons/zoom_base.png</file>
<file>icons/zoom_minus.png</file>
<file>icons/zoom_plus.png</file>
<file>icons/zoom_zero.png</file>
</qresource>
</RCC>