Commit Graph

190 Commits

Author SHA1 Message Date
Veronica K. B. Olsen e2d5534959 Some minor code cleanup and redundant code removed 2021-01-09 20:21:32 +01:00
Veronica K. B. Olsen a6cbdfc559 Fix initial setting of project word count 2021-01-09 20:07:09 +01:00
Veronica K. B. Olsen 7c643ea698 Make sure document edit status is not set on non-text changes 2021-01-09 19:53:42 +01:00
Veronica K. B. Olsen 4a4ac1d6c8 Add a new constants class named nwLists 2021-01-06 21:53:42 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen fa319391c0 Remove some now redundant checks 2020-12-21 21:25:04 +01:00
Veronica K. B. Olsen d008113eec Remove some more test flags in the main code 2020-12-21 21:08:49 +01:00
Veronica K. B. Olsen cf3350c6b6 Trash and Orphaned folders shouldn't be editable 2020-12-20 22:07:10 +01:00
Veronica K. B. Olsen 8d71ee30d4 Use the main gui askQuestion function for yes/no dialogs 2020-12-19 20:21:43 +01:00
Veronica K. B. Olsen 9a5f87073f Fix the Focus Mode checkbox not updating in the menu 2020-12-13 20:10:24 +01:00
Veronica K. B. Olsen c17d4de0a5 Remove QMessageBox dependency in NWProject class 2020-12-05 19:13:36 +01:00
Veronica K. B. Olsen 91ece2b7f2 New test for ToHtml class 2020-12-04 20:58:44 +01:00
Veronica K. B. Olsen 00f6277eb7 Add config option and set up menu action 2020-11-24 18:36:08 +01:00
Veronica K. B. Olsen 6087506cf0 Split insert menu into groups, and add keywords to distraction free mode 2020-11-21 14:51:37 +01:00
Veronica K. B. Olsen 18bc4fb520 Clarify the dialog messages when closing a project or novelWriter 2020-11-08 00:41:04 +01:00
Veronica K. B. Olsen 2a0be718d7 Added more checks on actions for project or document being open 2020-11-01 18:39:12 +01:00
Veronica K. B. Olsen 98be2bd5b4 Block a bunch more main GUI actions when no project is open 2020-11-01 18:25:00 +01:00
Veronica K. B. Olsen 967037ff89 Clear the outline details panel when closing a project 2020-10-31 17:49:32 +01:00
Veronica K. B. Olsen c0ad631039 Updated source file descriptions 2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen d973f28755 Code and comment cleanup in main GUI 2020-10-15 18:39:15 +02:00
Veronica K. B. Olsen fe71353198 Add option to hide scrollbars on all major GUI areas 2020-10-11 16:40:54 +02:00
Veronica K. B. Olsen dc5da378ed Merge branch 'main' into editor_features 2020-10-07 19:32:56 +02:00
Veronica K. B. Olsen 8e5664c9ae Minor changes to imort document feature 2020-10-07 19:26:38 +02:00
Veronica K. B. Olsen e22f99cffb handle tuple returns from file dialog properly 2020-10-07 19:19:36 +02:00
Veronica K. B. Olsen 0c1aaecd78 Qt threading done right (thread pool for word counter) 2020-10-07 15:04:13 +02:00
Veronica K. B. Olsen 8d66875ebc Performance improvements to Build and Writing Stats, and making sure only one of each can be opened 2020-10-06 20:28:00 +02:00
Veronica K. B. Olsen 93851d84bf Delayed cursor move for large documents speeds up loading significantly 2020-10-06 01:14:14 +02:00
Veronica K. B. Olsen 003d28f9db Updating the index now only rehighlights lines with meta keywords 2020-10-05 22:55:21 +02:00
Veronica K. B. Olsen efdf88be66 Drop the doceditor reloadText function as it resets undo stack 2020-10-05 20:54:19 +02:00
Veronica K. B. Olsen 26ebcd496d Improve itemEditor test, and refactor actions 2020-10-01 20:34:48 +02:00
Veronica K. B. Olsen e251ddacd2 Completed coverage of setProjectPath and made all os imports explicit 2020-09-29 23:27:51 +02:00
Veronica K. B. Olsen 0b7cd71b92 Complete coverage of new project function and remove test code from main app 2020-09-29 21:49:00 +02:00
Veronica K. B. Olsen 28ef1d12b0 All message box questions are now handled in test suite, so no need to check for showGUI 2020-09-28 22:22:29 +02:00
Veronica K. B. Olsen 678a31855f Improved coverage of dialogs tools, and import document feature 2020-09-28 20:29:52 +02:00
Veronica K. B. Olsen fc096ddb0b Significant improvements to dialog tests 2020-09-28 18:17:14 +02:00
Veronica K. B. Olsen eb66b879c5 Imports cleanup 2020-09-26 13:02:51 +02:00
Veronica K. B. Olsen 67f8a36272 Change copyright year to year-range 2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen 3f30923d12 Add objectName to all dialogs and made some other minor fixes 2020-09-22 23:01:09 +02:00
Veronica K. B. Olsen 9a9cfe1ce5 Rename showGUI variable to blockGUI and added some comments in Config class 2020-09-22 21:37:00 +02:00
Veronica K. B. Olsen 5810ba68b5 Added test for main preferences and improved the Preferences dialog a bit 2020-09-19 20:30:04 +02:00
Veronica K. B. Olsen bebb2f8e9d Cleanup 2020-09-19 17:44:04 +02:00
Veronica K. B. Olsen 365e2676fb Add test for the main error handler 2020-09-19 13:06:58 +02:00
Veronica K. B. Olsen f1ffb4fc22 Added edit and search button to document editor header 2020-09-09 20:22:36 +02:00
Veronica K. B. Olsen e30064ba0b Nav history in doc viewer now works 2020-09-08 21:20:38 +02:00
Veronica K. B. Olsen 6ebc4ca268 Cleaned up the way navigation is done in the document viewer 2020-09-08 18:19:22 +02:00
Veronica K. B. Olsen ba4bc54c9f Added the handling of project dictionary in the editor as well 2020-09-05 17:30:50 +02:00
Veronica K. B. Olsen 5f033a98bf Remove the alternative double apostrophe again 2020-08-23 20:55:30 +02:00
Veronica K. B. Olsen 377c9a3d41 Added insert menu entries and insert action code 2020-08-22 13:20:01 +02:00
Veronica K. B. Olsen 00f0a6887c Fixed flake8 W and F errors 2020-08-12 21:41:37 +02:00
Veronica K. B. Olsen 72cb1ed60f Fixed pycodestyle E7 errors 2020-08-12 21:11:25 +02:00