Commit Graph

3646 Commits

Author SHA1 Message Date
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 88b2d61cec Update tests 2022-06-12 17:54:37 +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
Veronica Berglyd Olsen ed5c52859d Simplify the conversion of very old project data (#1083) 2022-06-11 23:57:08 +02:00
Veronica Berglyd Olsen c58868ed39 Simplify the conversion of very old project data 2022-06-11 23:54:20 +02:00
Veronica Berglyd Olsen 5a5a64e3a2 Replace the edit item dialog (#1082) 2022-06-11 18:54:08 +02:00
Veronica Berglyd Olsen 2cc8be5776 Rename the main GUI function for editing an item 2022-06-11 18:48:22 +02:00
Veronica Berglyd Olsen 8d427f40c6 Add a shortcut to open project tree context menu 2022-06-11 18:40:21 +02:00
Veronica Berglyd Olsen 946656f8c5 Add test for edit label dialog 2022-06-11 18:26:41 +02:00
Veronica Berglyd Olsen 37c3bb8cd2 Replace the item editor with the label editor dialog 2022-06-11 18:19:21 +02:00
Veronica Berglyd Olsen 6058423970 Add a new edit label dialog 2022-06-11 18:17:57 +02:00
Veronica Berglyd Olsen d162be3543 Give main GUI objects better names (#1081) 2022-06-11 16:36:15 +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 94068e777a Give main GUI elements more identifiable names 2022-06-11 15:49:45 +02:00
Veronica Berglyd Olsen 0181bebd70 Rename ambiguous theParent variable to mainGui 2022-06-11 15:33:32 +02:00
Veronica Berglyd Olsen b8d557646a Update the Project Tree with major improvements (#1079) 2022-06-11 14:53:45 +02:00
Veronica Berglyd Olsen 025463a28e Improve project tree test coverage 2022-06-11 14:40:03 +02:00
Veronica Berglyd Olsen f0bef18b63 Re-implement the tree context menu 2022-06-11 13:44:45 +02:00
Veronica Berglyd Olsen 77746f712f Fix inconsistend expand/collapse when tree items are moved 2022-06-11 12:33:37 +02:00
Veronica Berglyd Olsen ad438e128a Merge branch 'main' into project_tree_updates 2022-06-07 23:41:48 +02:00
Veronica Berglyd Olsen af39fb98a1 Clean up project tree code and add undo action to the menu 2022-06-07 23:38:17 +02:00
Veronica Berglyd Olsen ef270bc069 Tweak project toolbar look, and fix shortcuts 2022-06-07 22:38:02 +02:00
Veronica Berglyd Olsen 0909bf7c36 Update code of conduct to v2.1 2022-06-07 10:34:27 +02:00
Veronica Berglyd Olsen 5a6ef5efd3 Add move buttons to project tree toolbar 2022-06-07 00:11:42 +02:00
Veronica Berglyd Olsen 272e7f6e24 Remove redundant menu entries 2022-06-06 22:17:24 +02:00
Veronica Berglyd Olsen 46bb8e5bcc Populate the add button menu in the project widget 2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen 12a7ec7fe3 Allow the project class to create new files 2022-06-06 22:02:44 +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 b88cdb7677 Make the project tree columns fixed 2022-06-06 14:11:59 +02:00
Veronica Berglyd Olsen 669eabc7e8 Handle actions in the project tree internally in the class 2022-06-06 13:46:54 +02:00
Veronica Berglyd Olsen 3ff5dfce33 Set build language for Open Document files (#1077) 2022-06-05 22:47:21 +02:00
Veronica Berglyd Olsen 2f81aef0a3 Set build language for Open Document files 2022-06-05 22:42:25 +02:00
Veronica Berglyd Olsen 29739ab210 Update the Outline View panel (#1063)
Add a top level widget that contains the entire Outline View.
Move the details panel code to the outline.py file.
Add a toolbar to the top of the Outline view with a dropdown box to select which Novel folder to view.
Add a refresh button to the tool bar.
Move the context menu for changing columns to a menu button on the tool bar.
Remove the Rebuild Outline and Auto-Update Outline options from the main menu.
2022-06-05 22:34:49 +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 92924b3288 Make the new item function better at guessing header level of new files 2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen 88976d6800 Streamline how project item changes are reported 2022-06-05 17:25:39 +02:00
Veronica Berglyd Olsen 2873336dce Allow switching between root novel folders 2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen de07546e3f Fix tests 2022-06-05 13:41:22 +02:00
Veronica Berglyd Olsen ac14888e2a Merge branch 'main' into outline_view 2022-06-05 13:36:54 +02:00
Veronica Berglyd Olsen c28ac37df1 Rewrite index class (#1074)
Rewrites the index class to use objects rather than dictionaries to store indexing information.
Moves the index instance into the main project class instead of the main GUI object.
Makes the project tree and project options classes private to the project class.
2022-06-05 13:21:45 +02:00
Veronica Berglyd Olsen 63068f1018 Add full test coverage of index class 2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen 22099c1b56 Make some minor improvements to handling of tags and references 2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen eed59a96be Make some fixes to the index class, and improve test coverage 2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen 865acfd7e9 Clean up imports 2022-05-29 19:40:14 +02:00