Veronica Berglyd Olsen
d7c8f97d47
Add test coverage and fix a few minor things
2023-08-31 16:38:51 +02:00
Veronica Berglyd Olsen
94329b334a
Forward all scroll events in editor/viewer areas to their text area widgets ( #1425 )
2023-08-31 11:40:52 +02:00
Veronica Berglyd Olsen
a3976ab4fb
Fix imports
2023-08-14 00:07:38 +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
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
3e34721b66
Make gui class debug messages consistent
2023-06-01 00:31:42 +02:00
Veronica Berglyd Olsen
704fffada3
Move all code to set default text font into the Config class
2023-05-31 17:49:31 +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
38f31d6a64
Remove the tokenizer post processing stage and instead run it where needed (Issue #1412 )
2023-04-15 18:30:37 +02:00
Veronica Berglyd Olsen
acd4d44a9e
Fix reference panel links ( #1378 )
2023-02-26 10:30:25 +01:00
Veronica Berglyd Olsen
41a0788b4c
Update copyright year to 2023
2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
32d75567e3
Use direct imports everywhere
2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
e0ca2e7fb5
Update tests and remove unused functions in viewer
2022-11-15 16:50:41 +01:00
Veronica Berglyd Olsen
b46ad86c31
Clean up config file format, modify how projects are launched, and add broken theme setting handling
2022-11-10 13:20:26 +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
4a9ea459fa
Make some minor changes and update test coverage
2022-10-29 00:38:32 +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
8775b360d8
Remove all verbose log entries
2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen
97724054ec
Require at least Qt 5.10 instead
2022-10-15 23:05:43 +02:00
Veronica Berglyd Olsen
30661130ca
Ignore coverage of lines of old Qt versions
2022-10-15 22:56:18 +02:00
Veronica Berglyd Olsen
5d6778be57
Clean up class initialisation
2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen
985179bbb9
Rename main theme object
2022-06-11 16:29:49 +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
88976d6800
Streamline how project item changes are reported
2022-06-05 17:25:39 +02:00
Veronica Berglyd Olsen
ac14888e2a
Merge branch 'main' into outline_view
2022-06-05 13:36:54 +02:00
Veronica Berglyd Olsen
01be8be44f
Remove old tagsIndex
2022-05-28 20:16:27 +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
8ac30b036a
Change how tag links are followed
2022-05-26 12:11:22 +02:00
Veronica Berglyd Olsen
3cfc5d9a1a
Remove borders from all main GUI widgets
2022-05-22 17:45:54 +02:00
Veronica Berglyd Olsen
7f43584ed5
Merge bugfixes ( #1009 )
...
* Fix document margin recursion error (#1007 )
* Fix project file icon path in Windows installer (#1006 )
2022-02-24 21:19:12 +01:00
Veronica Berglyd Olsen
9be2519406
Resolve HTML render bug ( #951 )
...
* Fix bug breaking HTML rendering with angle brackets in other blocks than normal text
* Restore cursor if document viewer fails to load
* Improve test coverage
2022-01-04 20:52:36 +01:00
Veronica Berglyd Olsen
7024254960
Simplify text width settings ( #943 )
...
* Remove the fixed text width switch, resolves #924
* Update tests
* Clean up code to set text width and add to viewer
2021-12-31 17:17:27 +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
Veronica Berglyd Olsen
00eea24e3f
Error logging and mutables as function defaults ( #930 )
...
* Remove mutable iterables as function defaults
* Improve error reporting and standardise how it's done
2021-11-10 00:32:01 +01:00
Veronica Berglyd Olsen
3c8cb34b0a
Project tree status and total word count changes ( #882 )
...
* Fix some inconsistencies in source file docstrings
* Remove the option to show status text in project tree
* Change how total word counts are calculated and propagated
* Fix tests and improve coverage
* Add setting in preferences
* Add missing word count timer to config file
2021-09-10 00:38:45 +02:00
Veronica Berglyd Olsen
3403d98c72
Rename package from 'nw' to 'novelwriter' ( #868 )
...
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00