Commit Graph

139 Commits

Author SHA1 Message Date
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
RichardG867
3323844e74 Fix URL hardcoding in the Qt UI 2022-02-15 20:44:13 -03: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
Cacodemon345
de0a603916 qt: Status bar and window fixes
* Fix remember window option
* Status bar pixmaps are now scaled when building with Qt 5
2022-02-09 16:45:57 +06:00
Cacodemon345
3f1d638a46 qt: Scale toolbar/statusbar icons only on Windows 2022-02-09 01:37:43 +06:00
Cacodemon345
accd4ca398 qt: Scale statusbar icons based on DPI 2022-02-09 01:30:02 +06:00
Cacodemon345
cbd7ae90d7 qt: Scale icons based on screen DPI 2022-02-09 00:47:05 +06:00
Cacodemon345
0fa87edebb Fix missing semicolons 2022-02-07 20:31:56 +06:00
Cacodemon345
7470c7015a Don't add duplicate separator when minitrace is enabled 2022-02-07 15:39:14 +06:00
Cacodemon345
7451e245ea Copyright header fixes 2022-02-07 15:35:15 +06:00
Cacodemon345
5bdc87569c Merge branch 'newqt' of ssh://github.com/Cacodemon345/86box into newqt 2022-02-07 15:00:34 +06:00
Cacodemon345
a637f61d4f Add missing copyright notices 2022-02-07 15:00:02 +06:00
Cacodemon345
ad00770410 Fix mistyped name for alpha build icon 2022-02-07 12:51:57 +06:00
Cacodemon345
88789ec95d Fix about dialog having wrong icon 2022-02-07 12:30:56 +06:00
Cacodemon345
94ce0f9613 Final round of bugfixes 2022-02-07 12:16:07 +06:00
Cacodemon345
34b9c824e0 Settings mode behaviour now identical to Win32 2022-02-06 12:45:55 +06:00
Cacodemon345
6818c03799 qt: All dialogs are now fixed 2022-02-06 01:50:30 +06:00
ts-korhonen
11e805de78 qt: Fix font only applying to main window 2022-02-04 23:01:53 +02:00
Cacodemon345
85a11813d6 Fix crashes on language settings changes 2022-02-05 02:04:32 +06:00
Cacodemon345
67cce8d196 * Remove unused VRAM dump option
* Only emit fileSelected signal if the user didn't cancel file selection
* Don't unmount emulator images if the user cancelled file selection
2022-02-05 01:35:26 +06:00
Cacodemon345
ff437835bb Enable minitrace support 2022-02-04 15:19:21 +06:00
Cacodemon345
97b2feaa27 Fix mouse input loss on heavy renderer frameskipping 2022-02-03 16:55:32 +06:00
ts-korhonen
279cbdbf97 qt: also fix typos in the file references to RendererCommon 2022-01-30 22:13:41 +02:00
ts-korhonen
39e5f2fb38 qt: Change font only on windows 2022-01-27 21:26:30 +02:00
ts-korhonen
d890cd2ebb qt: Update pause action status when paused without using action 2022-01-22 22:02:57 +02: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