Commit Graph

66 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen bf592fa706 Clean up outline view code 2023-09-15 22:38:56 +02:00
Veronica Berglyd Olsen c4140d753c Improve handling of project closing 2023-08-13 23:32:10 +02:00
Veronica Berglyd Olsen 863dcf8b37 Move theme and project instances to new shared data class 2023-08-10 21:13:10 +02:00
Veronica Berglyd Olsen 5d817ae51f Move GUI components module to extensions subpackage 2023-08-08 22:47:24 +02:00
Veronica Berglyd Olsen d658a993c0 Update source file headers 2023-08-08 21:41:35 +02:00
Veronica Berglyd Olsen 12897ff2e1 Make project instance private to main GUI class 2023-08-08 17:21:00 +02:00
Veronica Berglyd Olsen 94c95d6f67 Move GUI theme instance to the config object (after app creation) 2023-08-08 14:35:55 +02:00
Veronica Berglyd Olsen 4dfa51855e Spell check comments and docstrings 2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen 61535b6ab6 Fix minor mistakes in source files from last commits 2023-06-13 22:57:19 +02:00
Veronica Berglyd Olsen b2bfaad73d Fix test coverage of outline class 2023-06-13 22:15:14 +02:00
Veronica Berglyd Olsen 8d38f27eee Update gui options file format to macth others 2023-06-13 17:31:40 +02:00
Veronica Berglyd Olsen 8e6bb0b3d6 Fix outline margin so last column can be resized 2023-06-10 01:14:25 +02:00
Veronica Berglyd Olsen 6f02f3f74d Simplify how outline column headers are saved 2023-06-10 00:45:25 +02:00
Veronica Berglyd Olsen 2f0ac4fe17 Fix Qt.UserRole access warning 2023-06-05 00:08:11 +02:00
Veronica Berglyd Olsen 3e34721b66 Make gui class debug messages consistent 2023-06-01 00:31:42 +02:00
Veronica Berglyd Olsen 324b204eaa Drop all mappings of config object into classes now that tests don't need that 2023-05-16 23:00:30 +02:00
Veronica Berglyd Olsen 41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen e84b8d4d1d Fix versions in module docstrings, more 2022-11-25 22:57:05 +01:00
Veronica Berglyd Olsen d0e4c9f822 Fix versions in module docstrings 2022-11-25 22:43:27 +01:00
Veronica Berglyd Olsen 55f7a91eaf Add a button to open the novel tree root selector 2022-11-22 12:33:32 +01:00
Veronica Berglyd Olsen 039b2095f0 Let the novel selector replace the novel tree label 2022-11-18 02:01:55 +01:00
Veronica Berglyd Olsen 5c7c820fef Add a combo box to novel tree 2022-11-18 01:03:44 +01:00
Veronica Berglyd Olsen 11b6ed87d4 Add the novel selector widget and use it for the outline 2022-11-18 00:44:58 +01:00
Veronica Berglyd Olsen 1e2920641d Force a max width of extra column in novel view (#1238) 2022-11-15 23:27:54 +01:00
Veronica Berglyd Olsen a2ea7b40e2 Don't reload document if opening the same (#1242) 2022-11-15 16:49:59 +01:00
Veronica Berglyd Olsen 992ed4f36c Update tests 2022-11-14 17:56:31 +01:00
Veronica Berglyd Olsen b0a0ca089f Rewrite index class to use sequential title keys rather than line numbers 2022-11-14 16:59:51 +01:00
Veronica Berglyd Olsen bbc5be0075 Disable toolbars when no project is open 2022-11-10 16:32:17 +01:00
Veronica Berglyd Olsen 15fec91358 Clean up setters and getters in Config 2022-11-10 09:29:00 +01:00
Veronica Berglyd Olsen 9d283d2eae Move all remaining trivial project settings to the data class 2022-10-31 15:55:33 +01:00
Veronica Berglyd Olsen 15fd4c51df Fix bug with missing icons in outline view 2022-10-30 16:58:10 +01:00
Veronica Berglyd Olsen 88183cdc39 Add updateTheme functions to remaining GUI components 2022-10-25 23:42:43 +02:00
Veronica Berglyd Olsen 815c0f1125 Add a bunch of None checks, even if many may be redundant 2022-10-20 00:21:51 +02:00
Veronica Berglyd Olsen 8775b360d8 Remove all verbose log entries 2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen 8fe25d4b43 Update classes and functions to use the item as source of main heading instead of index 2022-10-17 20:15:45 +02:00
Veronica Berglyd Olsen 91e6b0671e Add header decoration function to the icon class 2022-10-14 10:19:31 +02:00
Veronica Berglyd Olsen 5d6778be57 Clean up class initialisation 2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen 747a1a212c Make some minor improvements to code and tests 2022-10-10 15:48:45 +02:00
Veronica Berglyd Olsen cc7ae316ad Make some minor changes for consistency between similar classes 2022-08-15 16:08:25 +02:00
Veronica Berglyd Olsen 069e3baf67 Add functionality to load and save last selected outline novel, and fix a few inconsistencies 2022-07-31 18:40:16 +02:00
Veronica Berglyd Olsen 67aff2550b Change look of outline tree 2022-07-15 14:38:37 +02:00
Veronica Berglyd Olsen 50f299171a Add some convenient tree widget settings to the different trees 2022-06-15 17:33:47 +02:00
Veronica Berglyd Olsen 3a061eec3f Update novel tree menu processing and fix issue with reaload of document 2022-06-15 16:14:28 +02:00
Veronica Berglyd Olsen 985179bbb9 Rename main theme object 2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen db01d85f2e Rename outline components 2022-06-11 15:59:08 +02:00
Veronica Berglyd Olsen 0181bebd70 Rename ambiguous theParent variable to mainGui 2022-06-11 15:33:32 +02:00
Veronica Berglyd Olsen d07f5dc520 Wrap project tree in an outer widget with a toolbar 2022-06-06 15:50:46 +02:00
Veronica Berglyd Olsen 4d9b94cfe6 Improve test coverage of Outline 2022-06-05 22:31:10 +02:00
Veronica Berglyd Olsen 85f63721e0 Allow showing all novel files in Outline 2022-06-05 18:43:09 +02:00
Veronica Berglyd Olsen 88976d6800 Streamline how project item changes are reported 2022-06-05 17:25:39 +02:00