Qt: Add new icon for gametrak and realplay

This commit is contained in:
KamFretoZ 2024-07-30 13:27:29 +07:00 committed by Ty
parent c3a5b13301
commit d6e57f3867
8 changed files with 101 additions and 38 deletions

View File

@ -974,7 +974,9 @@ QIcon USBDeviceWidget::getIcon() const
{"printer", "printer-line"}, // Printer
{"Keyboardmania", "keyboardmania-line"}, // KeyboardMania
{"guncon2", "guncon2-line"}, // GunCon 2
{"DJTurntable", "dj-hero-line"} // DJ Hero TurnTable
{"DJTurntable", "dj-hero-line"}, // DJ Hero TurnTable
{"Gametrak", "gametrak-line"}, // Gametrak Device
{"RealPlay", "realplay-sphere-line"} // RealPlay Device
};
for (size_t i = 0; i < std::size(icons); i++)

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="PCSX2_-_Gametrak" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 150 150" style="enable-background:new 0 0 150 150;" xml:space="preserve">
<g id="By_Maxihplay">
<g>
<path d="M73.8,124.7c-7.8,0-14.8-1.8-21.8-5.7c-2.5,2.1-5.7,3.1-9.2,2.7L30,120.3c0,0-0.1,0-0.1,0c-6-0.8-11.4-4.1-14.8-9.1
c-3.4-5-4.5-11.2-3.1-17.1l14-57.1c1.3-5.2,5.9-9,11.3-9.2l15.2-0.5c3.2-0.1,6.3,1.2,8.5,3.6c1.1,1.2,1.9,2.7,2.4,4.2
c3-0.6,6.1-1,9.2-1.1c4.9-0.2,9.8,0.4,14.5,1.5c0.4-1.7,1.3-3.3,2.5-4.6c2.2-2.4,5.3-3.7,8.5-3.6l15.2,0.5c5.4,0.2,10,4,11.3,9.2
l14,57.1c0,0.1,0.1,0.2,0.1,0.3c1.3,5.8,0.2,11.9-3.2,16.8c-3.4,5-8.8,8.3-14.8,9.1c0,0-0.1,0-0.1,0l-12.9,1.4
c-3.9,0.5-7.6-0.9-10.1-3.6c-6.9,4.2-13.7,6.2-21.8,6.5C75,124.7,74.4,124.7,73.8,124.7z M50.2,104.9c1.2,0,2.4,0.4,3.4,1.1
c7.4,5.1,13.6,7,21.6,6.7c7.8-0.3,13.9-2.7,21-8.3c1.7-1.3,4-1.7,6-0.9c2,0.8,3.4,2.6,3.7,4.8l0.2,1.5c0,0,0.1,0,0.1,0l12.9-1.4
c2.6-0.4,4.9-1.8,6.4-4c1.5-2.2,2-4.9,1.4-7.5c0-0.1,0-0.2-0.1-0.3l-13.9-56.8c0,0,0-0.1-0.1-0.1l-14-0.5l0.5,3.9
c0.3,2.2-0.6,4.3-2.4,5.6c-1.8,1.3-4.1,1.5-6.1,0.6c-5.5-2.5-11.7-3.7-18-3.5c-4.7,0.2-9.2,1.1-13.5,2.8c-2,0.8-4.2,0.5-5.9-0.8
c-1.7-1.3-2.5-3.4-2.3-5.5l0.4-3.1l-14,0.5c0,0-0.1,0-0.1,0.1l-14,57.1c-0.6,2.6-0.2,5.3,1.4,7.5c1.5,2.2,3.8,3.6,6.4,4l12.9,1.4
c0,0,0.1,0,0.1,0c0.4-2,1.7-3.7,3.6-4.5C48.7,105.1,49.5,104.9,50.2,104.9z"/>
</g>
<g>
<path d="M75.2,83.5c-7.1,0-12.8-4.7-12.8-10.5s5.8-10.5,12.8-10.5S88.1,67.2,88.1,73S82.3,83.5,75.2,83.5z"/>
</g>
<path d="M113.2,78c-6.7,0-12.1-4.4-12.1-9.9c0-5.4,5.4-9.9,12.1-9.9c6.6,0,12.1,4.4,12.1,9.9C125.3,73.6,119.9,78,113.2,78z"/>
<path d="M36.6,78c-6.6,0-12.1-4.4-12.1-9.9c0-5.4,5.4-9.9,12.1-9.9s12.1,4.4,12.1,9.9C48.7,73.6,43.3,78,36.6,78z"/>
</g>
<path d="M41.8,65.7l-4.9,3.6L8.1,37.7c-1.7-1.9-1.4-4.8,0.6-6.3l7.5-5.5c1.8-1.3,4.4-0.7,5.4,1.3L41.8,65.7z"/>
<path d="M108.8,65.7l4.9,3.6l28.9-31.5c1.7-1.9,1.4-4.8-0.6-6.3l-7.5-5.5c-1.8-1.3-4.4-0.7-5.4,1.3L108.8,65.7z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -6,20 +6,15 @@
stroke: #000;
stroke-width: 9px;
}
.cls-2 {
fill-rule: evenodd;
}
</style>
</defs>
<g id="by_Maxihplay" data-name="by Maxihplay">
<g id="seta">
<polygon class="cls-2" points="111.66 67.01 119.89 75.72 111.66 83.64 111.66 67.01"/>
<polygon points="106.66 57.97 106.66 92.03 124.51 75.8 106.66 57.97 106.66 57.97"/>
<polygon points="57.97 43.34 92.03 43.34 75.8 25.49 57.97 43.34 57.97 43.34"/>
</g>
<g id="Formato-2">
<path d="m145.26,129.28H23.78c-10.53,0-19.09-8.56-19.09-19.09V39.8c0-10.53,8.56-19.09,19.09-19.09h121.53l-.05,108.59h0v-.02h0ZM23.78,33.71c-3.91,0-7.09,3.18-7.09,7.09v68.4c0,3.91,3.18,7.09,7.09,7.09h109.48l.04-82.59H23.78Z"/>
<path d="m129.28,4.74v121.48c0,10.53-8.56,19.09-19.09,19.09H39.8c-10.53,0-19.09-8.56-19.09-19.09V4.69l108.59.05h-.02,0ZM32.71,126.22c0,3.91,4.18,7.09,8.09,7.09h68.4c3.91,0,8.09-3.18,8.09-7.09V16.74l-84.59-.04v109.52h.01Z"/>
</g>
<path id="etiqueta-2" class="cls-1" d="m59.28,53.8v42.4c0,2.23-1.76,4.04-3.94,4.04h-17.68c-2.17,0-3.94-1.81-3.94-4.04h0v-42.4c0-2.23,1.76-4.04,3.94-4.04h17.68c2.17,0,3.94,1.81,3.94,4.04Z"/>
<path id="etiqueta-2" class="cls-1" d="m53.8,90.72h42.4c2.23,0,4.04,1.76,4.04,3.94v17.68c0,2.17-1.81,3.94-4.04,3.94h-42.4c-2.23,0-4.04-1.76-4.04-3.94v-17.68c0-2.17,1.81-3.94,4.04-3.94Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 903 B

