Veronica Berglyd Olsen
85e48eb56a
Fix a few minor typing issues
2022-10-20 12:14:09 +02:00
Veronica Berglyd Olsen
58f8f98c6f
Use constants for project and config file names
2022-10-20 12:13:29 +02:00
Veronica Berglyd Olsen
734f3d57bf
Rename statusBar to mainStatus in main GUI due to conflict with Qt method ( #1190 )
2022-10-20 00:26:18 +02:00
Veronica Berglyd Olsen
8775b360d8
Remove all verbose log entries
2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen
ac05dbc55b
Fix a potential bug
2022-10-18 23:46:08 +02:00
Veronica Berglyd Olsen
da820871fd
Simplify the check functions in common ( #1185 ) and remove the checkIntRange function
2022-10-18 23:41:29 +02:00
Veronica Berglyd Olsen
5d6778be57
Clean up class initialisation
2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen
b96c1e9f09
Add test coverage of doc tools
2022-10-10 16:35:13 +02:00
Veronica Berglyd Olsen
2bda53e971
Split up the project tree deleteItem function
2022-10-09 19:21:05 +02:00
Veronica Berglyd Olsen
73b8e3e0fb
Use the new item checker functions instead of equal operator
2022-09-11 17:22:46 +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
ea61db9591
Simplify the novel outline tree
2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen
52683d5a21
Add novel tree toolbar and connect actions
2022-06-12 17:47:32 +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
0181bebd70
Rename ambiguous theParent variable to mainGui
2022-06-11 15:33:32 +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
347d34bf83
Clean up the index code a bit and add index validation
2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen
44926a4e9a
Also make tree and options properties of the project
2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen
8bdd09400a
Move the project index into the project class
2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
f7e31bd452
Use "project name" consistently on the GUI
2022-05-22 16:23:49 +02:00
Veronica Berglyd Olsen
78b97ce8fb
Remove name as a required parameter for new root folders since no part of the GUI uses it
2022-05-21 22:10:25 +02:00
Veronica Berglyd Olsen
cea22b6147
Clean up new project creation function
2022-05-21 17:58:47 +02:00
Veronica Berglyd Olsen
b4ea5bc8d0
Update minimal project content
2022-05-21 17:33:36 +02:00
Veronica Berglyd Olsen
ad42a71427
Fix tests
2022-05-21 16:57:09 +02:00
Veronica Berglyd Olsen
46dce17dfe
Update new project generation to match wizard
2022-05-21 16:29:41 +02:00
Veronica Berglyd Olsen
bd5a14b18e
Block drag and drop for ROOT items on the widget level, and drop the TRASH item type
2022-04-23 16:57:13 +02:00
Veronica Berglyd Olsen
50db7fcddb
Simplify updating an item after it has been moved
2022-04-17 17:49:47 +02:00
Veronica Berglyd Olsen
61f5425662
Update new item functions in project class
2022-04-16 20:55:54 +02:00
Veronica Berglyd Olsen
da13fbff08
Merge branch 'main' into multi_root
2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen
6aa13e318b
Add sorting capability to status and importance labels
2022-04-16 18:17:01 +02:00
Veronica Berglyd Olsen
2f547033cd
Simplify all other strings in main project class
2022-04-16 17:00:08 +02:00
Veronica Berglyd Olsen
e98e942f19
Replace key generator in the NWStatus class
2022-04-16 14:59:25 +02:00
Veronica Berglyd Olsen
ddd8b60816
Complete the needed GUI class changes for the new NWStatus class
2022-04-05 23:13:39 +02:00
Veronica Berglyd Olsen
40e7055f16
Rewrite most of the NWStatus class
2022-04-05 22:08:14 +02:00
Veronica K. B. Olsen
9c9408d78a
Changing status or importance flags should still update hidden flags
2022-04-05 11:22:41 +02:00
Veronica Berglyd Olsen
34b5181f34
Merge branch 'main' into multi_root
2022-04-03 22:53:45 +02:00
Veronica Berglyd Olsen
23fd6b815f
Save both status and importance flags ( #1030 )
...
* Put the status icons in the status object itself
* Allow saving both status and importance values
* Update current tests
* Improve test coverage
* Update sample project file
2022-04-03 22:43:11 +02:00
Veronica Berglyd Olsen
bdde6a2080
Clean up handling of root and class info for items
2022-04-03 17:45:17 +02:00
Veronica Berglyd Olsen
f9ddcd2f8a
Restructure the record of root items in the tree class
2022-04-02 19:13:54 +02:00
Veronica Berglyd Olsen
89558481de
Merge branch 'main' into multi_root
2022-04-02 16:03:43 +02:00
Veronica Berglyd Olsen
045a595537
Implement project file format 1.4 ( #993 )
...
* Update the item class with more compact item storage format
* Bump version and file version
* Update tests
* Add explicit test coverage for format conversions for item class
* Update the documentation
2022-02-20 22:05:31 +01:00
Veronica Berglyd Olsen
05aa656e75
Remove checks for unique root
2022-02-14 22:18:16 +01:00
Veronica Berglyd Olsen
85ea9f5b19
Add automatic index rebuild ( #975 )
...
* Rebuild the index automatically if not all files are in the index on open
* Update tests
2022-01-25 17:41:34 +01:00
Veronica Berglyd Olsen
ec07cebb51
Handle IO error on document save ( #961 )
...
* Add try/except to document replace call
* Try the os.replace command 5 times
* Just use else condition on for loop instead
* Make the exceptions explicitly OSError
* Revert the os.replace loop, as this is not the issue
2022-01-19 19:13:08 +01:00
Veronica Berglyd Olsen
8b603d15a5
Add back in i18n instructions and revert changes to class labels ( #970 )
...
* Revert the duplicate class name labels since there was no real need
* Restore i18n instructions
2022-01-19 08:35:59 +01:00
Veronica Berglyd Olsen
074718aedc
Clean up GUI text ( #969 )
...
* Remove all statustip entries in the menu
* Prune text in Preferences
* Fix class labels
* Remove some redundant tooltips
* Improve some labels and dialogs
* Remove some more tooltips and fix a typo
* Update base ts file
* Fix typo
2022-01-18 22:16:25 +01:00
Veronica Berglyd Olsen
25038e6cbb
Add support for external translation tools ( #968 )
...
* Make some minor translation fixes
* Remove crowdin file and add import function for crowdin zip file
* Rename fallback project lang file to en_GB
* Update all i18n files from crowdin exports
* Fix tests
* Update docs
2022-01-18 19:17:20 +01:00
Veronica Berglyd Olsen
c1c6a370a5
Merge patch 1.5.5 ( #955 )
...
* Remove os.path.commonpath call (Issue #954 )
* Bump version and update changelog and release notes
2022-01-05 16:24:34 +01:00
Veronica Berglyd Olsen
6ac9e1aec4
Tighten up the item class ( #937 )
...
* Protect the attributes of the NWItem class
* Fix test coverage
* Add a type checker function to the tree class
2021-12-31 16:25:20 +01:00
Veronica Berglyd Olsen
af3d0d2eb0
Happy new year! ( #941 )
2021-12-31 15:56:43 +01:00