Qt: Add memory card editor

This commit is contained in:
Connor McLaughlin
2020-09-19 00:28:07 +10:00
parent 92da9917a8
commit 238152ae88
9 changed files with 812 additions and 33 deletions

View File

@@ -14,7 +14,7 @@
<string>DuckStation</string>
</property>
<property name="windowIcon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/duck.png</normaloff>:/icons/duck.png</iconset>
</property>
<widget class="QStackedWidget" name="mainContainer">
@@ -30,7 +30,7 @@
<x>0</x>
<y>0</y>
<width>754</width>
<height>30</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuSystem">
@@ -42,7 +42,7 @@
<string>Change Disc</string>
</property>
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/media-optical.png</normaloff>:/icons/media-optical.png</iconset>
</property>
<widget class="QMenu" name="menuChangeDiscFromPlaylist">
@@ -60,7 +60,7 @@
<string>Cheats</string>
</property>
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/conical-flask-red.png</normaloff>:/icons/conical-flask-red.png</iconset>
</property>
</widget>
@@ -69,7 +69,7 @@
<string>Load State</string>
</property>
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/document-open.png</normaloff>:/icons/document-open.png</iconset>
</property>
</widget>
@@ -78,7 +78,7 @@
<string>Save State</string>
</property>
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/document-save.png</normaloff>:/icons/document-save.png</iconset>
</property>
</widget>
@@ -184,9 +184,16 @@
<addaction name="actionViewGameList"/>
<addaction name="actionViewSystemDisplay"/>
</widget>
<widget class="QMenu" name="menu_Tools">
<property name="title">
<string>&amp;Tools</string>
</property>
<addaction name="actionMemory_Card_Editor"/>
</widget>
<addaction name="menuSystem"/>
<addaction name="menuSettings"/>
<addaction name="menu_View"/>
<addaction name="menu_Tools"/>
<addaction name="menuDebug"/>
<addaction name="menuHelp"/>
</widget>
@@ -228,7 +235,7 @@
<widget class="QStatusBar" name="statusBar"/>
<action name="actionStartDisc">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/drive-optical.png</normaloff>:/icons/drive-optical.png</iconset>
</property>
<property name="text">
@@ -237,7 +244,7 @@
</action>
<action name="actionStartBios">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/drive-removable-media.png</normaloff>:/icons/drive-removable-media.png</iconset>
</property>
<property name="text">
@@ -246,7 +253,7 @@
</action>
<action name="actionScanForNewGames">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/folder-open.png</normaloff>:/icons/folder-open.png</iconset>
</property>
<property name="text">
@@ -255,7 +262,7 @@
</action>
<action name="actionRescanAllGames">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/view-refresh.png</normaloff>:/icons/view-refresh.png</iconset>
</property>
<property name="text">
@@ -264,7 +271,7 @@
</action>
<action name="actionPowerOff">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/system-shutdown.png</normaloff>:/icons/system-shutdown.png</iconset>
</property>
<property name="text">
@@ -273,7 +280,7 @@
</action>
<action name="actionReset">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/view-refresh.png</normaloff>:/icons/view-refresh.png</iconset>
</property>
<property name="text">
@@ -285,7 +292,7 @@
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/media-playback-pause.png</normaloff>:/icons/media-playback-pause.png</iconset>
</property>
<property name="text">
@@ -294,7 +301,7 @@
</action>
<action name="actionLoadState">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/document-open.png</normaloff>:/icons/document-open.png</iconset>
</property>
<property name="text">
@@ -303,7 +310,7 @@
</action>
<action name="actionSaveState">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/document-save.png</normaloff>:/icons/document-save.png</iconset>
</property>
<property name="text">
@@ -317,7 +324,7 @@
</action>
<action name="actionConsoleSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/utilities-system-monitor.png</normaloff>:/icons/utilities-system-monitor.png</iconset>
</property>
<property name="text">
@@ -326,7 +333,7 @@
</action>
<action name="actionControllerSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/input-gaming.png</normaloff>:/icons/input-gaming.png</iconset>
</property>
<property name="text">
@@ -335,7 +342,7 @@
</action>
<action name="actionHotkeySettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/applications-other.png</normaloff>:/icons/applications-other.png</iconset>
</property>
<property name="text">
@@ -344,7 +351,7 @@
</action>
<action name="actionDisplaySettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/video-display.png</normaloff>:/icons/video-display.png</iconset>
</property>
<property name="text">
@@ -353,7 +360,7 @@
</action>
<action name="actionEnhancementSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/antialias-icon.png</normaloff>:/icons/antialias-icon.png</iconset>
</property>
<property name="text">
@@ -362,7 +369,7 @@
</action>
<action name="actionPostProcessingSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/applications-graphics.png</normaloff>:/icons/applications-graphics.png</iconset>
</property>
<property name="text">
@@ -371,7 +378,7 @@
</action>
<action name="actionFullscreen">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/view-fullscreen.png</normaloff>:/icons/view-fullscreen.png</iconset>
</property>
<property name="text">
@@ -410,7 +417,7 @@
</action>
<action name="actionChangeDisc">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/media-optical.png</normaloff>:/icons/media-optical.png</iconset>
</property>
<property name="text">
@@ -419,7 +426,7 @@
</action>
<action name="actionCheats">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/conical-flask-red.png</normaloff>:/icons/conical-flask-red.png</iconset>
</property>
<property name="text">
@@ -428,7 +435,7 @@
</action>
<action name="actionAudioSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/audio-card.png</normaloff>:/icons/audio-card.png</iconset>
</property>
<property name="text">
@@ -437,7 +444,7 @@
</action>
<action name="actionGameListSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/folder-open.png</normaloff>:/icons/folder-open.png</iconset>
</property>
<property name="text">
@@ -446,7 +453,7 @@
</action>
<action name="actionGeneralSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/applications-system.png</normaloff>:/icons/applications-system.png</iconset>
</property>
<property name="text">
@@ -455,7 +462,7 @@
</action>
<action name="actionAdvancedSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/applications-development.png</normaloff>:/icons/applications-development.png</iconset>
</property>
<property name="text">
@@ -464,7 +471,7 @@
</action>
<action name="actionAddGameDirectory">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/edit-find.png</normaloff>:/icons/edit-find.png</iconset>
</property>
<property name="text">
@@ -473,7 +480,7 @@
</action>
<action name="actionSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/preferences-system.png</normaloff>:/icons/preferences-system.png</iconset>
</property>
<property name="text">
@@ -584,7 +591,7 @@
</action>
<action name="actionScreenshot">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/camera-photo.png</normaloff>:/icons/camera-photo.png</iconset>
</property>
<property name="text">
@@ -593,7 +600,7 @@
</action>
<action name="actionMemoryCardSettings">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/media-flash-24.png</normaloff>:/icons/media-flash-24.png</iconset>
</property>
<property name="text">
@@ -602,7 +609,7 @@
</action>
<action name="actionResumeLastState">
<property name="icon">
<iconset resource="resources/icons.qrc">
<iconset>
<normaloff>:/icons/media-playback-start.png</normaloff>:/icons/media-playback-start.png</iconset>
</property>
<property name="text">
@@ -647,6 +654,11 @@
<string>System &amp;Display</string>
</property>
</action>
<action name="actionMemory_Card_Editor">
<property name="text">
<string>Memory &amp;Card Editor</string>
</property>
</action>
</widget>
<resources>
<include location="resources/icons.qrc"/>