Commit Graph

92 Commits

Author SHA1 Message Date
=
24a4ed445e All shortcuts now work in fullscreen 2025-04-20 13:59:52 -07:00
=
7f5d1b86c7 Added keybind customization system 2025-04-19 19:44:47 -07:00
Alexander Babikov
46978a808c Disable rich text for ui_msgbox()-generated dialogs
No strings that gets passed to `ui_msgbox()` use HTML, and it causes
newlines to be ignored unless replaced by <br>
`MainWindow::showMessage()` can still accept rich text, but it's now
optional and disabled by default
2025-04-18 01:36:39 +05:00
Alexander Babikov
40ee98d6f3 qt: The sound icon's menu is now a submenu of the Tools menu
Replaces (and includes) the standalone Sound gain option
2025-04-11 23:31:18 +05:00
Cacodemon345
6d2128ab05 Make Qt shortcuts actually work in fullscreen
Also removes hacks related to fullscreen.
2025-04-05 23:59:49 +06:00
Cacodemon345
ce820df1d1 Always make sure emulator is not off-screen when resizing 2025-03-26 02:08:12 +06:00
Cacodemon345
dceb13f859 OpenGL error messages are now reported properly 2025-03-10 13:27:29 +06:00
Cacodemon345
7e61d2d586 OpenGL Shader configuration UI 2025-03-09 23:58:54 +06:00
Miran Grča
ff68384c49 Merge pull request #5200 from Cacodemon345/windows-dark-mode
Windows dark mode
2025-02-03 02:57:23 +01:00
OBattler
7ae5110af2 Status bar: update the empty/full icon states even when status bar icons updating is disabled. 2024-09-18 09:38:47 +02:00
OBattler
d2ce14f967 Fatals now work again. 2024-06-26 23:09:55 +02:00
OBattler
2acb11d37c Implemented the Pro Audio Spectrum Plus serial mixer, Pro Audio Spectrum 16 parallel mixer, Pro Audio Spectrum Plus/16 SCSI, ESS ES688, all three ESS PnP AudioDrives, made the wavetables use a separate 44.1 kHz source, and made the Sound Blaster 16 PNP use a proper PNP ROM dump. 2024-05-03 17:02:13 +02:00
Alexander Babikov
224daa92d0 qt: Remove fullscreen status icons 2024-02-13 21:13:25 +05:00
Alexander Babikov
5acec5dfa4 qt: Remove the Direct3D 9 renderer 2024-02-13 18:40:07 +05:00
Cacodemon345
b4bdfa70b6 Finalize dynamic dark mode switching
Make QMenuBar items spaced identically
2024-01-16 14:58:41 +06:00
Miran Grča
05ac665ee7 Merge branch 'master' into fullscreenstaticonqt 2023-11-08 07:08:51 +01:00
OBattler
7ec58da46f Config clean-ups, auto-pause, 4:3 integer scale, and more parameters. 2023-10-13 23:30:31 +02:00
OBattler
c695cb8ded Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up. 2023-08-07 18:49:58 +02:00
RichardG867
0d1d069af4 qt: Port fullscreen key detection behavior from Win32 2023-07-24 17:16:01 -03:00
RichardG867
68382ff1b3 qt: Capture fullscreen shortcuts on Windows raw input, fixes #3434 2023-07-22 17:17:39 -03:00
OBattler
410c44719c The new variables are no longer static, fixes compile. 2023-04-13 23:21:40 +02:00
OBattler
bbf42db3c7 Improved on the QT implementation of the new approach, per suggestion by Manaatti. 2023-04-13 23:00:01 +02:00
RichardG867
e492640d65 qt: Unify keyboard input paths 2023-04-09 19:33:32 -03:00
Cacodemon345
17d4e4a7e2 Merge branch 'master' into qt-wacom-serial 2023-02-07 17:04:25 +06:00
Cacodemon345
a9149bb78a qt: Reenable and make functional ACPI shutdown button 2023-02-06 01:39:34 +06:00
Cacodemon345
96f7b7aa14 Add Wacom SD-510C tablet emulation 2023-01-03 16:47:20 +06:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Mike Swanson
ba3de27fe5 Expand window scale factors up to 8×
5× is just about the highest factor useful for a 3840×2160 (“4K”)
monitor with games running in 320×200 mode.  7680×4320 (“8K”) monitors
are also on the market and the higher scale factors should be useful
for them too.
2022-11-01 11:53:49 -07:00
OBattler
c6d2959925 Reverted pull requestion no. 2775. 2022-10-30 20:40:40 +01:00
Miran Grča
37a3d699fb Merge pull request #2775 from Cacodemon345/qt-white-screen-fix
qt: try another fix for the issue
2022-10-30 19:53:14 +01:00
Cacodemon345
419af5c5e5 qt: try another fix for the issue 2022-10-31 00:50:58 +06:00
cold-brewed
e4a4549e3f qt: Rework ui pause update into a slot for thread safety 2022-10-29 09:09:30 -04:00
cold-brewed
f4c2cba3e0 qt: Move ui pause state update to plat_pause 2022-10-28 13:48:59 -04:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Cacodemon345
f70102c529 qt: Add ability to open screenshots folder 2022-08-09 15:35:32 +06:00
Cacodemon345
468ef84399 qt: Enable and make VNC work properly 2022-08-03 13:06:30 +06:00
Cacodemon345
e2a03f436e qt: properly update "Show non-primary monitors" settings when they are closed 2022-08-02 00:14:09 +06:00
OBattler
1280cbd4a5 Attempted fix for the extern. 2022-07-31 23:53:24 +02:00
OBattler
f3db64317c Attempted fix of the fix. 2022-07-31 23:37:24 +02:00
Cacodemon345
548e8b360a qt: Make renderer widget resizable only once 2022-07-16 12:57:35 +06:00
Cacodemon345
44d4d960cf Include array header 2022-07-11 12:10:57 +06:00
Cacodemon345
11a75f5fd5 Merge branch 'master' into multimonitor-take2-ui 2022-07-10 11:44:58 +06:00
Cacodemon345
c0c873151b qt: Add Show non-primary monitors option 2022-07-10 11:41:02 +06:00
Cacodemon345
62fd0feba1 qt: Make fatal messageboxes have the correct icons
Fatals now exit the emulator properly
2022-07-09 13:51:12 +06:00
Cacodemon345
e8ffc699ba qt: Implement per-monitor resizing 2022-07-04 17:54:38 +06:00
Cacodemon345
7ab71cafd3 Working multimonitor 2022-07-04 01:50:42 +06:00
Cacodemon345
f9e8520c41 qt: Add MCA device list to Tools 2022-05-23 17:29:45 +06:00
Emily
9c6001dabb qt: Fix Qt 6 modifier key handling on macOS
Per QTBUG-69608 (https://bugreports.qt.io/browse/QTBUG-69608),
QKeyEvent::nativeVirtualKey() returns 0 on Qt 6 (and possibly some
versions of Qt 5) for keyboard modifier events. Despite being closed,
the bug doesn't appear to have been fixed, or perhaps was fixed and
then regressed again.

Detect this case and handle the events manually by keeping track of the
active modifier keys and using QKeyEvent::nativeModifiers() and the
platform-specific modifier values.

Caps Lock requires some special handling and doesn't get discrete
press/release events, at least with the Qt input system; see the code
for details. It's possible some other toggle modifiers like Scroll Lock
will need special handling along these lines too.

Fix #2211.
2022-04-08 01:46:45 +01:00
ts-korhonen
d2a9389ce7 qt: Initial OpenGL 3.0 renderer implementation 2022-02-27 14:56:51 +02:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00