Commit Graph

104 Commits

Author SHA1 Message Date
Veronica K. B. Olsen bbb0f5f9dd Moved the search bar code into a new class 2020-06-15 21:36:04 +02:00
Veronica K. B. Olsen 7374d0513e Some minor changes for code consistency 2020-06-15 16:39:31 +02:00
Veronica K. B. Olsen aad35e2d7b First some cleanup of the document widgets 2020-06-15 16:35:24 +02:00
Veronica K. B. Olsen d2b1b8b57e Added back in strikethrough support 2020-06-13 10:27:02 +02:00
Veronica K. B. Olsen 63656e637f Improved the emphasis function for alternating between levels 2020-06-12 22:47:54 +02:00
Veronica K. B. Olsen 1f434718ec Replaced underline format with bold-italic, and all formats now use star, not underscore 2020-06-12 22:00:14 +02:00
Veronica K. B. Olsen 9671db0b42 Some cleanup in the doc view header 2020-06-11 17:57:58 +02:00
Veronica K. B. Olsen c3e6007f76 Some cleanup in the doc edit header 2020-06-11 17:54:43 +02:00
Veronica K. B. Olsen 2b878777d4 Moved the header bar for the editor into the doceditor file 2020-06-11 17:49:39 +02:00
Veronica K. B. Olsen e58c00b610 Use frameWidth instead of lineWidth for positioning document title bars 2020-06-11 16:33:57 +02:00
Veronica K. B. Olsen b61402a373 Completed redesign of doc viewer details panel 2020-06-09 23:25:01 +02:00
Veronica K. B. Olsen f24ec180b2 Fixed the size of the doc title bar when the scroll bar is present 2020-06-08 17:40:34 +02:00
Veronica K. B. Olsen 2c337e5938 Added the document tile buttons and icons 2020-06-08 00:24:23 +02:00
Veronica K. B. Olsen 6cb17a185a Drop the noticebar class as well 2020-06-07 23:21:27 +02:00
Veronica K. B. Olsen 1fc76b0d95 Remove the whole document read only logic 2020-06-07 23:19:28 +02:00
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