View File

@ -0,0 +1,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
<svg width="256px" height="256px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
<g id="SVGRepo_iconCarrier"> <circle cx="12" cy="12" r="10" stroke="#000000" stroke-width="1.5"/> <circle cx="12" cy="7" r="1.5" transform="rotate(-90 12 7)" stroke="#000000" stroke-width="1.5"/> <circle cx="12" cy="12" r="1.5" transform="rotate(-90 12 12)" stroke="#000000" stroke-width="1.5"/> <path d="M8 8C8.82843 8 9.5 8.67157 9.5 9.5C9.5 10.3284 8.82843 11 8 11C7.17157 11 6.5 10.3284 6.5 9.5C6.5 8.67157 7.17157 8 8 8Z" stroke="#000000" stroke-width="1.5"/> </g>
</svg>

After

Width:  |  Height:  |  Size: 891 B

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="PCSX2_-_Gametrak" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 150 150" style="enable-background:new 0 0 150 150;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g id="By_Maxihplay">
<g>
<path class="st0" d="M73.8,124.7c-7.8,0-14.8-1.8-21.8-5.7c-2.5,2.1-5.7,3.1-9.2,2.7L30,120.3c0,0-0.1,0-0.1,0
c-6-0.8-11.4-4.1-14.8-9.1c-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12.8-10.5S88.1,67.2,88.1,73S82.3,83.5,75.2,83.5z"/>
</g>
<path class="st0" d="M113.2,78c-6.7,0-12.1-4.4-12.1-9.9c0-5.4,5.4-9.9,12.1-9.9c6.6,0,12.1,4.4,12.1,9.9
C125.3,73.6,119.9,78,113.2,78z"/>
<path class="st0" d="M36.6,78c-6.6,0-12.1-4.4-12.1-9.9c0-5.4,5.4-9.9,12.1-9.9s12.1,4.4,12.1,9.9C48.7,73.6,43.3,78,36.6,78z"/>
</g>
<path class="st0" d="M41.8,65.7l-4.9,3.6L8.1,37.7c-1.7-1.9-1.4-4.8,0.6-6.3l7.5-5.5c1.8-1.3,4.4-0.7,5.4,1.3L41.8,65.7z"/>
<path class="st0" d="M108.8,65.7l4.9,3.6l28.9-31.5c1.7-1.9,1.4-4.8-0.6-6.3l-7.5-5.5c-1.8-1.3-4.4-0.7-5.4,1.3L108.8,65.7z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,29 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="memory_card_-_PCSX2" data-name="memory card - PCSX2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150">
<defs>
<style>
.cls-1, .cls-2, .cls-3 {
fill: #fff;
}
.cls-2 {
fill-rule: evenodd;
}
.cls-3 {
stroke: #fff;
stroke-width: 9px;
}
</style>
</defs>
<g id="by_Maxihplay" data-name="by Maxihplay">
<g id="seta">
<polygon class="cls-2" points="111.66 67.01 119.89 75.72 111.66 83.64 111.66 67.01"/>
<polygon class="cls-1" points="106.66 57.97 106.66 92.03 124.51 75.8 106.66 57.97 106.66 57.97"/>
</g>
<g id="Formato-2">
<path class="cls-1" d="m145.26,129.28H23.78c-10.53,0-19.09-8.56-19.09-19.09V39.8c0-10.53,8.56-19.09,19.09-19.09h121.53l-.05,108.59h0v-.02h0ZM23.78,33.71c-3.91,0-7.09,3.18-7.09,7.09v68.4c0,3.91,3.18,7.09,7.09,7.09h109.48l.04-82.59H23.78Z"/>
</g>
<path id="etiqueta-2" class="cls-3" d="m59.28,53.8v42.4c0,2.23-1.76,4.04-3.94,4.04h-17.68c-2.17,0-3.94-1.81-3.94-4.04h0v-42.4c0-2.23,1.76-4.04,3.94-4.04h17.68c2.17,0,3.94,1.81,3.94,4.04Z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="memory_card_-_PCSX2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
x="0px" y="0px" viewBox="0 0 150 150" style="enable-background:new 0 0 150 150;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
.st1{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:9;}
</style>
<g id="by_Maxihplay">
<g id="seta">
<polygon class="st0" points="58,43.3 92,43.3 75.8,25.5 58,43.3 "/>
</g>
<g id="Formato-2">
<path class="st0" d="M129.3,4.7v121.5c0,10.5-8.6,19.1-19.1,19.1H39.8c-10.5,0-19.1-8.6-19.1-19.1V4.7L129.3,4.7L129.3,4.7
L129.3,4.7L129.3,4.7z M32.7,126.2c0,3.9,4.2,7.1,8.1,7.1h68.4c3.9,0,8.1-3.2,8.1-7.1V16.7l-84.6,0L32.7,126.2
C32.7,126.2,32.7,126.2,32.7,126.2z"/>
</g>
<path id="etiqueta-2" class="st1" d="M53.8,90.7h42.4c2.2,0,4,1.8,4,3.9v17.7c0,2.2-1.8,3.9-4,3.9H53.8c-2.2,0-4-1.8-4-3.9V94.7
C49.8,92.5,51.6,90.7,53.8,90.7z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
<svg width="256px" height="256px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
<g id="SVGRepo_iconCarrier"> <circle cx="12" cy="12" r="10" stroke="#ffffff" stroke-width="1.5"/> <circle cx="12" cy="7" r="1.5" transform="rotate(-90 12 7)" stroke="#ffffff" stroke-width="1.5"/> <circle cx="12" cy="12" r="1.5" transform="rotate(-90 12 12)" stroke="#ffffff" stroke-width="1.5"/> <path d="M8 8C8.82843 8 9.5 8.67157 9.5 9.5C9.5 10.3284 8.82843 11 8 11C7.17157 11 6.5 10.3284 6.5 9.5C6.5 8.67157 7.17157 8 8 8Z" stroke="#ffffff" stroke-width="1.5"/> </g>
</svg>

