Commit Graph

61 Commits

Author SHA1 Message Date
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 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 cf742a89c0 Add a menu entry to change column size for last column in novel tree 2023-02-10 20:49:47 +01:00
Veronica Berglyd Olsen fd14c682a9 Allow more than one item in extra column 2023-02-10 20:16:49 +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 3a77228aaa Fix retention of selected item of novel tree in the details panel 2022-11-22 12:54:26 +01:00
Veronica Berglyd Olsen f26a745d0e Use novel selector for project details 2022-11-22 12:45:10 +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 1b7814e891 Disable tooltip when novel selector is idsabled 2022-11-18 02:07:30 +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 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 ebc6654069 Improve how the novel tree is refreshed 2022-11-14 18:45:36 +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 e52d8d9ff7 Add novel tree method to refresh metadata for item 2022-11-14 16:59:04 +01:00
Veronica Berglyd Olsen bbc5be0075 Disable toolbars when no project is open 2022-11-10 16:32:17 +01:00
Veronica Berglyd Olsen 13b9e5a434 Move project data class to project file 2022-10-31 21:25:40 +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 c7999831c9 Remove icon setting from config, and let the theme control it 2022-10-26 22:01:04 +02:00
Veronica Berglyd Olsen 88183cdc39 Add updateTheme functions to remaining GUI components 2022-10-25 23:42:43 +02:00
Veronica Berglyd Olsen 52ede26f3d Add updateTheme functions to most GUI components 2022-10-25 23:12:21 +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 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 cc7ae316ad Make some minor changes for consistency between similar classes 2022-08-15 16:08:25 +02:00
Veronica Berglyd Olsen 67aff2550b Change look of outline tree 2022-07-15 14:38:37 +02:00
Veronica Berglyd Olsen bb85232ea7 Add some fixes to keep novel tree active handle up to date 2022-06-15 19:47:04 +02:00
Veronica Berglyd Olsen 469275eea5 Add novel tree highlight of rows of current document 2022-06-15 19:39:07 +02:00
Veronica Berglyd Olsen ba0ce33cfc Add a tool tip with meta data behind a button on each novel tree item 2022-06-15 19:17:24 +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 cff464392a Use the indenta decorators of the novel tree to indicate type 2022-06-15 16:15:29 +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 538b722bdf Fix tests and a few other bits 2022-06-14 19:33:12 +02:00
Veronica Berglyd Olsen ea61db9591 Simplify the novel outline tree 2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen 49ace054bd Make options class handle enums, and add plot column to novel tree 2022-06-12 20:18:24 +02:00
Veronica Berglyd Olsen 8040441757 Allow changing content of last column of the novel tree 2022-06-12 19:59:18 +02:00
Veronica Berglyd Olsen 52683d5a21 Add novel tree toolbar and connect actions 2022-06-12 17:47:32 +02:00
Veronica Berglyd Olsen b3eb276437 Wrap the novel tree in an outer widget 2022-06-12 15:45:39 +02:00