Commit Graph

70 Commits

Author SHA1 Message Date
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
Cacodemon345
0d31bb0cc6 qt: X11 Xinput2 mouse motion backend 2022-02-15 02:34:13 +06:00
ts-korhonen
dd6b368e0e qt: Read font name and size from translation
Updated .po files to include FONT_NAME and FONT_SIZE to allow using them
as font in qt.
2022-01-22 22:00:44 +02:00
ts-korhonen
3d0b100199 qt: Send dialog status to VM-manager & fix pause
- Manager is notified of modal dialogs blocking the main window.
- Pause command from manager uses action to prevent desyncing pause status
in the menus and toolbar.
2022-01-22 02:41:02 +02:00
ts-korhonen
7995be4adb qt: Add VM-manager message handling on windows 2022-01-22 01:10:11 +02:00
ts-korhonen
06002ed322 qt: Add toolbar 2022-01-09 17:00:16 +02:00
Cacodemon345
62a4a025b1 Port Win32 Discord integration to Linux and macOS 2022-01-09 01:04:59 +06:00
Cacodemon345
98c5115b99 Implement Preferences dialog (except language setting) 2021-12-28 16:47:10 +06:00
Cacodemon345
814aaf08a7 Add OpenGL 3.0 Core renderer 2021-12-27 16:32:03 +06:00
Cacodemon345
fddae6b11f * Remember windows geometry correctly
* Disable maximize button when window isn't resizable
2021-12-24 01:57:26 +06:00
ts-korhonen
d570be1a50 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-15 00:43:46 +02:00
Joakim L. Gilje
dec90c7ae0 refactored setTitle to just be a normal AutoConnection signal 2021-12-14 20:30:09 +01:00
Cacodemon345
80bff48c2b Status bar improvements
* Fix crashes on non-continuous floppy/CD-ROM/ZIP/MO media lists
* Status bar icons should now display tooltips and trigger loading menus
2021-12-14 00:31:55 +06:00
ts-korhonen
1f408a1ac6 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-12 14:12:11 +02:00
Cacodemon345
080bc8682f Sound gain dialog 2021-12-12 16:22:35 +06:00
Cacodemon345
457751d108 Finish the Qt main menu 2021-12-12 01:16:27 +06:00
ts-korhonen
1a2e1fd105 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-09 21:02:10 +02:00
ts-korhonen
67de5124ca Add windows raw input via qt native event filter 2021-12-09 20:59:50 +02:00
Joakim L. Gilje
ae10d052d8 Merge branch 'qt' into qt 2021-12-09 19:36:35 +01:00
Joakim L. Gilje
13b18c9d8d added handler for force 4:3, monochrome contrast and overscan 2021-12-09 11:55:28 +01:00
Cacodemon345
55be576cb9 Implement Help menu items 2021-12-09 16:29:21 +06:00
Joakim L. Gilje
5f5828a58d action checkboxes for greyscale conversion type 2021-12-08 15:17:33 +01:00