Commit Graph

410 Commits

Author SHA1 Message Date
OBattler
4e7bb0488a Hard reset dialog: Rely on clicked button instead of role. 2026-01-23 09:28:10 +01:00
OBattler
57af22f32f Fix a warning in the VFIO code and attempt to use checkStateChanged instead of stateChanged when compiling with Qt 6. 2026-01-22 12:31:02 +01:00
Alexander Babikov
e8d473af23 Add keybind for fast forward 2026-01-15 05:13:29 +05:00
Alexander Babikov
987f11ecf2 Add keybinds for all screenshot commands (unset by default) 2026-01-15 05:13:23 +05:00
OBattler
3b336dd0b0 Regroup the toolbar buttons more sensibly. 2026-01-08 18:05:51 +01:00
Cacodemon345
75cfe2bc7d Add fast forward option 2026-01-08 18:46:23 +06:00
Cacodemon345
72dac6148b Fix high CPU usage on keyboard status icon updates 2026-01-04 17:14:10 +06:00
OBattler
f0ab2e9b78 Extended the screenshot functionality to allow taking both raw and (renderer/resize-)processed screenshots, to both file and clipboard, made the functionality available on the toolbar as well, and moved the recently added "Force interpretation" button to the end of the toolbar. 2025-12-25 03:44:23 +01:00
Alexander Babikov
2e9dec8891 Qt: Remove the shortcutVisibleInContextMenu property from menu items 2025-12-08 13:57:45 +05:00
OBattler
3feb0f135d Add toolbar button and Action menu item to toggle forcing the recompiler to interpret blocks, should help with some slowdowns (tested to help with Daggerfall on both recompilers and Legend of Hero III on new recompiler). 2025-12-05 14:18:17 +01:00
Alexander Babikov
e1b7579f9d Properly separate Qt and SDL UI codepaths in update_mouse_msg()
Also drop the related hack for non-Windows platforms in qt_mainwindow.cpp
2025-11-26 21:29:54 +05:00
Alexander Babikov
d71bcc731d qt: Use QString::arg() instead of concatenation for monitor number in the title bar 2025-11-26 21:29:18 +05:00
Thraka
8d8d5708f5 Move variable declaration out of plat to general 2025-11-16 17:51:24 -08:00
Thraka
3d9f31e85f Move to C var; handle keyboard/mouse fullscreen conditions 2025-11-16 12:02:27 -08:00
Thraka
e80dc4a541 Automatically release mouse; recapture mouse 2025-11-15 23:18:11 -08:00
Thraka
316e14d5de Add option to show UI while in fullscreen 2025-11-15 23:18:11 -08:00
Jasmine Iwanek
ca424aed32 clang-format in src/qt 2025-11-07 20:25:29 -05:00
Miran Grča
93cb9e9c9d UI: Never move the window to top left on resize, fixes #6329. 2025-10-12 16:16:01 +02:00
Cacodemon345
40ed311895 Resize renderer view back on Windows on language selection changes (#6302) 2025-10-08 17:19:23 +02:00
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +02:00
Cacodemon345
ee86991f95 Implement Force 4:3 option for resizable windows with fullscreen behaviour (#6264)
* Revert "Fix remember size and position regression in which vertical size could grow when reopening the VM (#6239)"

This reverts commit 74aa15644d.

* Revert "Change window resizing logic when using 4:3 aspect ratio (#6233)"

This reverts commit bc085ac02f.

* Revert "Run more iterations and retested"

This reverts commit ca429dd493.

* Revert "Fix Force 4:3 Aspect Ratio not working if Resizable window is enabled #6062"

This reverts commit 717b66c660.

* Implement Force 4:3 option for resizable windows with fullscreen behaviour
2025-10-01 22:20:50 +02:00
andresdelcampo
74aa15644d Fix remember size and position regression in which vertical size could grow when reopening the VM (#6239)
* Change window resizing logic when using 4:3 aspect ratio

Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.

* Fix regression that adds vertical size when showing toolbar and statusbar and remembering size and po

The recent rework on the force aspect 4:3 which needed to revisit the remembering of size and position introduced a regression that would save the size without considering the non-content window elements that could be showed or hidden. Now it calculates it accordingly.
2025-09-27 19:53:45 +02:00
andresdelcampo
bc085ac02f Change window resizing logic when using 4:3 aspect ratio (#6233)
Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.
2025-09-27 13:31:46 +02:00
OBattler
ac1f091a62 Remove the excess -mstackrealign and only run the Discord timer if Discord integration is enabled. 2025-09-18 00:30:24 +02:00
RichardG867
d92112fa2d Add "screenshot mode" compile flag to round % and Hz displays 2025-09-13 17:00:15 -03:00
andresdelcampo
ca429dd493 Run more iterations and retested
Not fully sure this is much different from the previous solution, but proof of test working as expected.
2025-08-30 12:05:41 +02:00
andresdelcampo
717b66c660 Fix Force 4:3 Aspect Ratio not working if Resizable window is enabled #6062
AI assisted fix, seems to work fine after a second iteration. Tested in WSL linux -a bit shaky to resize windows in this environment by default, but seems to behave fine now.
2025-08-29 21:08:42 +02:00
OBattler
1343faadfb Fix remembering window size and position on certain actions in resizable mode. 2025-08-28 15:14:01 +02:00
Cacodemon345
30524acbbd Reflect language and color scheme changes in global config in manager and all its VMs 2025-08-28 17:56:33 +06:00
Cacodemon345
c9304ab973 Fix shortcuts not working with numpad when on fullscreen 2025-08-28 01:48:40 +06:00
Cacodemon345
bc7e2e6662 qt_mainwindow.cpp: Cleanups 2025-08-27 23:46:58 +06:00
Cacodemon345
18cdab52ac Port remaining PCem OpenGL renderer features 2025-08-27 13:01:55 +06:00
OBattler
8fa2d7c230 Hide toolbar / status bar: Use the guest width and height on the resize trigger, fixes the ever shrinking window. 2025-08-26 00:44:15 +02:00
Cacodemon345
61b076a91c Fix resizable window toggle on Windows
Also include a hex code on process crashes in the VM manager.
2025-08-25 16:50:44 +06:00
OBattler
9a7d63650b Fixes for CLang-specific warnings. 2025-08-24 01:11:54 +02:00
Cacodemon345
f1814d0c65 Fix MDA refresh rate
Also improve monochrome contrast menu option
2025-08-24 00:09:50 +06:00
Cacodemon345
43db96831d Hook up CGA composite controls to rest of the emulator 2025-08-21 02:32:46 +06:00
OBattler
58d3073775 Added the option to force constant mouse updating. 2025-08-19 21:03:09 +02:00
Cacodemon345
69d5b8b576 Indicate interlaced modes in status bar 2025-08-18 23:35:09 +06:00
RichardG867
166f946854 Move refresh rate indicator inwards for symmetry 2025-08-16 23:23:57 -03:00
OBattler
a24e4b9f15 Do not process events in main window show on Mac. 2025-08-15 17:43:11 +02:00
Alexander Babikov
d2509bd2ad Fix Qt 6 deprecation warnings 2025-08-15 03:47:47 +05:00
Jasmine Iwanek
6068ba6aef Add open printer tray to tools dropdown 2025-08-12 22:48:22 -04:00
Cacodemon345
770507b4c9 Qt6 fixes (part 2) 2025-08-11 21:54:33 +06:00
Cacodemon345
0dfac122e7 Add display for refresh rates in status bars 2025-08-11 17:13:13 +06:00
Alexander Babikov
4827da23f4 Manager: Update machine configuration on change
(signaled by the VM or upon closing the standalone settings dialog)
2025-08-02 00:38:16 +05:00
Alexander Babikov
5e8064c969 Qt: Re-enable menu keyboard navigation and mnemonics
when "Keyboard requries capture" is enabled and mouse isn't captured
on Windows and Linux
2025-08-01 20:22:46 +05:00
Alexander Babikov
3e1c6d3dae Manager: Add Help menu
Move the About dialog into its own file and object
2025-08-01 15:28:48 +05:00
Alexander Babikov
fc8fad6d2d Qt: Change the text of the Pause menu item to Resume when the VM is paused 2025-08-01 15:22:27 +05:00
Alexander Babikov
ad59092ffe qt_mainwindow.{cpp,ui}: Minor cleanup 2025-08-01 03:17:38 +05:00