eden-miror/src/yuzu
crueter 5a8929cdd1
[qt] refactor: qt_common lib (#94)
This is part of a series of PRs made in preparation for the QML rewrite. this PR specifically moves a bunch of utility functions from main.cpp into qt_common, with the biggest benefit being that QML can reuse the exact same code through ctx passthrough.

Also, QtCommon::Frontend is an abstraction layer over several previously Widgets-specific stuff like QMessageBox that gets used everywhere. The idea is that once QML is implemented, these functions can have a Quick version implemented for systems that don't work well with Widgets (sun) or for those on Plasma 6+ (reduces memory usage w/o Widgets linkage) although Quick from C++ is actually anal, but whatever.

Other than that this should also just kinda reduce the size of main.cpp which is a 6000-line behemoth rn, and clangd straight up gives up with it for me (likely caused by the massive amount of headers, which this DOES reduce).

In the future, I probably want to create a common strings lookup table that both Qt and QML can reference--though I'm not sure how much linguist likes that--which should give us a way to keep language consistent (use frozen-map).

TODO: Docs for Qt stuff

Co-authored-by: MaranBr <maranbr@outlook.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/94
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
2025-09-16 20:37:59 -04:00
..
applets [fs] temporarely disable nca verification (#298) 2025-09-04 18:37:05 -04:00
configuration [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
debugger [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
multiplayer [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
util [cmake] enable clang-cl and WoA builds (#348) 2025-09-16 20:37:58 -04:00
about_dialog.cpp [cmake] enable clang-cl and WoA builds (#348) 2025-09-16 20:37:58 -04:00
about_dialog.h
aboutdialog.ui [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
bootmanager.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
bootmanager.h Fix more typos 2024-01-15 23:26:53 +00:00
breakpad.cpp User Data Migration from Citron, Sudachi, and Yuzu (#91) 2025-05-08 22:16:07 +00:00
breakpad.h
CMakeLists.txt [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
compatdb.cpp Removed telemetry and anonymized SCM (git) strings 2025-04-04 03:40:47 +02:00
compatdb.h Removed telemetry and anonymized SCM (git) strings 2025-04-04 03:40:47 +02:00
compatdb.ui fix a large variety of issues (#101) 2025-05-11 23:58:25 +00:00
compatibility_list.cpp Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
compatibility_list.h
deps_dialog.cpp [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
deps_dialog.h [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
deps_dialog.ui [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
discord.h
discord_impl.cpp [compat] fix solaris Qt build (#194) 2025-08-15 04:12:45 +02:00
discord_impl.h
game_list.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
game_list.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
game_list_p.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
game_list_worker.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
game_list_worker.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
hotkeys.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
hotkeys.h hid_core: Move hid to it's own subproject 2024-01-05 11:41:15 -06:00
Info.plist MacOS fix compilation errors and correct app icon and title (#202) 2025-06-21 21:01:05 +00:00
install_dialog.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
install_dialog.h
loading_screen.cpp
loading_screen.h
loading_screen.ui
main.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
main.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
main.ui [Frontend] add X links to About and Help (#272) 2025-08-16 17:32:18 +02:00
migration_dialog.cpp Properly migrate internal NAND, Load, etc. directories (#167) 2025-06-11 22:57:13 +00:00
migration_dialog.h Options for Data Migration (#95) 2025-05-10 15:40:15 +00:00
migration_worker.cpp [desktop] Fix migration options (#220) 2025-06-27 06:03:19 +00:00
migration_worker.h [desktop] Fix migration options (#220) 2025-06-27 06:03:19 +00:00
play_time_manager.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
play_time_manager.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
precompiled_headers.h
startup_checks.cpp [compat] fix solaris Qt build (#194) 2025-08-15 04:12:45 +02:00
startup_checks.h [compat] fix solaris Qt build (#194) 2025-08-15 04:12:45 +02:00
update_checker.cpp Update checker (#132) 2025-05-28 02:23:51 +00:00
update_checker.h Update checker (#132) 2025-05-28 02:23:51 +00:00
user_data_migration.cpp [desktop] Fix migration options (#220) 2025-06-27 06:03:19 +00:00
user_data_migration.h [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
vk_device_info.cpp [qt] refactor: qt_common lib (#94) 2025-09-16 20:37:59 -04:00
vk_device_info.h
yuzu.qrc Rename Yuzu logo to Eden 2025-04-13 01:15:36 +01:00
yuzu.rc Rename Yuzu logo to Eden 2025-04-13 01:15:36 +01:00