Qt: Add icons by @andercard0

This commit is contained in:
Connor McLaughlin 2021-05-26 13:33:23 +10:00
parent 3ab7dcff82
commit 205e18a0c7
36 changed files with 83 additions and 16 deletions

View file

@ -34,7 +34,7 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources/resources.qrc">:/icons/software-update-available.png</pixmap>
<pixmap resource="resources/resources.qrc">:/icons/UpdateDuck.png</pixmap>
</property>
</widget>
</item>

View file

@ -834,6 +834,7 @@ void MainWindow::setupAdditionalUi()
QAction* action = language_group->addAction(it.first);
action->setCheckable(true);
action->setChecked(current_language == it.second);
action->setIcon(QIcon(QStringLiteral(":/icons/flags/%1.png").arg(it.second)));
m_ui.menuSettingsLanguage->addAction(action);
action->setData(it.second);
connect(action, &QAction::triggered, [this, action]() {

View file

@ -447,32 +447,62 @@
</property>
</action>
<action name="actionGitHubRepository">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/github.png</normaloff>:/icons/github.png
</iconset>
</property>
<property name="text">
<string>&amp;GitHub Repository...</string>
</property>
</action>
<action name="actionIssueTracker">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/IssueTracker.png</normaloff>:/icons/IssueTracker.png
</iconset>
</property>
<property name="text">
<string>&amp;Issue Tracker...</string>
</property>
</action>
<action name="actionDiscordServer">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/discord.png</normaloff>:/icons/discord.png
</iconset>
</property>
<property name="text">
<string>&amp;Discord Server...</string>
</property>
</action>
<action name="actionCheckForUpdates">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/update.png</normaloff>:/icons/update.png
</iconset>
</property>
<property name="text">
<string>Check for &amp;Updates...</string>
</property>
</action>
<action name="actionAboutQt">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/QT.png</normaloff>:/icons/QT.png
</iconset>
</property>
<property name="text">
<string>About &amp;Qt...</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/duck_64.png</normaloff>:/icons/duck_64.png
</iconset>
</property>
<property name="text">
<string>&amp;About DuckStation...</string>
</property>
</action>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -11,10 +11,10 @@
<file>icons/applications-internet.png</file>
<file>icons/applications-other.png</file>
<file>icons/applications-other@2x.png</file>
<file>icons/applications-system.png</file>
<file>icons/applications-system@2x.png</file>
<file>icons/applications-system-24.png</file>
<file>icons/applications-system-24@2x.png</file>
<file>icons/applications-system.png</file>
<file>icons/applications-system@2x.png</file>
<file>icons/audio-card.png</file>
<file>icons/audio-card@2x.png</file>
<file>icons/camera-photo.png</file>
@ -26,16 +26,17 @@
<file>icons/cover-placeholder.png</file>
<file>icons/debug-execute-from-cursor.png</file>
<file>icons/debug-execute-to-cursor.png</file>
<file>icons/debug-run-cursor.png</file>
<file>icons/debug-run.png</file>
<file>icons/debug-pc.png</file>
<file>icons/debug-pc@2x.png</file>
<file>icons/debug-run-cursor.png</file>
<file>icons/debug-run.png</file>
<file>icons/debug-step-instruction.png</file>
<file>icons/debug-step-into-instruction.png</file>
<file>icons/debug-step-into.png</file>
<file>icons/debug-step-out.png</file>
<file>icons/debug-step-over.png</file>
<file>icons/debug-trace.png</file>
<file>icons/discord.png</file>
<file>icons/document-new.png</file>
<file>icons/document-new@2x.png</file>
<file>icons/document-open.png</file>
@ -55,37 +56,69 @@
<file>icons/emblem-person-blue.png</file>
<file>icons/emblem-person-blue@2x.png</file>
<file>icons/flag-eu.png</file>
<file>icons/flag-eu.svg</file>
<file>icons/flag-eu@2x.png</file>
<file>icons/flag-jp.png</file>
<file>icons/flag-jp.svg</file>
<file>icons/flag-jp@2x.png</file>
<file>icons/flag-other.png</file>
<file>icons/flag-other@2x.png</file>
<file>icons/flag-uc.png</file>
<file>icons/flag-uc.svg</file>
<file>icons/flag-uc@2x.png</file>
<file>icons/flag-us.png</file>
<file>icons/flag-us.svg</file>
<file>icons/flag-us@2x.png</file>
<file>icons/flags/de.png</file>
<file>icons/flags/de@2x.png</file>
<file>icons/flags/en.png</file>
<file>icons/flags/en@2x.png</file>
<file>icons/flags/es.png</file>
<file>icons/flags/es@2x.png</file>
<file>icons/flags/fr.png</file>
<file>icons/flags/fr@2x.png</file>
<file>icons/flags/he.png</file>
<file>icons/flags/he@2x.png</file>
<file>icons/flags/it.png</file>
<file>icons/flags/it@2x.png</file>
<file>icons/flags/ja.png</file>
<file>icons/flags/ja@2x.png</file>
<file>icons/flags/nl.png</file>
<file>icons/flags/nl@2x.png</file>
<file>icons/flags/pl.png</file>
<file>icons/flags/pl@2x.png</file>
<file>icons/flags/pt-br.png</file>
<file>icons/flags/pt-br@2x.png</file>
<file>icons/flags/pt-pt.png</file>
<file>icons/flags/pt-pt@2x.png</file>
<file>icons/flags/ru.png</file>
<file>icons/flags/ru@2x.png</file>
<file>icons/flags/zh-cn.png</file>
<file>icons/flags/zh-cn@2x.png</file>
<file>icons/folder-open.png</file>
<file>icons/folder-open@2x.png</file>
<file>icons/github.png</file>
<file>icons/go-down-16.png</file>
<file>icons/go-down-16@2x.png</file>
<file>icons/go-up-16.png</file>
<file>icons/go-up-16@2x.png</file>
<file>icons/input-gaming.png</file>
<file>icons/input-gaming@2x.png</file>
<file>icons/IssueTracker.png</file>
<file>icons/list-add.png</file>
<file>icons/list-add@2x.png</file>
<file>icons/list-remove.png</file>
<file>icons/list-remove@2x.png</file>
<file>icons/media-flash.png</file>
<file>icons/media-flash@2x.png</file>
<file>icons/media-flash-2.png</file>
<file>icons/media-flash-2@2x.png</file>
<file>icons/media-flash-24.png</file>
<file>icons/media-flash-24@2x.png</file>
<file>icons/media-optical.png</file>
<file>icons/media-optical@2x.png</file>
<file>icons/media-flash-2@2x.png</file>
<file>icons/media-flash.png</file>
<file>icons/media-flash@2x.png</file>
<file>icons/media-optical-24.png</file>
<file>icons/media-optical-24@2x.png</file>
<file>icons/media-optical.png</file>
<file>icons/media-optical@2x.png</file>
<file>icons/media-playback-pause.png</file>
<file>icons/media-playback-pause@2x.png</file>
<file>icons/media-playback-start.png</file>
@ -100,6 +133,7 @@
<file>icons/preferences-system@2x.png</file>
<file>icons/process-stop.png</file>
<file>icons/process-stop@2x.png</file>
<file>icons/QT.png</file>
<file>icons/software-update-available.png</file>
<file>icons/software-update-available@2x.png</file>
<file>icons/star-0.png</file>
@ -116,6 +150,8 @@
<file>icons/system-shutdown@2x.png</file>
<file>icons/trophy.png</file>
<file>icons/trophy@2x.png</file>
<file>icons/update.png</file>
<file>icons/UpdateDuck.png</file>
<file>icons/utilities-system-monitor.png</file>
<file>icons/utilities-system-monitor@2x.png</file>
<file>icons/video-display.png</file>