Commit Graph

5193 Commits

Author SHA1 Message Date
mbudd02 7ccfd43a98 Added code to route Qt GUI/Core messages to message log. 2021-03-30 08:44:31 -04:00
mbudd02 adc08cfd1d Added a set defaults button to Qt hot keys window. 2021-03-30 08:13:45 -04:00
mjbudd77 1d7dd522ba Changed Qt GUI hot key set logic to be more like Win32 version. Each key now spawns a set/clear key state dialog window. 2021-03-30 04:32:00 -04:00
mjbudd77 cf7d23694c Added checkboxes to enable/disable hot keys. 2021-03-29 20:59:30 -04:00
mjbudd77 cbdd6e43d9 Further hot key config rework. 2021-03-29 20:52:58 -04:00
mjbudd77 da401d9833 Qt hot key rework intermediate commit. 2021-03-29 20:04:29 -04:00
mjbudd77 5a9010b8e2 Qt hot key rework intermediate commit. 2021-03-29 17:39:19 -04:00
mjbudd77 3505e81710 Reworking of Qt Hot Keys. Intermediate commit. 2021-03-27 22:44:55 -04:00
mjbudd77 18c7c95ef3 Added logic to allow switching the Qt GUI video driver while program is running with out needing a restart... although a restart is still probably the safest. 2021-03-25 20:20:01 -04:00
mjbudd77 4be5045fc7 Added logic to filter out standalone modifier keys when setting game pad button to key sequence remaps. 2021-03-25 06:28:31 -04:00
mjbudd77 739dc2a16d Run keyboard command processing on every key event to make sure none are missed. 2021-03-25 04:50:31 -04:00
mjbudd77 b810164759 Added logic to allow for advanced key sequence options to be shown/hidden on game pad window. 2021-03-24 22:21:53 -04:00
mjbudd77 41caf1500f Game pad key sequence tree column title fixes. 2021-03-23 22:20:24 -04:00
mjbudd77 c3b911ab5c Added logic for gamepad key remap edit and delete buttons. 2021-03-23 22:07:22 -04:00
mjbudd77 c753820d32 Successful test of basic gamepad button remapping to keyboard sequences. 2021-03-23 21:38:13 -04:00
mjbudd77 16fc02daaf Advanced game pad button to key remapping in work. 2021-03-22 22:57:53 -04:00
mjbudd77 96dfa954e1 Advanced game pad key sequence mapper in work. 2021-03-22 22:24:50 -04:00
mjbudd77 13d93f1b84 Added initial window layout for advanced gamepad key binding feature. 2021-03-21 21:11:16 -04:00
mjbudd77 3836e03f53 Merge branch 'master' into gp-function_binding 2021-03-21 20:05:21 -04:00
mjbudd77 099f5820e2 Bug fix for hot key toggling of background render plane for Qt GUI. 2021-03-21 19:47:00 -04:00
mjbudd77 04caf3a03f Added logic to process all QCoreApplication events in main window loop to ensure that GUI stays responsive when rendering slows app execution down. Mac OS OpenGL was causing odd event processing delays. So now we will ensure all events are processed before attempting any rendering. 2021-03-21 18:31:20 -04:00
mjbudd77 b942f07e9f Minor correction to Lua script path line edit box. Added clear buttons for line edit boxes on Lua console window. 2021-03-21 15:00:39 -04:00
mjbudd77 26ee4ea14a Force default mac OS path separator to be / instead of old style : 2021-03-21 14:32:16 -04:00
mjbudd77 95aa96a14e Aspect ratio pixel scaling fixes for Qt GUI. For issue #341. 2021-03-21 13:47:12 -04:00
mjbudd77 b825454fee Added to fix Qt build issue with pre Qt 5.12 builds. 2021-03-21 08:34:08 -04:00
mjbudd77 451b0f8474 For Qt GUI, change square pixel video option to be a force aspect ratio option and added a small list of preselect aspect options via video config window. Aspect ratio is now a configuration parameter for the video viewport. This addresses most of issue #341. Still TODO add custom aspect entry capability. 2021-03-21 07:17:01 -04:00
mjbudd77 9e1eb03b96 Added initial framework for being able to bind gamepad button presses to emulator key sequences. This makes it possible to trigger any short cut or hot key. 2021-03-20 09:24:02 -04:00
mjbudd77 afe54a5ab9 Fixed iNES_HEADER struct/class definition miscompare warning. 2021-03-19 22:05:20 -04:00
mjbudd77 fda056cdc3 Resolved a couple signed vs unsigned miscompare warnings. 2021-03-19 22:01:12 -04:00
mjbudd77 d52c4c24b6 Swapped out deprecated QPalette::Background symbol for QPalette::Window. 2021-03-19 21:53:10 -04:00
mjbudd77 2f097ff4b3 Resolved a couple bool/int comparision compiler warnings. Fixed Qt GUI crash when setting 4 score settings without a ROM loaded. 2021-03-19 21:37:27 -04:00
mjbudd77 bc3b156cf5 Compiler warning cleanup of unused variables and exception handling. 2021-03-19 20:59:03 -04:00
mjbudd77 456251861a Added a targeting reticle icon that can be used as a mouse cursor on the main viewport of Qt GUI. Easier to aim with for zapper games emulated by mouse. 2021-03-18 22:30:40 -04:00
mjbudd77 ffd5de60aa Added logic to Qt GUI to allow for the shape of the viewport cursor to be selectable between an arrow, cross, or blank. Also added a viewport cursor visibility configuration parameter. Cursor visibility and shape can be set via the video config option window. 2021-03-14 14:02:10 -04:00
mjbudd77 b1c0c4447f Successful test of using saved QPalette color settings. 2021-03-07 13:28:44 -05:00
mjbudd77 9642be0db1 Added functions to save QPalette color settings to a file and load then on request. 2021-03-06 22:30:56 -05:00
mjbudd77 7eb8ea9608 Added a GUI widget style test window. Contains most of the widget types for ease of seeing style changes. 2021-03-06 00:40:58 -05:00
mjbudd77 a9059517a5 Added menu to GUI palette color editor. 2021-03-05 22:26:32 -05:00
mjbudd77 037f1e04f9 Added color picker logic for GUI color palette selection. 2021-03-05 22:03:25 -05:00
mjbudd77 5ee2c6875e Created framework for GUI color palette edit window. 2021-03-05 21:29:50 -05:00
mjbudd77 0203344802 Added logic to look for a QResource (rcc) file along side a qss file when loading a new stylesheet. 2021-03-05 15:09:28 -05:00
mjbudd77 f7480c8560 Style fix for Qt gamepad config window button text. 2021-03-05 12:24:36 -05:00
mjbudd77 cb0bc74fd4 Added a styling wrapper class to allow for more control over palette colors. 2021-03-03 22:48:45 -05:00
mjbudd77 2a6a31fa48 Added Qt stylesheet GUI selection code. 2021-03-01 21:48:57 -05:00
mjbudd77 ac0f377873 Added a GUI style selection combo box. Lists all built in GUI styles available. This allows user to change the GUI style while it is running. Also, style setting is saved and used for future GUI startups. 2021-03-01 20:24:00 -05:00
mjbudd77 8347e2fd0b Bug fix for Qt GUI using default settings to force the minimum viewport until after the GUI has been drawn/resized at least once to ensure that the menu bar size has been finalized and the viewport meets demanded values. At the first resize event, the viewport minimum size is reset back to 1x values so that the window can still be shrunk by dragging the lower window corners and edges. 2021-02-27 19:29:50 -05:00
mjbudd77 8241973af1 Fixed order of execution bug to ensure that first startup of Qt GUI with default config sizes window exactly right. 2021-02-27 18:21:39 -05:00
mjbudd77 081d55ea45 Added menu bar to the Qt RAM search window. Currently only has a File->Close menu entry. 2021-02-27 17:16:04 -05:00
mjbudd77 623c2151a7 Added a menu bar to the Qt code data logger window with basic file load/save and window close functionality. 2021-02-27 17:07:20 -05:00
mjbudd77 c962e2bd43 Added --no-compiler-runtime command line option to windeployqt in qfceux appveyor build script. This will omit vc_redist_x64.exe from being included in the built zip file. 2021-02-27 09:30:34 -05:00