Fix new SVG Xsheet Icons

This commit is contained in:
MrBlockCat 2020-03-31 16:59:33 -04:00
parent 0f666dcfce
commit afbc0cb8ee
9 changed files with 4 additions and 42 deletions

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M4.990000,6.460000 C4.090000,6.460000,3.190000,6.450000,2.480000,6.460000 C2.442780,8.730400,2.481390,14.288960,2.500000,15.480000 C4.330000,15.500000,13.380000,15.530000,15.503160,15.497390 C15.485700,13.936270,15.500000,13.130001,15.490000,12.540000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M4.990000,6.460000 C4.090000,6.460000,3.190000,6.450000,2.480000,6.460000 C2.442780,8.730400,2.481390,14.288960,2.500000,15.480000 C4.330000,15.500000,13.380000,15.530000,15.503160,15.497390 C15.485700,13.936270,15.500000,13.130001,15.490000,12.540000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(255, 255, 255, 1.000000); " fill="none" stroke="#feffff" stroke-width="1.000000" />
<path d="M4.516115,2.800300 C4.528944,2.710657,7.148933,1.495891,9.152529,1.827633 C12.707960,2.368776,13.771301,7.426581,13.771301,7.426581 L15.813615,7.454499 L11.502122,12.703727 L7.213098,7.410067 L9.413451,7.456206 C9.413451,7.456206,10.450825,5.202870,8.518152,4.027119 C8.138082,3.730255,4.496078,2.940309,4.516115,2.800310 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(255, 255, 255, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#ffffff" stroke="#000000" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M4.990000,6.460000 C4.090000,6.460000,3.190000,6.450000,2.480000,6.460000 C2.442780,8.730400,2.481390,14.288960,2.500000,15.480000 C4.330000,15.500000,13.380000,15.530000,15.503160,15.497390 C15.485700,13.936270,15.500000,13.130001,15.490000,12.540000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M4.990000,6.460000 C4.090000,6.460000,3.190000,6.450000,2.480000,6.460000 C2.442780,8.730400,2.481390,14.288960,2.500000,15.480000 C4.330000,15.500000,13.380000,15.530000,15.503160,15.497390 C15.485700,13.936270,15.500000,13.130001,15.490000,12.540000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(218, 218, 218, 1.000000); " fill="none" stroke="#e1e1e1" stroke-width="1.000000" />
<path d="M4.516115,2.800300 C4.528944,2.710657,7.148933,1.495891,9.152529,1.827633 C12.707960,2.368776,13.771301,7.426581,13.771301,7.426581 L15.813615,7.454499 L11.502122,12.703727 L7.213098,7.410067 L9.413451,7.456206 C9.413451,7.456206,10.450825,5.202870,8.518152,4.027119 C8.138082,3.730255,4.496078,2.940309,4.516115,2.800310 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(218, 218, 218, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#e1e1e1" stroke="#000000" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -1,4 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M2.748720,11.941250 C2.659070,11.928470,1.442850,9.309156,1.773480,7.305376 C2.312650,3.749646,7.369865,2.683498,7.369865,2.683498 L7.396650,0.641170 L12.648270,4.949749 L7.356990,9.241709 L7.401908,7.041332 C7.401908,7.041332,5.147997,6.005207,3.973318,7.938532 C3.676665,8.318767,2.888740,11.961209,2.748730,11.941249 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(255, 255, 255, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#ffffff" stroke="#000000" stroke-width="1.000000" />
<path d="M15.281711,6.128975 C15.371353,6.141811,16.585913,8.761895,16.254014,10.765465 C15.712592,14.320853,10.654704,15.383797,10.654704,15.383797 L10.626625,17.426109 L5.377735,13.114204 L10.671732,8.825596 L10.625421,11.025945 C10.625421,11.025945,12.878675,12.063497,14.054577,10.130916 C14.351471,9.750869,15.141703,6.108926,15.281701,6.128975 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(255, 255, 255, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#ffffff" stroke="#000000" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1,4 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M2.748720,11.941250 C2.659070,11.928470,1.442850,9.309156,1.773480,7.305376 C2.312650,3.749646,7.369865,2.683498,7.369865,2.683498 L7.396650,0.641170 L12.648270,4.949749 L7.356990,9.241709 L7.401908,7.041332 C7.401908,7.041332,5.147997,6.005207,3.973318,7.938532 C3.676665,8.318767,2.888740,11.961209,2.748730,11.941249 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(218, 218, 218, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#e1e1e1" stroke="#000000" stroke-width="1.000000" />
<path d="M15.281711,6.128975 C15.371353,6.141811,16.585913,8.761895,16.254014,10.765465 C15.712592,14.320853,10.654704,15.383797,10.654704,15.383797 L10.626625,17.426109 L5.377735,13.114204 L10.671732,8.825596 L10.625421,11.025945 C10.625421,11.025945,12.878675,12.063497,14.054577,10.130916 C14.351471,9.750869,15.141703,6.108926,15.281701,6.128975 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(209, 209, 209, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#dadada" stroke="#000000" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M10.271035,3.473504 L15.546489,3.473504 L15.516040,14.534751 L10.310000,14.530000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M5.368814,11.477282 L1.397370,11.456219 L1.397370,6.514975 L5.370742,6.514975 L5.399711,2.972504 L11.690000,9.000000 L5.397783,15.015564 L5.368814,11.477282 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(255, 255, 255, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#ffffff" stroke="#000000" stroke-width="1.000000" />
<path d="M10.271035,3.473504 L15.546489,3.473504 L15.516040,14.534751 L10.310000,14.530000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(255, 255, 255, 1.000000); " fill="none" stroke="#ffffff" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M10.271035,3.473504 L15.546489,3.473504 L15.516040,14.534751 L10.310000,14.530000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M5.368814,11.477282 L1.397370,11.456219 L1.397370,6.514975 L5.370742,6.514975 L5.399711,2.972504 L11.690000,9.000000 L5.397783,15.015564 L5.368814,11.477282 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(218, 218, 218, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#e1e1e1" stroke="#000000" stroke-width="1.000000" />
<path d="M10.271035,3.473504 L15.546489,3.473504 L15.516040,14.534751 L10.310000,14.530000 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(218, 218, 218, 1.000000); " fill="none" stroke="#e1e1e1" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M7.548812,14.533432 L2.273359,14.535649 L2.299161,3.474389 L7.505202,3.476953 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M10.079799,11.477282 L6.108355,11.456219 L6.108355,6.514975 L10.081727,6.514975 L10.110695,2.972504 L16.400985,9.000000 L10.108768,15.015564 L10.079799,11.477282 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(255, 255, 255, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#ffffff" stroke="#000000" stroke-width="1.000000" />
<path d="M7.548812,14.533853 L2.273359,14.536069 L2.299161,3.474809 L7.505202,3.477373 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(255, 255, 255, 1.000000); " fill="none" stroke="#ffffff" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,5 +0,0 @@
<svg width="18px" height="18px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g style=""> <path d="M7.548812,14.533432 L2.273359,14.535649 L2.299161,3.474389 L7.505202,3.476953 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 3.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="none" stroke="#000000" stroke-width="3.000000" />
<path d="M10.079799,11.477282 L6.108355,11.456219 L6.108355,6.514975 L10.081727,6.514975 L10.110695,2.972504 L16.400985,9.000000 L10.108768,15.015564 L10.079799,11.477282 Z " stroke-linejoin="round" stroke-linecap="round" style="fill: rgba(218, 218, 218, 1.000000); stroke-width: 1.000000px; stroke: rgba(0, 0, 0, 1.000000); " fill="#e1e1e1" stroke="#000000" stroke-width="1.000000" />
<path d="M7.548812,14.533853 L2.273359,14.536069 L2.299161,3.474809 L7.505202,3.477373 " stroke-linejoin="round" stroke-linecap="round" style="fill: none; stroke-width: 1.000000px; stroke: rgba(218, 218, 218, 1.000000); " fill="none" stroke="#e1e1e1" stroke-width="1.000000" />
</g></svg>

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1764,19 +1764,19 @@ void MainWindow::defineActions() {
QAction *openChildAction = QAction *openChildAction =
createMenuXsheetAction(MI_OpenChild, tr("&Open Sub-xsheet"), ""); createMenuXsheetAction(MI_OpenChild, tr("&Open Sub-xsheet"), "");
openChildAction->setIconText("Open Sub-XSheet"); openChildAction->setIconText("Open Sub-XSheet");
openChildAction->setIcon(createQIconOnOff("sub_enter")); openChildAction->setIcon(QIcon(":Resources/sub_enter.svg"));
QAction *closeChildAction = QAction *closeChildAction =
createMenuXsheetAction(MI_CloseChild, tr("&Close Sub-xsheet"), ""); createMenuXsheetAction(MI_CloseChild, tr("&Close Sub-xsheet"), "");
closeChildAction->setIconText("Close Sub-XSheet"); closeChildAction->setIconText("Close Sub-XSheet");
closeChildAction->setIcon(createQIconOnOff("sub_leave")); closeChildAction->setIcon(QIcon(":Resources/sub_leave.svg"));
createMenuXsheetAction(MI_ExplodeChild, tr("Explode Sub-xsheet"), ""); createMenuXsheetAction(MI_ExplodeChild, tr("Explode Sub-xsheet"), "");
QAction *collapseAction = QAction *collapseAction =
createMenuXsheetAction(MI_Collapse, tr("Collapse"), ""); createMenuXsheetAction(MI_Collapse, tr("Collapse"), "");
collapseAction->setIconText("Collapse"); collapseAction->setIconText("Collapse");
collapseAction->setIcon(createQIconOnOff("collapse")); collapseAction->setIcon(QIcon(":Resources/collapse.svg"));
toggle = createToggle(MI_ToggleEditInPlace, tr("&Toggle Edit In Place"), "", toggle = createToggle(MI_ToggleEditInPlace, tr("&Toggle Edit In Place"), "",
EditInPlaceToggleAction ? 1 : 0, MenuXsheetCommandType); EditInPlaceToggleAction ? 1 : 0, MenuXsheetCommandType);
@ -1821,7 +1821,7 @@ void MainWindow::defineActions() {
QAction *repeatAction = createMenuCellsAction(MI_Dup, tr("&Repeat..."), ""); QAction *repeatAction = createMenuCellsAction(MI_Dup, tr("&Repeat..."), "");
repeatAction->setIconText("Repeat"); repeatAction->setIconText("Repeat");
repeatAction->setIcon(createQIconOnOff("repeat_icon")); repeatAction->setIcon(QIcon(":Resources/repeat.svg"));
createMenuCellsAction(MI_ResetStep, tr("&Reset Step"), ""); createMenuCellsAction(MI_ResetStep, tr("&Reset Step"), "");
createMenuCellsAction(MI_IncreaseStep, tr("&Increase Step"), "'"); createMenuCellsAction(MI_IncreaseStep, tr("&Increase Step"), "'");