[KiCanvas][Added] Icon for the navigate results
This commit is contained in:
parent
4219980c95
commit
3d77351862
|
|
@ -6,6 +6,7 @@ include kibot/resources/images/*.svg
|
|||
include kibot/resources/images/*.ico
|
||||
include kibot/resources/kicad_colors/*.json
|
||||
include kibot/resources/kicad_layouts/*.kicad_wks
|
||||
include kibot/resources/kicanvas/*.svg
|
||||
include kibot/resources/kiri/*.css
|
||||
include kibot/resources/kiri/*.html
|
||||
include kibot/resources/kiri/*.js
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@ kibot/resources/pcbdraw/ /usr/share/kibot/
|
|||
kibot/resources/report_templates/ /usr/share/kibot/
|
||||
kibot/resources/parsers/ /usr/share/kibot/
|
||||
kibot/resources/kiri/ /usr/share/kibot/
|
||||
kibot/resources/kicanvas/ /usr/share/kibot/
|
||||
|
|
|
|||
|
|
@ -175,5 +175,4 @@ class KiCanvas(BaseOutput): # noqa: F821
|
|||
return outs
|
||||
|
||||
def get_navigate_targets(self, out_dir):
|
||||
return (self.options.get_navigate_targets(out_dir), None)
|
||||
# [os.path.join(GS.get_resource_path('kicanvas'), 'images', 'icon.svg')]
|
||||
return (self.options.get_navigate_targets(out_dir), [os.path.join(GS.get_resource_path('kicanvas'), 'kicanvas.svg')])
|
||||
|
|
|
|||
|
|
@ -0,0 +1,44 @@
|
|||
<?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 4096 4096" 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;">
|
||||
<path d="M4024.43,901.669C4024.43,443.523 3652.48,71.567 3194.33,71.567L901.669,71.567C443.523,71.567 71.567,443.523 71.567,901.669L71.567,3194.33C71.567,3652.48 443.523,4024.43 901.669,4024.43L3194.33,4024.43C3652.48,4024.43 4024.43,3652.48 4024.43,3194.33L4024.43,901.669Z" style="fill:url(#_Linear1);"/>
|
||||
<g id="Layer1">
|
||||
<g>
|
||||
<path d="M1448.76,2534.86C1450.13,2535.52 1453.2,2537.25 1453.2,2537.25L1527.04,2579.58C1741.13,2679.39 1995.99,2586.61 2095.81,2372.51C2195.62,2158.41 2102.84,1903.56 1888.74,1803.74L1554.34,1651.38C1530.88,1644.12 1508.46,1630.25 1486.95,1616.42L1471.17,1605.5C1348.11,1513.93 1322.54,1339.68 1414.11,1216.62C1427.54,1199.83 1462.82,1164.75 1488.51,1140.9C1904.01,755.038 2552.42,712.337 3023.54,1062.88C3554.65,1458.05 3665.01,2210.08 3269.83,2741.18C2874.66,3272.29 2122.64,3382.64 1591.53,2987.47C1497.95,2917.84 1403.44,2804.1 1327.94,2695.4L1328.13,2695.14C1302.52,2658.88 1301.74,2608.8 1329.67,2571.26C1356.96,2534.59 1403.6,2520.72 1444.99,2533.28C1445.96,2533.57 1447.53,2534.26 1448.76,2534.86Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;"/>
|
||||
<g>
|
||||
<path d="M3218.82,1808.86C3326.15,1888.72 3348.45,2040.69 3268.59,2148.02C3188.73,2255.35 3036.76,2277.65 2929.43,2197.79C2822.1,2117.93 2799.8,1965.96 2879.66,1858.63C2959.52,1751.3 3111.49,1729 3218.82,1808.86Z" style="fill:rgb(255,126,121);"/>
|
||||
<path d="M3007.03,2433.84C3114.36,2513.7 3136.66,2665.68 3056.8,2773C2976.94,2880.33 2824.97,2902.64 2717.64,2822.78C2610.31,2742.92 2588.01,2590.94 2667.87,2483.61C2747.73,2376.28 2899.7,2353.98 3007.03,2433.84Z" style="fill:rgb(115,250,121);"/>
|
||||
<path d="M2909.09,1216.71C3016.42,1296.57 3038.72,1448.54 2958.86,1555.87C2879,1663.2 2727.03,1685.5 2619.7,1605.64C2512.37,1525.78 2490.07,1373.81 2569.93,1266.48C2649.78,1159.15 2801.76,1136.85 2909.09,1216.71Z" style="fill:rgb(118,214,255);"/>
|
||||
<path d="M2252.85,1030.56C2360.18,1110.41 2382.48,1262.39 2302.62,1369.72C2222.76,1477.05 2070.79,1499.35 1963.46,1419.49C1856.13,1339.63 1833.83,1187.66 1913.69,1080.33C1993.55,972.998 2145.52,950.696 2252.85,1030.56Z" style="fill:rgb(255,133,255);"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer11" serif:id="Layer1">
|
||||
<path d="M693.881,1033.36C690.731,946.257 611.436,787.544 611.436,787.544L752.583,786.329L1364.91,786.329C1364.91,786.329 1255.02,901.06 1250.32,1033.68C1246.47,1119.16 1246.85,1353.71 1248,1549.38C1409.62,1350.97 1629.93,1078.47 1700,981.986C1715.16,960.135 1718.74,945.842 1726.9,927.462C1744.39,866.574 1639.4,786.329 1639.4,786.329L2555.35,786.329L2405.78,977.951L1626.15,1924.67L2509.34,3121.63L2645.76,3308.5L1807.37,3308.5L1859.03,3189.81C1773.03,3059.91 1437.37,2612.84 1248.59,2352.38C1247.48,2607.48 1244.62,2936.07 1250.39,3048.94C1263.59,3217.83 1338.46,3308.08 1338.46,3308.08L589.158,3309.67C589.158,3309.67 684.361,3225.92 693.33,3052.15C699.06,2733.69 707.53,1410.79 693.881,1033.36Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;stroke-miterlimit:2;"/>
|
||||
</g>
|
||||
<g id="Layer12" serif:id="Layer1">
|
||||
<path d="M693.881,1033.36C690.731,946.257 611.436,787.544 611.436,787.544L752.583,786.329L1364.91,786.329C1364.91,786.329 1255.02,901.06 1250.32,1033.68C1246.47,1119.16 1246.85,1353.71 1248,1549.38C1409.62,1350.97 1629.93,1078.47 1700,981.986C1715.16,960.135 1718.74,945.842 1726.9,927.462C1744.39,866.574 1639.4,786.329 1639.4,786.329L2555.35,786.329L2405.78,977.951L1626.15,1924.67L2509.34,3121.63L2645.76,3308.5L1807.37,3308.5L1859.03,3189.81C1773.03,3059.91 1437.37,2612.84 1248.59,2352.38C1247.48,2607.48 1244.62,2936.07 1250.39,3048.94C1263.59,3217.83 1338.46,3308.08 1338.46,3308.08L589.158,3309.67C589.158,3309.67 684.361,3225.92 693.33,3052.15C699.06,2733.69 707.53,1410.79 693.881,1033.36Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;stroke-miterlimit:2;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer13" serif:id="Layer1">
|
||||
<g>
|
||||
<path d="M1448.76,2534.86C1450.13,2535.52 1453.2,2537.25 1453.2,2537.25L1527.04,2579.58C1741.13,2679.39 1995.99,2586.61 2095.81,2372.51C2195.62,2158.41 2102.84,1903.56 1888.74,1803.74L1554.34,1651.38C1530.88,1644.12 1508.46,1630.25 1486.95,1616.42L1471.17,1605.5C1348.11,1513.93 1322.54,1339.68 1414.11,1216.62C1427.54,1199.83 1462.82,1164.75 1488.51,1140.9C1904.01,755.038 2552.42,712.337 3023.54,1062.88C3554.65,1458.05 3665.01,2210.08 3269.83,2741.18C2874.66,3272.29 2122.64,3382.64 1591.53,2987.47C1497.95,2917.84 1403.44,2804.1 1327.94,2695.4L1328.13,2695.14C1302.52,2658.88 1301.74,2608.8 1329.67,2571.26C1356.96,2534.59 1403.6,2520.72 1444.99,2533.28C1445.96,2533.57 1447.53,2534.26 1448.76,2534.86Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;"/>
|
||||
<g>
|
||||
<path d="M3218.82,1808.86C3326.15,1888.72 3348.45,2040.69 3268.59,2148.02C3188.73,2255.35 3036.76,2277.65 2929.43,2197.79C2822.1,2117.93 2799.8,1965.96 2879.66,1858.63C2959.52,1751.3 3111.49,1729 3218.82,1808.86Z" style="fill:rgb(255,126,121);"/>
|
||||
<path d="M3007.03,2433.84C3114.36,2513.7 3136.66,2665.68 3056.8,2773C2976.94,2880.33 2824.97,2902.64 2717.64,2822.78C2610.31,2742.92 2588.01,2590.94 2667.87,2483.61C2747.73,2376.28 2899.7,2353.98 3007.03,2433.84Z" style="fill:rgb(115,250,121);"/>
|
||||
<path d="M2909.09,1216.71C3016.42,1296.57 3038.72,1448.54 2958.86,1555.87C2879,1663.2 2727.03,1685.5 2619.7,1605.64C2512.37,1525.78 2490.07,1373.81 2569.93,1266.48C2649.78,1159.15 2801.76,1136.85 2909.09,1216.71Z" style="fill:rgb(118,214,255);"/>
|
||||
<path d="M2252.85,1030.56C2360.18,1110.41 2382.48,1262.39 2302.62,1369.72C2222.76,1477.05 2070.79,1499.35 1963.46,1419.49C1856.13,1339.63 1833.83,1187.66 1913.69,1080.33C1993.55,972.998 2145.52,950.696 2252.85,1030.56Z" style="fill:rgb(255,133,255);"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer14" serif:id="Layer1">
|
||||
<g id="Layer15" serif:id="Layer1">
|
||||
<path d="M693.881,1033.36C690.731,946.257 611.436,787.544 611.436,787.544L752.583,786.329L1364.91,786.329C1364.91,786.329 1255.02,901.06 1250.32,1033.68C1246.47,1119.16 1246.85,1353.71 1248,1549.38C1409.62,1350.97 1629.93,1078.47 1700,981.986C1715.16,960.135 1718.74,945.842 1726.9,927.462C1744.39,866.574 1639.4,786.329 1639.4,786.329L2555.35,786.329L2405.78,977.951L1626.15,1924.67L2509.34,3121.63L2645.76,3308.5L1807.37,3308.5L1859.03,3189.81C1773.03,3059.91 1437.37,2612.84 1248.59,2352.38C1247.48,2607.48 1244.62,2936.07 1250.39,3048.94C1263.59,3217.83 1338.46,3308.08 1338.46,3308.08L589.158,3309.67C589.158,3309.67 684.361,3225.92 693.33,3052.15C699.06,2733.69 707.53,1410.79 693.881,1033.36Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;stroke-miterlimit:2;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer16" serif:id="Layer1">
|
||||
<path d="M693.881,1033.36C690.731,946.257 611.436,787.544 611.436,787.544L752.583,786.329L1364.91,786.329C1364.91,786.329 1255.02,901.06 1250.32,1033.68C1246.47,1119.16 1246.85,1353.71 1248,1549.38C1409.62,1350.97 1629.93,1078.47 1700,981.986C1715.16,960.135 1718.74,945.842 1726.9,927.462C1744.39,866.574 1639.4,786.329 1639.4,786.329L2555.35,786.329L2405.78,977.951L1626.15,1924.67L2509.34,3121.63L2645.76,3308.5L1807.37,3308.5L1859.03,3189.81C1773.03,3059.91 1437.37,2612.84 1248.59,2352.38C1247.48,2607.48 1244.62,2936.07 1250.39,3048.94C1263.59,3217.83 1338.46,3308.08 1338.46,3308.08L589.158,3309.67C589.158,3309.67 684.361,3225.92 693.33,3052.15C699.06,2733.69 707.53,1410.79 693.881,1033.36Z" style="fill:rgb(247,248,240);stroke:rgb(136,100,203);stroke-width:18px;stroke-miterlimit:2;"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3952.87,3952.87,-3952.87,3952.87,71.5671,71.5671)"><stop offset="0" style="stop-color:rgb(136,100,203);stop-opacity:1"/><stop offset="0.56" style="stop-color:rgb(150,100,189);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(203,100,136);stop-opacity:1"/></linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.4 KiB |
|
|
@ -13,3 +13,6 @@ outputs:
|
|||
# local_script: false
|
||||
# source: ['schematic', 'pcb', 'project', 'pp']
|
||||
# source: pp
|
||||
|
||||
- name: 'Navigate'
|
||||
type: navigate_results
|
||||
|
|
|
|||
Loading…
Reference in New Issue