Qt: Split Cheat Manager and Memory Scanner

And make them persistent across system invocations.
This commit is contained in:
Stenzek
2024-04-10 13:56:49 +10:00
parent e936e7498a
commit 4598bc789b
15 changed files with 2007 additions and 1405 deletions

View File

@@ -30,7 +30,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>21</height>
<height>33</height>
</rect>
</property>
<widget class="QMenu" name="menuSystem">
@@ -42,8 +42,7 @@
<string>Change Disc</string>
</property>
<property name="icon">
<iconset theme="disc-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="disc-line"/>
</property>
<actiongroup name="actionGroupChangeDiscSubImages"/>
<addaction name="actionChangeDiscFromFile"/>
@@ -57,8 +56,7 @@
<string>Cheats</string>
</property>
<property name="icon">
<iconset theme="cheats-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="cheats-line"/>
</property>
</widget>
<widget class="QMenu" name="menuLoadState">
@@ -66,8 +64,7 @@
<string>Load State</string>
</property>
<property name="icon">
<iconset theme="folder-open-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="folder-open-line"/>
</property>
</widget>
<widget class="QMenu" name="menuSaveState">
@@ -75,8 +72,7 @@
<string>Save State</string>
</property>
<property name="icon">
<iconset theme="save-3-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="save-3-line"/>
</property>
</widget>
<addaction name="actionStartFile"/>
@@ -109,8 +105,7 @@
<string>Theme</string>
</property>
<property name="icon">
<iconset theme="paint-brush-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="paint-brush-line"/>
</property>
</widget>
<widget class="QMenu" name="menuSettingsLanguage">
@@ -118,8 +113,7 @@
<string>Language</string>
</property>
<property name="icon">
<iconset theme="global-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="global-line"/>
</property>
</widget>
<addaction name="actionViewGameProperties"/>
@@ -157,7 +151,7 @@
<addaction name="separator"/>
<addaction name="actionCheckForUpdates"/>
<addaction name="separator"/>
<addaction name="actionViewThirdPartyNotices" />
<addaction name="actionViewThirdPartyNotices"/>
<addaction name="actionAboutQt"/>
<addaction name="actionAbout"/>
</widget>
@@ -235,9 +229,11 @@
<property name="title">
<string>&amp;Tools</string>
</property>
<addaction name="actionMemory_Card_Editor"/>
<addaction name="actionMemoryCardEditor"/>
<addaction name="actionCoverDownloader"/>
<addaction name="separator"/>
<addaction name="actionMemoryScanner"/>
<addaction name="separator"/>
<addaction name="actionOpenDataDirectory"/>
</widget>
<addaction name="menuSystem"/>
@@ -258,7 +254,7 @@
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
<enum>Qt::ToolButtonStyle::ToolButtonTextUnderIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
@@ -287,8 +283,7 @@
<widget class="QStatusBar" name="statusBar"/>
<action name="actionStartFile">
<property name="icon">
<iconset theme="file-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="file-line"/>
</property>
<property name="text">
<string>Start &amp;File...</string>
@@ -296,8 +291,7 @@
</action>
<action name="actionStartDisc">
<property name="icon">
<iconset theme="disc-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="disc-line"/>
</property>
<property name="text">
<string>Start &amp;Disc...</string>
@@ -305,8 +299,7 @@
</action>
<action name="actionStartBios">
<property name="icon">
<iconset theme="chip-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="chip-line"/>
</property>
<property name="text">
<string>Start &amp;BIOS</string>
@@ -314,8 +307,7 @@
</action>
<action name="actionScanForNewGames">
<property name="icon">
<iconset theme="file-search-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="file-search-line"/>
</property>
<property name="text">
<string>&amp;Scan For New Games</string>
@@ -323,8 +315,7 @@
</action>
<action name="actionRescanAllGames">
<property name="icon">
<iconset theme="refresh-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="refresh-line"/>
</property>
<property name="text">
<string>&amp;Rescan All Games</string>
@@ -332,8 +323,7 @@
</action>
<action name="actionPowerOff">
<property name="icon">
<iconset theme="shut-down-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="shut-down-line"/>
</property>
<property name="text">
<string>Power &amp;Off</string>
@@ -341,8 +331,7 @@
</action>
<action name="actionReset">
<property name="icon">
<iconset theme="restart-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="restart-line"/>
</property>
<property name="text">
<string>&amp;Reset</string>
@@ -353,8 +342,7 @@
<bool>true</bool>
</property>
<property name="icon">
<iconset theme="pause-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="pause-line"/>
</property>
<property name="text">
<string>&amp;Pause</string>
@@ -362,8 +350,7 @@
</action>
<action name="actionLoadState">
<property name="icon">
<iconset theme="folder-open-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="folder-open-line"/>
</property>
<property name="text">
<string>&amp;Load State</string>
@@ -371,8 +358,7 @@
</action>
<action name="actionSaveState">
<property name="icon">
<iconset theme="save-3-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="save-3-line"/>
</property>
<property name="text">
<string>&amp;Save State</string>
@@ -380,8 +366,7 @@
</action>
<action name="actionExit">
<property name="icon">
<iconset theme="door-open-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="door-open-line"/>
</property>
<property name="text">
<string>E&amp;xit</string>
@@ -389,8 +374,7 @@
</action>
<action name="actionBIOSSettings">
<property name="icon">
<iconset theme="chip-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="chip-line"/>
</property>
<property name="text">
<string>B&amp;IOS</string>
@@ -398,8 +382,7 @@
</action>
<action name="actionConsoleSettings">
<property name="icon">
<iconset theme="chip-2-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="chip-2-line"/>
</property>
<property name="text">
<string>C&amp;onsole</string>
@@ -407,8 +390,7 @@
</action>
<action name="actionEmulationSettings">
<property name="icon">
<iconset theme="emulation-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="emulation-line"/>
</property>
<property name="text">
<string>E&amp;mulation</string>
@@ -416,8 +398,7 @@
</action>
<action name="actionControllerSettings">
<property name="icon">
<iconset theme="controller-digital-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="controller-digital-line"/>
</property>
<property name="text">
<string>&amp;Controllers</string>
@@ -425,8 +406,7 @@
</action>
<action name="actionHotkeySettings">
<property name="icon">
<iconset theme="keyboard-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="keyboard-line"/>
</property>
<property name="text">
<string>&amp;Hotkeys</string>
@@ -434,8 +414,7 @@
</action>
<action name="actionGraphicsSettings">
<property name="icon">
<iconset theme="image-fill">
<normaloff>.</normaloff>.</iconset>
<iconset theme="image-fill"/>
</property>
<property name="text">
<string>&amp;Graphics</string>
@@ -443,8 +422,7 @@
</action>
<action name="actionPostProcessingSettings">
<property name="icon">
<iconset theme="sun-fill">
<normaloff>.</normaloff>.</iconset>
<iconset theme="sun-fill"/>
</property>
<property name="text">
<string>&amp;Post-Processing</string>
@@ -452,8 +430,7 @@
</action>
<action name="actionFullscreen">
<property name="icon">
<iconset theme="fullscreen-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="fullscreen-line"/>
</property>
<property name="text">
<string>Fullscreen</string>
@@ -493,8 +470,7 @@
</action>
<action name="actionCheckForUpdates">
<property name="icon">
<iconset theme="download-2-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="download-2-line"/>
</property>
<property name="text">
<string>Check for &amp;Updates...</string>
@@ -525,8 +501,7 @@
</action>
<action name="actionChangeDisc">
<property name="icon">
<iconset theme="disc-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="disc-line"/>
</property>
<property name="text">
<string>Change Disc...</string>
@@ -534,8 +509,7 @@
</action>
<action name="actionCheats">
<property name="icon">
<iconset theme="cheats-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="cheats-line"/>
</property>
<property name="text">
<string>Cheats...</string>
@@ -543,8 +517,7 @@
</action>
<action name="actionCheatsToolbar">
<property name="icon">
<iconset theme="cheats-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="cheats-line"/>
</property>
<property name="text">
<string>Cheats</string>
@@ -552,8 +525,7 @@
</action>
<action name="actionAudioSettings">
<property name="icon">
<iconset theme="volume-up-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="volume-up-line"/>
</property>
<property name="text">
<string>Audio</string>
@@ -561,8 +533,7 @@
</action>
<action name="actionAchievementSettings">
<property name="icon">
<iconset theme="trophy-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="trophy-line"/>
</property>
<property name="text">
<string>Achievements</string>
@@ -570,8 +541,7 @@
</action>
<action name="actionFolderSettings">
<property name="icon">
<iconset theme="folder-open-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="folder-open-line"/>
</property>
<property name="text">
<string>Folders</string>
@@ -579,8 +549,7 @@
</action>
<action name="actionGameListSettings">
<property name="icon">
<iconset theme="folder-open-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="folder-open-line"/>
</property>
<property name="text">
<string>Game List</string>
@@ -588,8 +557,7 @@
</action>
<action name="actionInterfaceSettings">
<property name="icon">
<iconset theme="settings-3-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="settings-3-line"/>
</property>
<property name="text">
<string>&amp;Interface</string>
@@ -597,8 +565,7 @@
</action>
<action name="actionAdvancedSettings">
<property name="icon">
<iconset theme="alert-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="alert-line"/>
</property>
<property name="text">
<string>Advanced</string>
@@ -606,8 +573,7 @@
</action>
<action name="actionAddGameDirectory">
<property name="icon">
<iconset theme="folder-add-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="folder-add-line"/>
</property>
<property name="text">
<string>Add Game Directory...</string>
@@ -615,26 +581,24 @@
</action>
<action name="actionSettings">
<property name="icon">
<iconset theme="settings-3-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="settings-3-line"/>
</property>
<property name="text">
<string>&amp;Settings</string>
</property>
<property name="menuRole">
<enum>QAction::PreferencesRole</enum>
<enum>QAction::MenuRole::PreferencesRole</enum>
</property>
</action>
<action name="actionSettings2">
<property name="icon">
<iconset theme="settings-3-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="settings-3-line"/>
</property>
<property name="text">
<string>&amp;Settings</string>
</property>
<property name="menuRole">
<enum>QAction::PreferencesRole</enum>
<enum>QAction::MenuRole::PreferencesRole</enum>
</property>
</action>
<action name="actionChangeDiscFromFile">
@@ -788,8 +752,7 @@
</action>
<action name="actionScreenshot">
<property name="icon">
<iconset theme="screenshot-2-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="screenshot-2-line"/>
</property>
<property name="text">
<string>&amp;Screenshot</string>
@@ -797,8 +760,7 @@
</action>
<action name="actionMemoryCardSettings">
<property name="icon">
<iconset theme="memcard-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="memcard-line"/>
</property>
<property name="text">
<string>&amp;Memory Cards</string>
@@ -806,8 +768,7 @@
</action>
<action name="actionResumeLastState">
<property name="icon">
<iconset theme="play-circle-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="play-circle-line"/>
</property>
<property name="text">
<string>Resume</string>
@@ -851,8 +812,7 @@
</action>
<action name="actionViewGameList">
<property name="icon">
<iconset theme="list-check">
<normaloff>.</normaloff>.</iconset>
<iconset theme="list-check"/>
</property>
<property name="text">
<string>Game &amp;List</string>
@@ -871,14 +831,13 @@
<bool>false</bool>
</property>
<property name="icon">
<iconset theme="file-settings-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="file-settings-line"/>
</property>
<property name="text">
<string>Game &amp;Properties</string>
</property>
</action>
<action name="actionMemory_Card_Editor">
<action name="actionMemoryCardEditor">
<property name="text">
<string>Memory &amp;Card Editor</string>
</property>
@@ -898,8 +857,7 @@
</action>
<action name="actionViewGameGrid">
<property name="icon">
<iconset theme="function-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="function-line"/>
</property>
<property name="text">
<string>Game &amp;Grid</string>
@@ -949,8 +907,7 @@
</action>
<action name="actionPowerOffWithoutSaving">
<property name="icon">
<iconset theme="close-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="close-line"/>
</property>
<property name="text">
<string>Power Off &amp;Without Saving</string>
@@ -958,8 +915,7 @@
</action>
<action name="actionStartFullscreenUI">
<property name="icon">
<iconset theme="tv-2-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="tv-2-line"/>
</property>
<property name="text">
<string>Start Big Picture Mode</string>
@@ -967,8 +923,7 @@
</action>
<action name="actionStartFullscreenUI2">
<property name="icon">
<iconset theme="tv-2-line">
<normaloff>.</normaloff>.</iconset>
<iconset theme="tv-2-line"/>
</property>
<property name="text">
<string>Big Picture</string>
@@ -979,6 +934,11 @@
<string>Cover Downloader</string>
</property>
</action>
<action name="actionMemoryScanner">
<property name="text">
<string>Memory &amp;Scanner</string>
</property>
</action>
</widget>
<resources>
<include location="resources/resources.qrc"/>