After

Width:  |  Height:  |  Size: 891 B

View File

@ -47,6 +47,7 @@
<file>icons/black/svg/folder-settings-line.svg</file>
<file>icons/black/svg/fullscreen-line.svg</file>
<file>icons/black/svg/function-line.svg</file>
<file>icons/black/svg/gametrak-line.svg</file>
<file>icons/black/svg/github.svg</file>
<file>icons/black/svg/global-line.svg</file>
<file>icons/black/svg/guitar-line.svg</file>
@ -74,6 +75,7 @@
<file>icons/black/svg/Popn-line.svg</file>
<file>icons/black/svg/price-tag-3-line.svg</file>
<file>icons/black/svg/printer-line.svg</file>
<file>icons/black/svg/realplay-sphere-line.svg</file>
<file>icons/black/svg/refresh-line.svg</file>
<file>icons/black/svg/restart-line.svg</file>
<file>icons/black/svg/save-3-line.svg</file>
@ -145,6 +147,7 @@
<file>icons/white/svg/folder-settings-line.svg</file>
<file>icons/white/svg/fullscreen-line.svg</file>
<file>icons/white/svg/function-line.svg</file>
<file>icons/white/svg/gametrak-line.svg</file>
<file>icons/white/svg/github.svg</file>
<file>icons/white/svg/global-line.svg</file>
<file>icons/white/svg/guitar-line.svg</file>
@ -172,6 +175,7 @@
<file>icons/white/svg/Popn-line.svg</file>
<file>icons/white/svg/price-tag-3-line.svg</file>
<file>icons/white/svg/printer-line.svg</file>
<file>icons/white/svg/realplay-sphere-line.svg</file>
<file>icons/white/svg/refresh-line.svg</file>
<file>icons/white/svg/restart-line.svg</file>
<file>icons/white/svg/save-3-line.svg</file>