Commit Graph

4760 Commits

Author SHA1 Message Date
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
mjbudd77 194a2cfca2 Fixed file dialog code in input.cpp to use QFileDialog. 2021-02-27 09:08:15 -05:00
mjbudd77 8e4282fb42 Bug fix for Qt GUI ROM hard reset function. Function was using last open file config variable to determine which ROM to reload. Changed this function to read currently loaded ROM file path from core as this will always be correct. 2021-02-26 06:16:35 -05:00
mjbudd77 1cf00640c4 Added RAM init menu option to Qt GUI. 2021-02-25 20:19:41 -05:00
mjbudd77 ffc7e70b0d For Qt GUI fixed region auto detection logic to preserve dendy mode if an NTSC game is loaded. Also, added an option to enable/disable region auto detection functionality. This allows for the users selection via the GUI to be strictly enforced. Also, added a region select sub menu to the emulation main menu. Fixes issue #335. 2021-02-25 19:36:08 -05:00
mjbudd77 67c6386688 Logic for to allow for Qt GUI to auto detect NTSC/PAL at ROM load. 2021-02-24 19:23:07 -05:00
mjbudd77 2f83d11baa Added current window and viewport size readouts to Qt video config window. 2021-02-23 22:22:03 -05:00
mjbudd77 dda6cb33bb Added some protections to prevent user from reversing start/end scanlines via video config window. 2021-02-23 21:19:17 -05:00
mjbudd77 e3f2970dcd Added scanline start/end entry boxes for NTSC and PAL/Dendy to Qt Video config window. 2021-02-23 21:04:50 -05:00
mjbudd77 c544c137f5 Compiler warning cleanup for movie.cpp. Reordered initializer in constructor to match the order in which they are declared. Gave case statement a default for unhandled enum values. 2021-02-22 07:21:14 -05:00
mjbudd77 33882cb0d7 Fix for annoying compiler warning complaining about misleading indentation following if conditional. 2021-02-21 21:12:20 -05:00
mjbudd77 bf17e53335 Fix for mismatched fceu.cpp free()/malloc() error flagged by valgrind. 2021-02-21 21:04:02 -05:00
mjbudd77 3d2d3cbf26 Changed logic for Qt windows users for the config file to be located in the same directory as the executable by default. If a user wishes to override that behavior, they can set an FCEUX_HOME environment variable and that will become the users fceux config settings are stored. 2021-02-21 20:52:55 -05:00
mjbudd77 aacee3ddb9 Bug fixes for Qt hex editor ascii section key input. Key inputs now use character table. 2021-02-21 20:21:11 -05:00
mjbudd77 e07cd5ec52 Added a menu bar to the Qt trace logger with a File/Close option. 2021-02-21 18:39:18 -05:00
mjbudd77 79dcb51073 Auto Format of Qt code data and trace logger. Fix spaces/tabs code readability. 2021-02-21 18:32:30 -05:00
mjbudd77 9175eabf76 Added a close window button to the Qt game genie window. 2021-02-21 18:29:09 -05:00
mjbudd77 0bff7b7608 Added File/Close menu option to PPU tile editor window. 2021-02-21 18:24:30 -05:00
mjbudd77 7c4e8cfeec Added File/Close menu options to Qt debugger, ppu viewer, and name table viewer. 2021-02-21 18:21:00 -05:00
mjbudd77 348c26d78c Added TBL support to Qt hex editor. 2021-02-21 14:20:04 -05:00
mjbudd77 29e4825d12 Added code to free config memory at application exit. 2021-02-21 11:06:48 -05:00
mjbudd77 c107de92cd Cleanup code data logger allocated memory at application close. 2021-02-21 10:48:06 -05:00
mjbudd77 2a2e1b7bca Re-added code to free allocated video memory at application close. Free Qt NES wrapper memory at application close. 2021-02-21 10:39:21 -05:00
mjbudd77 b8e647fbc6 Fixed segmentation fault when offsetStringToInt is called without a loaded ROM. 2021-02-20 18:40:48 -05:00
mjbudd77 7dc77269b5 Added close buttons to Qt GUI config and tools windows. Debug windows still to be evaluated. Only exceptions are when the window has a menu bar with a file -> close option. 2021-02-20 06:57:25 -05:00
mjbudd77 e6754c87ba Added a recent ROMs sub menu to the Qt main menu. 2021-02-19 20:46:27 -05:00
mjbudd77 67fb5263cc Added a few context menu accelerators to debugger, hex editor, ppu viewer, and name table viewer Qt windows. 2021-02-19 00:15:23 -05:00
mjbudd77 350f7fa468 More QFileDialog show()/exec() fixes. #332 2021-02-18 23:28:31 -05:00
mjbudd77 5eb79dcf9d Removed all redundant QFileDialog calls to show() when exec() is already being called. The show() function is a non-blocking call to create a dialog window. exec() is a blocking call and is required to use the native windows file browser. Since all the file dialog callback functions are designed to be blocking anyway, the show() calls really shouldn't be there anyway. This fixes part of #332. 2021-02-18 23:14:31 -05:00
mjbudd77 5f46fd098f Added a refresh rate submenu under View in the Qt hex editor that allows for setting the update rate to the following values in Hz: 5, 10, 20, 30, and 60 (for those with super human eye-to-brain processing times). 2021-02-18 22:28:59 -05:00
mjbudd77 41c9125788 Added logic to Qt hex editor to force a redraw event when keyboard or mouse events that effect the cursor occur. 2021-02-18 22:04:13 -05:00
mjbudd77 90d31dadca Added logic to Qt hex editor to set minimum line width to full line length at construction. Part of #322. 2021-02-18 21:48:57 -05:00
mjbudd77 ea97709f85 Set minimum debugger assembly viewport width at construction to avoid window resizing when upon initial load of assembly text. Part of #322. 2021-02-18 21:29:55 -05:00
mjbudd77 86ffdcee3a Removed calls to old text console based cheat menu in favor of Qt GUI cheat menu. Default hot key for opening the cheat menu is F1 and was crashing when trying to bring up text cheat console. Qt window does not have this issue. Fixes part of #332. 2021-02-18 20:13:05 -05:00