Commit Graph

50 Commits

Author SHA1 Message Date
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
Joakim L. Gilje
ededff3ae1 action checkboxes for greyscale conversion 2021-12-08 15:12:21 +01:00
Joakim L. Gilje
61a2cf986b implemented fullscreen stretch modes 2021-12-07 13:47:42 +01:00
Joakim L. Gilje
2d9020070f filter actions 2021-12-06 22:02:18 +01:00
Joakim L. Gilje
78de384cc4 scaling actions 2021-12-06 21:58:41 +01:00
Joakim L. Gilje
71dd799936 inverted monitor 2021-12-06 21:45:40 +01:00
Joakim L. Gilje
230c257922 implemented action resizable window 2021-12-06 21:26:17 +01:00
Cacodemon345
3a52d62283 Make Escape key work 2021-12-05 16:01:04 +06:00
Joakim L. Gilje
a74afc3f1e added software renderer. split common functions prev.
in gleswidget to renderstack (a QStackWidget), which in
turn calls an actual renderer. added ability to target GLES
directly, but this is maybe uneeded.
2021-12-04 21:33:04 +01:00
Joakim L. Gilje
363f582a81 code dump - mostly done implementing media menus 2021-12-03 11:38:00 +01:00
Cacodemon345
23dbb85fa8 Significantly improve renderer performance 2021-12-02 00:47:02 +06:00
Cacodemon345
88452f7957 Implement title bar statistics 2021-12-01 15:55:41 +06:00
Joakim L. Gilje
cee1c93d49 refactored machinestatus to update the qstatusbar 2021-11-30 22:06:41 +01:00
Joakim L. Gilje
6c2d7bef4a promote the gleswidget to centralwidget via the .ui file 2021-11-30 21:18:25 +01:00
Joakim L. Gilje
7e38ff7d4d removed sdl from gleswidget, use slots to update mouse movement 2021-11-30 21:04:55 +01:00
Cacodemon345
0108c93e2d Render emulator output on main window
Introduce hardware renderer
2021-11-30 16:26:49 +06:00
Joakim L. Gilje
668887a30a missed showMessage_ declaration 2021-11-29 19:03:00 +01:00
Joakim L. Gilje
8385051f6a fixup showMessage from both qt thread and external thread, while blocking 2021-11-29 17:25:31 +01:00
Joakim L. Gilje
238fb7ef62 handle messageboxes inside qt's thread 2021-11-29 12:25:27 +01:00
Joakim L. Gilje
6c81074f0a added status icons 2021-11-28 20:49:05 +01:00
Joakim L. Gilje
c587a02b1a Initial Qt Commit 2021-11-25 10:20:56 +01:00