Commit Graph

89 Commits

Author SHA1 Message Date
Veronica K. B. Olsen d95e8caa50 Gui sizes should now scale between high and low DPI screens 2020-06-05 16:18:20 +02:00
Veronica K. B. Olsen 8b22deb1f4 All fixed sizes should no be passed through the pxInt function 2020-06-04 21:58:35 +02:00
Veronica K. B. Olsen 8199c2f4e9 Added outline details panel, and removed project in constructor of GUI classes 2020-06-02 22:00:23 +02:00
Veronica K. B. Olsen 49141ac8de Moved all gui files to the root gui folder 2020-06-01 23:47:37 +02:00
Veronica K. B. Olsen 6f893bf321 Cleaned up the source files in the gui folder a bit. 2019-10-31 13:56:00 +01:00
Veronica K. B. Olsen 9fea45b7df The editable flag for files is now respected by the editor, and trash files are not editable 2019-10-31 13:37:27 +01:00
Veronica K. B. Olsen 7969c58351 Make sure editor is clear if we're not re-loading a document when we're initialising it 2019-10-31 12:46:52 +01:00
Veronica K. B. Olsen 9342f90a41 Added ctrl + mouse click to follow tags as well. 2019-10-30 21:49:48 +01:00
Veronica K. B. Olsen 5a76d4982d Ctrl+Enter on a tag name now opens the file in the view pane 2019-10-30 21:05:28 +01:00
Veronica K. B. Olsen 9fb28281f3 Added the option to show tabs and spaces and line endings. 2019-10-29 18:38:16 +01:00
Veronica K. B. Olsen e2b8ce1f89 Disable the Ctrl+Enter shortcuts again 2019-10-29 17:53:13 +01:00
Veronica K. B. Olsen 489eae2e0d Adding non-breaking space support for editor and html, latex export 2019-10-29 14:49:11 +01:00
Veronica K. B. Olsen 146756a395 Added unicode constants class, and support for non-breaking spaces, which aren't preserved on save. 2019-10-29 11:35:40 +01:00
Veronica K. B. Olsen 62254e1ec0 Added Ctrl+Enter as a shortcut for hard line break 2019-10-28 21:43:05 +01:00
Veronica K. B. Olsen 4fcff94b05 Make sure the document isn't overwritten if it exists, but we have an error loading it due to encoding, or otherwise 2019-10-28 14:12:26 +01:00
Veronica K. B. Olsen a67d3ed599 Set autoreplace characters with unicode code instead to make it easier to read the source code 2019-10-25 00:06:39 +02:00
Veronica K. B. Olsen 558af9f329 Added an import file to document feature 2019-10-23 21:05:33 +02:00
Veronica K. B. Olsen 052272938c Remove icon from context menu 2019-10-06 17:51:59 +02:00
Veronica K. B. Olsen 74bc412739 Updated debug info 2019-10-06 15:57:45 +02:00
Veronica K. B. Olsen d7e485af05 Some improvements to replace action 2019-10-06 15:51:46 +02:00
Veronica K. B. Olsen d91d77d5ab Search/replace now fully implemented, although only for currently edited document 2019-10-06 15:36:34 +02:00
Veronica K. B. Olsen cb2ee95d10 Simple search function now working 2019-09-29 18:50:43 +02:00
Veronica K. B. Olsen 1bf539d490 Basic search feature now works, but needs more tweaking 2019-09-29 17:16:17 +02:00
Veronica K. B. Olsen 57929a1138 Added version checking for Qt5 and PyQt5 dependencies 2019-09-14 11:41:24 +02:00
Veronica K. B. Olsen 21b7e882ac A few GUI tweaks 2019-06-15 22:19:52 +02:00
Veronica K. B. Olsen b934d0439a Major reorganisation of themes, and added a few more syntax themes 2019-06-15 20:07:35 +02:00
Veronica K. B. Olsen 583e10adec Added dark tomorrow theme and separated gui theme from syntax 2019-06-15 15:24:29 +02:00
Veronica K. B. Olsen 4e5f2d30f4 Rewritten how document margins and text width is handled 2019-06-15 12:25:02 +02:00
Veronica K. B. Olsen 8e73d6ac9a Fixed setting of font for doceditor and docviewer 2019-06-12 20:55:41 +02:00
Veronica K. B. Olsen 46bd7a8871 Fixed the loading of dictionaries 2019-06-12 20:33:06 +02:00
Veronica K. B. Olsen c48b1deb8f Added wrapper classes for spell checker so new libraries can be added 2019-06-11 20:27:29 +02:00
Veronica K. B. Olsen f9f8d292d1 Finished all the autoreplace options in the config gui 2019-06-11 15:43:04 +02:00
Veronica K. B. Olsen 30f25fcb2b Added a number of options to the config gui 2019-06-10 21:55:17 +02:00
Veronica K. B. Olsen 3793d03e4e Moved the NWDoc instance from main GUI to the docEditor as it is not really needed in the main view. 2019-06-09 10:16:40 +02:00
Veronica K. B. Olsen 07244045cc Make sure no menu items crashes the app when there is no project open 2019-06-08 15:57:22 +02:00
Veronica K. B. Olsen a2d0f937ae Connected the syntax highlicghter to the index. It now shows valid keywords and values 2019-05-30 19:57:02 +02:00
Veronica K. B. Olsen 9fc59262a9 Added project word count 2019-05-25 23:16:27 +02:00
Veronica K. B. Olsen 2bb10bd0d3 Fix setting of defaults in config 2019-05-25 22:13:20 +02:00
Veronica K. B. Olsen 3cbea6eff2 SOme cleanup of code in config, and added tab width option 2019-05-25 22:01:59 +02:00
Veronica K. B. Olsen 0f608d4442 Cleaned up import statements 2019-05-25 20:09:03 +02:00
Veronica K. B. Olsen ad79b60961 Changed the way creating new, and closing projects is done to make it more roubust 2019-05-24 00:37:45 +02:00
Veronica K. B. Olsen a2a6fd60bc Added a theme class that loads the theme from config 2019-05-18 20:48:19 +02:00
Veronica K. B. Olsen bf1b4d5d3b Fixed tests, some resize issues, and cleaned out some unneeded code. 2019-05-18 18:13:25 +02:00
Veronica K. B. Olsen 76a4e6499b Fix margins for viewer, and handle split positions properly 2019-05-18 17:50:56 +02:00
Veronica K. B. Olsen ac1f9569e6 Document editor and document viewer are now in different panes 2019-05-18 17:09:03 +02:00
Veronica K. B. Olsen 19b2521b73 Cursor position is now saved and loaded with the document. 2019-05-18 13:52:45 +02:00
Veronica K. B. Olsen cb71da5200 Move around the class methods a bit 2019-05-18 13:43:49 +02:00
Veronica K. B. Olsen e2895ce4f7 Improved the alert to user interface, and added an enum class for severity flags. 2019-05-12 20:34:52 +02:00
Veronica K. B. Olsen 237c92da1a Commented out a debug message 2019-05-12 16:24:14 +02:00
Veronica K. B. Olsen fbdff8d249 Spell check can now be enabled/disabled and re-run on document 2019-05-12 16:18:37 +02:00