Make command bar icons consistent (#1827)

* Add files via upload

* Update mainwindow.cpp

* Update toonz.qrc
This commit is contained in:
artisteacher 2018-03-05 01:17:35 -05:00 committed by Jeremy Bullock
parent 3a1040f273
commit ad1bd10c2e
6 changed files with 10 additions and 13 deletions

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"><g><g><g><path d="M16,1l-6.995,0l-6.997,6.857l0,9.143l13.992,0l0,-16Z" style="fill:#fff;"/><path d="M16,17l-13.992,0l0,-10l4.992,-6l9,0l0,16Zm-8.491,-15.058l-4.509,5.058l-0.03,9.149l12.07,0l-0.04,-14.149l-7.491,-0.058Z" style="fill:#181818;"/></g><g><path d="M8,1l-1,0l-5,6l0.008,1l5.992,0l0,-7Z" style="fill:#d8d8d8;"/><path d="M8,8l-5.992,0l-0.008,-1l5,-6l1,0l0,7Zm-5.003,-0.857l4.146,0l0,-4.975l-4.146,4.975Z"/></g></g><rect x="9.321" y="10.259" width="4.651" height="4.651" style="fill:#707070;stroke:#fff;stroke-width:0.25px;"/><rect x="4" y="10.259" width="4.651" height="4.651" style="fill:#9a9a9a;stroke:#fff;stroke-width:0.25px;"/><rect x="9.444" y="5" width="4.651" height="4.651" style="fill:#4a4a4a;stroke:#fff;stroke-width:0.25px;"/></g></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"><g><g><g><path d="M16,1l-6.995,0l-6.997,6.857l0,9.143l13.992,0l0,-16Z" style="fill:#fff;"/><path d="M16,17l-13.992,0l0,-10l4.992,-6l9,0l0,16Zm-8.491,-15.058l-4.509,5.058l-0.03,9.149l12.07,0l-0.04,-14.149l-7.491,-0.058Z" style="fill:#181818;"/></g><g><path d="M8,1l-1,0l-5,6l0.008,1l5.992,0l0,-7Z" style="fill:#d8d8d8;"/><path d="M8,8l-5.992,0l-0.008,-1l5,-6l1,0l0,7Zm-5.003,-0.857l4.146,0l0,-4.975l-4.146,4.975Z"/></g></g><rect x="5" y="9.716" width="4.296" height="4.296" style="fill:#707070;stroke:#fff;stroke-width:0.25px;"/><path d="M10.335,14.341l0,-6.625l-1.785,-0.044l0,-2.672l5.877,0l0,2.737l-1.706,0.018l0.019,6.601l-2.405,-0.015Z" style="fill:#4a4a4a;stroke:#fff;stroke-width:0.25px;"/></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="vector"><g><g><path d="M16,1l-6.995,0l-6.997,6.857l0,9.143l13.992,0l0,-16Z" style="fill:#fff;"/><path d="M16,17l-13.992,0l0,-10l4.992,-6l9,0l0,16Zm-8.491,-15.058l-4.509,5.058l-0.03,9.149l12.07,0l-0.04,-14.149l-7.491,-0.058Z" style="fill:#181818;"/></g><g><path d="M8,1l-1,0l-5,6l0.008,1l5.992,0l0,-7Z" style="fill:#d8d8d8;"/><path d="M8,8l-5.992,0l-0.008,-1l5,-6l1,0l0,7Zm-5.003,-0.857l4.146,0l0,-4.975l-4.146,4.975Z"/></g></g><g><path d="M14.193,5.522l-1.316,-1.189l-6.363,6.559l-1.68,-2.075l-0.024,6.139l5.831,-0.76l-2.033,-1.489l5.585,-7.185Z" style="fill:#666464;"/><path d="M6.519,11.85l1.095,0.989l5.294,-5.457l1.398,1.726l0.02,-5.108l-4.852,0.632l1.691,1.239l-4.646,5.979Z" style="fill:#666464;"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -1616,15 +1616,15 @@ void MainWindow::defineActions() {
QAction *newVectorLevelAction =
createMenuFileAction(MI_NewVectorLevel, tr("&New Vector Level"), "");
newVectorLevelAction->setIconText(tr("New Vector Level"));
newVectorLevelAction->setIcon(createQIconPNG("new_vector_level"));
newVectorLevelAction->setIcon(QIcon(":Resources/new_vector_level.svg"));
QAction *newToonzRasterLevelAction = createMenuFileAction(
MI_NewToonzRasterLevel, tr("&New Toonz Raster Level"), "");
newToonzRasterLevelAction->setIconText(tr("New Toonz Raster Level"));
newToonzRasterLevelAction->setIcon(createQIconPNG("new_toonz_raster_level"));
newToonzRasterLevelAction->setIcon(QIcon(":Resources/new_toonz_raster_level.svg"));
QAction *newRasterLevelAction =
createMenuFileAction(MI_NewRasterLevel, tr("&New Raster Level"), "");
newRasterLevelAction->setIconText(tr("New Raster Level"));
newRasterLevelAction->setIcon(createQIconPNG("new_raster_level"));
newRasterLevelAction->setIcon(QIcon(":Resources/new_raster_level.svg"));
QAction *loadLevelAction =
createMenuFileAction(MI_LoadLevel, tr("&Load Level..."), "");
loadLevelAction->setIcon(QIcon(":Resources/load_level.svg"));

View file

@ -148,15 +148,9 @@
<file>Resources/my_computer.svg</file>
<file>Resources/my_documents.svg</file>
<file>Resources/network.svg</file>
<file>Resources/new_raster_level.png</file>
<file>Resources/new_raster_level_over.png</file>
<file>Resources/new_raster_level_click.png</file>
<file>Resources/new_toonz_raster_level.png</file>
<file>Resources/new_toonz_raster_level_click.png</file>
<file>Resources/new_toonz_raster_level_over.png</file>
<file>Resources/new_vector_level.png</file>
<file>Resources/new_vector_level_click.png</file>
<file>Resources/new_vector_level_over.png</file>
<file>Resources/new_raster_level.svg</file>
<file>Resources/new_toonz_raster_level.svg</file>
<file>Resources/new_vector_level.svg</file>
<file>Resources/newmemo.svg</file>
<file>Resources/newmemo_disabled.svg</file>
<file>Resources/newstyle.png</file>