Commit Graph

313 Commits

Author SHA1 Message Date
Cacodemon345
32b29e91ee qt: add Direct3D 9 renderer 2022-06-22 16:36:38 +06:00
Cacodemon345
c61c9f5e0a qt: Hide MCA devices item on non-MCA machines 2022-06-04 14:15:31 +06:00
Cacodemon345
f9e8520c41 qt: Add MCA device list to Tools 2022-05-23 17:29:45 +06:00
Cacodemon345
b2324e3ff3 qt: Force the renderer to exit at close time 2022-05-04 13:13:03 +06:00
Cacodemon345
5eb0e93f57 qt: Attempt fixing Windows/Super key input 2022-04-26 16:56:44 +06:00
Cacodemon345
6f968e3fd7 qt: Fix compiling with Vulkan support unavailable 2022-04-25 16:09:37 +06:00
Cacodemon345
d5df99fbd8 Merge remote-tracking branch 'upstream/master' into newqt2 2022-04-24 00:58:08 +06:00
Cacodemon345
6edc2a4c2b Merge remote-tracking branch 'upstream/master' into newqt2 2022-04-24 00:56:11 +06:00
RichardG867
bfde3e4867 Qt: Fix middle mouse button uncapture 2022-04-21 13:56:39 -03:00
Cacodemon345
314bf5ad06 Add Vulkan renderer 2022-04-21 16:32:46 +06:00
richardg867
7d6ad0d650 Selectable mouse type on Linux, part 6 2022-04-20 21:39:57 -03:00
richardg867
5810f39f4d Selectable mouse type on Linux, part 3 2022-04-20 20:55:26 -03:00
Alexander Babikov
484a082122 Make sure certain variables used only on some platforms are defined only on said platforms 2022-04-14 07:13:47 +05: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
Miran Grča
f52b898add Merge pull request #2245 from Cacodemon345/newqt
qt: Get rid of resize rounding
2022-03-31 15:30:23 +02:00
Cacodemon345
e7566d6974 qt: Get rid of resize rounding 2022-03-23 16:00:36 +06:00
Miran Grča
d1898177ef Merge pull request #2243 from Cacodemon345/newqt
qt: Keyboard input now works properly when mouse is uncaptured
2022-03-21 13:25:58 +01:00
Cacodemon345
f2df8a4cce qt: Keyboard input now works properly when mouse is uncaptured 2022-03-21 15:28:43 +06:00
RichardG867
1650b0692d CMI8x38: Fix for logging status bar segfault 2022-03-17 16:31:14 -03:00
ts-korhonen
f2ec3c6201 qt: uncapture mouse when deactivated or dialog.
Uncapture mouse when application is deactivated or window is blocked
(dialog shown). Re-capture after full screen dialog.
2022-03-16 18:19:44 +02:00
Miran Grča
c1ccee6abd Merge pull request #2214 from Cacodemon345/c345/haiku
qt: Add support for Haiku
2022-03-11 20:11:50 +01:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
ts-korhonen
989926cb7f qt: Disable processing of alt-f4 in windows.
Prevents the alt-f4 from quiting 86Box.
2022-03-10 23:14:13 +02:00
Cacodemon345
ee69b022fc qt: OpenGL ES 3.0 support 2022-03-01 13:31:19 +06:00
ts-korhonen
9af1d0cc5f Revert "qt: Disable OpenGL 3.0 renderer for macOS."
This reverts commit d3b00ff27b.
2022-02-28 08:43:14 +02:00
ts-korhonen
d3b00ff27b qt: Disable OpenGL 3.0 renderer for macOS.
Until it's figured out, macOS has dummy implementation to keep it
building.
2022-02-27 21:57:14 +02: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
be3501cfe1 qt: Avoid crashes on X11 at exit 2022-02-17 11:45:42 +06:00
Cacodemon345
882f5a331f Merge remote-tracking branch 'upstream/master' into fullscreenstaticonqt 2022-02-16 16:19:36 +06:00
OBattler
9b0c50f91e Fixed the fix. 2022-02-16 11:18:18 +01:00
Cacodemon345
e90ad59074 Merge remote-tracking branch 'upstream/master' into fullscreenstaticonqt 2022-02-16 16:16:04 +06:00
OBattler
6a6187e104 Fixed the website button in the QT About box. 2022-02-16 11:14:38 +01:00
RichardG867
3323844e74 Fix URL hardcoding in the Qt UI 2022-02-15 20:44:13 -03:00
Cacodemon345
c577aa85f2 qt: Add fullscreen status icons support and option 2022-02-16 01:42:11 +06:00
Cacodemon345
c08d864821 qt: Fix VNC keyboard input 2022-02-15 21:06:26 +06:00
Cacodemon345
0d31bb0cc6 qt: X11 Xinput2 mouse motion backend 2022-02-15 02:34:13 +06:00
Alexander Babikov
93ac1b7b52 Unify the naming of Page Up and Page Down keys 2022-02-13 21:00:41 +05:00
Alexander Babikov
e0593523f2 Make the "PAUSED" toolbar string translatable 2022-02-13 21:00:40 +05:00
Cacodemon345
346597a9a9 qt: Fix toolbar text when paused 2022-02-13 00:36:47 +06:00
ts-korhonen
764422f2c0 qt: Set AppUserModelID so 86Box groups with 86BoxManager in task bar 2022-02-12 17:54:39 +02:00
ts-korhonen
7e0596558a qt: Unify VM manager requested shutdown behavior with Win32.
Add implementation for -N commandline switch.
Save nvr on close.
2022-02-12 17:31:28 +02:00
Cacodemon345
4de19361bf qt: Properly set saved window size 2022-02-11 15:40:07 +06:00
Cacodemon345
15bc29aef8 qt: Resize code cleanup 2022-02-11 00:53:02 +06:00
Cacodemon345
f75c1b8a00 qt: Round resize width and height 2022-02-10 22:32:17 +06:00
Cacodemon345
263c1b7ec7 Fix compile error 2022-02-10 20:21:00 +06:00
Cacodemon345
6619bd5932 qt: Fix quote character in VM name on Windows 2022-02-10 16:55:38 +06:00
Cacodemon345
775dad5fa3 qt: Use QDesktopWidget for screen retrival 2022-02-10 15:30:39 +06:00
Cacodemon345
3aea1650fa qt: Fix toolbar size on Windows 2022-02-10 03:34:10 +06:00
Cacodemon345
30af69bfe9 qt: Fix toolbar hiding menu appearing on KDE when right-clicked on an empty space of the main menu bar 2022-02-10 00:50:37 +06:00