Commit graph

442 commits

Author SHA1 Message Date
Curtis Gedak 5ea37bd192 Remove plot resolution step key bindings Ctrl+Enter and Ctrl+Backspace
Many applications, including Manuskript in the Editor pane, use the
keyboard shortcut 'Ctrl+Backspace' to delete the previous word.
However in the Plot pane Manuskript uses 'Ctrl+Backspace' to delete a
plot resolution step.

Fix this inconsistent behaviour by removing the keyboard shortcuts for
'Ctrl+Enter' and 'Ctrl+Backspace' from the Plot pane.

Closes issue #375
2018-11-26 11:05:46 -07:00
Curtis Gedak 60b58d9658 Fix Python 3.7 DeprecationWarning use local.format_string() messages
Fix by replacing locale.format() with locale.format_string().
2018-11-16 12:52:56 -07:00
Curtis Gedak 7f592bae41 Fix Python 3.6 DeprecationWarning invalid escape sequence messages
Fix by ensuring that regular expressions are constructed using either
raw string literals [1] or double backslashes [2].

[1] https://stackoverflow.com/questions/44325948/pandas-invalid-escape-sequence-after-update
[2] https://github.com/joblib/joblib/pull/526

Note that python only shows the deprecation warnings on initial run [3].

[3] https://bugs.python.org/issue30091

To work around this issue, remove the cached bytecode with:

    find . -name "__pycache__" -exec rm -rf {} \;

Then to prevent compiling to bytecode add the "-B" option to python:

    python3 -B -m pytest -vs
2018-11-16 12:52:56 -07:00
Curtis Gedak b0774b4149 Fix segmentation fault on import
Manuskript started to segmentation fault on import starting with Qt 5.11.

I found the following link and the Qt bug links within to be useful in
my trouble-shooting efforts.

[Qt 5.11] Various Applications Segfault in 'libfm-qt'
https://github.com/lxqt/libfm-qt/issues/164

Closes issue #402
2018-11-11 13:31:06 -07:00
RiderExMachina 41e9467267 Fix crash in Outline mode with multi-item select #355
Closes issue #355 and pull request #385
2018-10-14 11:10:46 -06:00
Curtis Gedak 21423734e9 Revert "Minor grammar fixes"
This reverts commit 2fdf8c64bf.

The problem introduced by the commit is that the Editor pane would
incorrectly label book elements with the plural form of a word.  For
example "Books 4", "Sections 2", "Chapters 1", or "Scenes 3".  Hence
the need to undo the commit.

Closes issue #383.
2018-09-20 14:57:44 -06:00
RiderExMachina 2fdf8c64bf Minor grammar fixes
Fix grammar regarding multiple of an object.
2018-09-11 10:32:51 -06:00
Curtis Gedak 378f03c0b6 Clear Cheatsheet results when filter text empty 2018-08-14 09:04:00 -06:00
Curtis Gedak 713528a239 Fix crash if Cheatsheet filter term not found and Enter key pressed #354
See issue #354.
2018-08-14 09:04:00 -06:00
Lech Baczynski e15cb80847 - formatting characters count according to locale, as in words count 2018-04-10 07:11:32 +02:00
Lech Baczynski c6da77baf9 - adding characters count. Implementing #334 2018-04-09 11:13:01 +02:00
Windspar 67db180c25 Fixes #217 - segfault when pasting text with focus mode enabled 2018-03-08 11:19:25 -07:00
JackXVII d3afa11ceb Remove _updateIndexFromID from textEditView
It is not used anymore.
2018-03-03 12:53:52 -07:00
JackXVII 3a21ddd137 Use QPersistentModelIndex in textEditView
It is much simpler than catching rowsAboutToBeDeleted signal from model. Also
it fixes #306.
2018-03-03 12:53:52 -07:00
Curtis Gedak 63b471e10d Make word match for spell check exclude underscore from words
See issue #283.

Adds (?!_) to perform negative lookahead to exclude "_" from pattern match.

https://stackoverflow.com/questions/14858346/regular-expressions-how-to-express-w-without-underscore
2018-02-20 10:51:57 -07:00
Windspar 4638ba878f stop crash when click btnGoUp and current editor is None 2018-02-18 14:06:33 -05:00
Curtis Gedak 43c077552a Avoid crash on spellcheck by ensuring enchant dictionary exists
See issue #273.
2018-02-12 10:59:14 -07:00
Sebastian Rasmussen dde836e0f4 Fix typos that are visible to end-users. 2018-01-29 10:30:41 -07:00
Sebastian Rasmussen dfe88a9681 Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
Olivier Keshavjee 4a9dc00381 Fixes #307: Overlay status bar prevents access to add/delete world item icons when displaying a message 2018-01-22 18:19:22 +01:00
JackXVII fe617f871f Adds moving World items. #219 2018-01-11 23:44:50 +03:00
Olivier Keshavjee 3c140d755f Adds "Sentence mode" to Focus mode. #259 2017-12-15 20:56:40 +01:00
Olivier Keshavjee 19f8938852 Corrects bug in links tooltips 2017-12-15 20:12:51 +01:00
Olivier Keshavjee a6a82d1bba Clickable links: adds tip to tooltip 2017-12-14 15:06:51 +01:00
Olivier Keshavjee cd8ad6cc3a Adds: clickable links, and display images as tooltips (#22, #215) 2017-12-14 14:55:14 +01:00
Olivier Keshavjee e76b9b4a1c Another take on status bar (#262) 2017-12-08 10:20:33 +01:00
Olivier Keshavjee 1764baf292 Fixes a bug introduced when fixing #261 2017-12-06 18:53:42 +01:00
Olivier Keshavjee d521fc0771 Fixes #261: Manuskript response slow with recent addition of focus mode 2017-12-06 18:41:26 +01:00
Olivier Keshavjee 46384b68eb Fixes bugs in focus mode (#259) 2017-12-05 23:45:16 +01:00
Olivier Keshavjee 826d53933f Adds #259: Focus Mode (poke #234) 2017-12-05 23:18:32 +01:00
Olivier Keshavjee 25911876eb Fixes #246: Index card status can spillover 2017-12-04 13:52:58 +01:00
Olivier Keshavjee 9cbd8887c7 Fixes #240: Cannot write a summary on a plot resolution step 2017-12-04 13:27:57 +01:00
Olivier Keshavjee 9c635301b5 Adds #223: command line parameter to open project 2017-11-30 17:47:23 +01:00
Olivier Keshavjee ca39121826 UI tweaks 2017-11-30 17:18:53 +01:00
Olivier Keshavjee 92e5c351b7 Adds: smart formatting on keypress 2017-11-30 13:21:40 +01:00
Olivier Keshavjee f3156f5bbd Adds formatting support to MDEditView 2017-11-30 13:12:55 +01:00
Olivier Keshavjee b1192101ce Adds Format menu to mainWindow ui 2017-11-30 11:11:01 +01:00
Olivier Keshavjee 3527f4ad8a Merge branch 'master' into develop 2017-11-30 10:13:25 +01:00
Olivier Keshavjee d32ee37e84 Hopefully last tweaks in context menu (#229) and optimization 2017-11-29 23:16:01 +01:00
Olivier Keshavjee e62b473c47 Adds: settings for applicatoin font size 2017-11-29 14:34:25 +01:00
Olivier Keshavjee 82c24498bb Tweaks Context menu to mirror Edit menu #229 2017-11-29 10:24:07 +01:00
Olivier Keshavjee c504cb510e Fixes fullScreen scrollbar range 2017-11-28 19:58:23 +01:00
Olivier Keshavjee 91989269f1 Fixes a bug in highlighter that makes it slow 2017-11-28 16:28:37 +01:00
Olivier Keshavjee 2b1465a1f3 Adds #175: Typewriter scrolling 2017-11-28 10:26:43 +01:00
Olivier Keshavjee b97cbdc1c3 Fixes a bug: click in treeview background does not deselect any more 2017-11-27 22:41:44 +01:00
Olivier Keshavjee f999d6b33d Fixes bug in welcome: cannot chose template with translation 2017-11-27 22:19:16 +01:00
Olivier Keshavjee cb79e504e7 Merge branch 'master' into develop 2017-11-27 21:53:37 +01:00
Olivier Keshavjee c2dcbf56a0 Adds new markdown highlighter and many little tweaks 2017-11-27 21:35:32 +01:00
Olivier Keshavjee 9baea11791 Fixes FullScreenEditor with MDEditView 2017-11-27 21:13:44 +01:00
Olivier Keshavjee 7b29d332c5 Removes textFormat panel (bold, italic, etc. buttons) 2017-11-27 20:58:02 +01:00
Olivier Keshavjee 79ef970bfd Autohide statusbar 2017-11-27 15:09:07 +01:00
Olivier Keshavjee c1ad771642 Subclass textEditView 2017-11-27 15:00:07 +01:00
Olivier Keshavjee c52df2c90d Changes menu organization #229 2017-11-27 08:05:53 +01:00
Olivier Keshavjee 6193dfe8f5 Adds #233: highlighter for CriticMarkup 2017-11-26 21:23:34 +01:00
Olivier Keshavjee d27ce4dec6 Fixes #232: Add markdown support of other tabs 2017-11-25 14:58:15 +01:00
Olivier Keshavjee 7940cdb336 Adds better fullscreen theme color integration 2017-11-25 14:17:49 +01:00
Olivier Keshavjee 5f76a25f39 Changes title color to something more contrasted 2017-11-25 09:54:10 +01:00
Olivier Keshavjee 59742accfa Moves textedit scrollbar outside the margins 2017-11-24 22:33:12 +01:00
Olivier Keshavjee 52af71757e Adds: better harmonization between Documents menu and context menu #229 2017-11-24 20:50:18 +01:00
Olivier Keshavjee 66f09729b5 Adds duplicate in contexte menu, and fixes a bug in it #229 2017-11-24 18:44:31 +01:00
Olivier Keshavjee 584e75eba4 Updates base translation files, and french translation. 2017-11-24 14:52:32 +01:00
Curtis Gedak 0ff701172d Change "Recents" to "Recent"
See issue #181.
2017-11-23 12:43:31 -07:00
Curtis Gedak a8ed0f5767 Change "informations" to "information"
See issue #181.
2017-11-23 12:43:31 -07:00
Curtis Gedak 6210f63525 Change "Serie" to "Series"
See issue #181.
2017-11-23 12:43:31 -07:00
Olivier Keshavjee 0f49bc7517 Adds #206: Adjusting font size (CTRL+MouseWheelUp/Down) 2017-11-23 18:53:40 +01:00
Olivier Keshavjee c4d4f61702 Fixes highlighter colors, should work in most themes 2017-11-23 18:14:04 +01:00
Olivier Keshavjee 64994cde3a Adds: unit tests and starts refactoring models 2017-11-23 11:03:14 +01:00
Olivier Keshavjee da62b823c7 Checkpoint: working highlighter. Optimization welcome. 2017-11-22 21:03:47 +01:00
Olivier Keshavjee 9be2edeee7 Checkpoint: adding new markdown highlighter 2017-11-22 13:43:40 +01:00
Olivier Keshavjee 550f889251 Fixes: some Documents menu calls would crash manuskript if in textEdit 2017-11-22 09:37:02 +01:00
Olivier Keshavjee f945387066 Adds unit test for #225: Manuskript fails to run in Ubuntu 14.04 2017-11-22 09:08:54 +01:00
Olivier Keshavjee 6cc8864937 Fixes #225: Manuskript fails to run in Ubuntu 14.04 2017-11-22 08:52:30 +01:00
Olivier Keshavjee 584b0b04a6 Checkpoint: revisions 2017-11-19 15:29:38 +01:00
Olivier Keshavjee 04fc6a5ae4 Checkpoint: refactoring 2017-11-18 20:53:10 +01:00
Olivier Keshavjee a42c7a41ab Merge branch 'feature/Exporters' into develop 2017-11-18 18:00:54 +01:00
Olivier Keshavjee ad01de4cd4 Checkpoint in refactoring outlineItem 2017-11-17 12:16:39 +01:00
Olivier Keshavjee cf4c1c83bf Changes every Enum to IntEnum 2017-11-15 21:05:48 +01:00
Olivier Keshavjee 9e95196cc5 Changes Outline enums to IntEnum 2017-11-15 20:58:12 +01:00
Olivier Keshavjee bc0d6f5760 Creates base classes 2017-11-15 20:34:05 +01:00
Olivier Keshavjee 170c8ef404 Fixes #194: Editor tab should trim long titles 2017-11-14 18:11:50 +01:00
Olivier Keshavjee 31dcc6d53a Adds better style colors of references 2017-11-14 15:22:16 +01:00
Olivier Keshavjee a334e8bd1b Improves theme desktop integration greatly 2017-11-14 15:01:20 +01:00
Olivier Keshavjee ee212db39c Removes most of hard-coded colors 2017-11-14 14:56:11 +01:00
Olivier Keshavjee 58bdf35953 Adds: transparent text editor 2017-11-14 11:23:18 +01:00
Olivier Keshavjee b0af99eddc Adds default system style to text editor 2017-11-14 10:50:32 +01:00
Olivier Keshavjee 2109f88816 Improves colors of goal progress bar 2017-11-14 10:36:57 +01:00
Olivier Keshavjee 845aa8b205 Improves colors of index card delegate editor 2017-11-14 10:12:07 +01:00
Olivier Keshavjee 0c3f96014a Improves readabily of outline delegate 2017-11-14 10:00:35 +01:00
Olivier Keshavjee cc84f53f04 Improves readabily of tree and card delegate 2017-11-14 09:42:49 +01:00
Olivier Keshavjee fd0cd2cd4f Improves the Mind Map importer #208 2017-11-13 22:55:33 +01:00
Olivier Keshavjee c4f8d0da60 Fixes: Missing default file extension when Saving As... #211 2017-11-13 00:51:08 +01:00
Olivier Keshavjee d3e724ccb0 Import: preview after chosing file, and add seting to Mind Map importer #208 2017-11-13 00:45:50 +01:00
Olivier Keshavjee 1aa6afc2bc Fixes: One white pixel visible in full screen mode #210 2017-11-12 20:48:27 +01:00
Olivier Keshavjee 40b07938d0 Corrects a typo. #200 2017-11-11 09:55:36 +01:00
Olivier Keshavjee bb57d3d057 Adds: merge 2017-11-10 17:21:02 +01:00
Olivier Keshavjee a153606811 Adds: split dialog, split at cursor 2017-11-10 16:31:40 +01:00
Olivier Keshavjee 3b17c4e2b4 Adds: Menu Documents. Edit operations (copy, cut, paste, duplicate, remove), and Move up and down. 2017-11-10 11:35:53 +01:00
Olivier Keshavjee bc70501373 Fixes a bug when entering non-digit values for item's goal in metadata 2017-11-09 20:30:54 +01:00
Olivier Keshavjee 15ccaa513b Adds: import documents from several sources (txt, md, html, epub, docx, OPML, odt, etc.) #200 2017-11-09 15:21:25 +01:00
Olivier Keshavjee a231721bdb Adds: ability to split scenes at custom points. #200 2017-11-09 15:18:21 +01:00
Olivier Keshavjee 24607bca59 Adds setting to manage word wrap, and enhances UI. #200 2017-11-09 11:25:24 +01:00
Paweł Świątkowski 0807b14e5c Don't pass none to enchant.dict_exists 2017-11-09 10:45:05 +01:00
Paweł Świątkowski b3ba8e813d Get default locale in more reliable way 2017-11-09 01:44:01 +01:00
Olivier Keshavjee c6391e976c Adds: ability to import from folder structure. #200 2017-11-08 21:35:26 +01:00
Olivier Keshavjee ccf33b3ccf Adds: import from many formats using pandoc. #200 2017-11-07 20:30:39 +01:00
Olivier Keshavjee 9eb1402613 Fixes two small bugs #200. 2017-11-07 16:22:59 +01:00
Olivier Keshavjee a29eddabea Adds: OPML import with preview (using @camstevenson's importer) #200 2017-11-07 15:33:18 +01:00
Olivier Keshavjee fb50d42348 Checkpoint: import now works. 2017-11-07 14:40:46 +01:00
Olivier Keshavjee 543d5a232a Checkpoint: preview seems to work 2017-11-07 14:25:47 +01:00
Olivier Keshavjee 316651245c Checkpoint: opml import can be previewed in tree view 2017-11-07 12:50:40 +01:00
Olivier Keshavjee d51233ebba Cleans treeView of some call to mainWindow that should be here 2017-11-07 12:02:02 +01:00
Olivier Keshavjee 221c7a181d Checkpoint: basic mechanics of settings implemented 2017-11-07 11:25:19 +01:00
Olivier Keshavjee 0a0649a0db Fixes: Manuskript crashes when a wrong locale is set. See #188. 2017-11-06 18:29:18 +01:00
Olivier Keshavjee 340fceeda3 Checkpoint: selecting file working, have to preview and import now. 2017-11-06 18:21:40 +01:00
Olivier Keshavjee b520b12d7a Adds a tip if pandoc is not installed. #190 2017-11-06 10:05:20 +01:00
Olivier Keshavjee 572feb5409 Creates empty import window 2017-11-06 09:16:44 +01:00
Olivier 1f04bf6f54
Merge pull request #192 from camstevenson/import-export
Adds: Import OPML
2017-11-06 08:21:06 +01:00
Cam Stevenson 1fa86ddd73 Finish OPML Import 2017-11-05 08:24:25 -05:00
Olivier Keshavjee 81de19165b Adds a 'Rename Item' option to context menu in the Tree view #189 2017-11-05 13:49:31 +01:00
Olivier Keshavjee 2cc721674a Fixes: Index card text almost invisible in dark themes. #183 2017-11-02 12:14:45 +01:00
Olivier Keshavjee 687286f9ab Merge branch 'feature/future' into develop
Conflicts:
	manuskript/settingsWindow.py
2017-10-31 21:02:09 +01:00
Olivier Keshavjee f67f5a6817 Fixes: Settings window / left hand pane too narrow with translation #177 2017-10-30 09:58:29 +01:00
Olivier Keshavjee 59df6ea98c Fixes: Untranslatable strings. #178 2017-10-30 09:26:46 +01:00
Olivier Keshavjee 4d82963eba Fixes: Create new project ignores changes made to template levels before Create #171 2017-10-29 13:40:10 +01:00
Olivier Keshavjee e393848bc0 App crash when moving a step in Plots section #134 2017-10-29 10:21:28 +01:00
Olivier Keshavjee 761286c497 Merges feature/CustomIcons 2017-10-23 15:10:30 +02:00
Olivier Keshavjee 583734512b Adds: custom item sizes in Tree View 2017-10-23 14:40:55 +02:00
Olivier Keshavjee 40cc136836 Adds: custom icons 2017-10-23 13:45:08 +02:00
Cam Stevenson 3557c222ce Merge remote-tracking branch 'upstream/develop' into import-export
# Conflicts:
#	manuskript/mainWindow.py
2017-10-21 16:38:20 -04:00
Olivier Keshavjee 497d1e83a1 Corrects a stylesheet mistake that could make context menu in textEditView hard to read 2017-10-21 00:01:43 +02:00
Olivier Keshavjee 648b4b67eb Fixes more bugs in drag n drop: seg fault when creating an item after deleting an item that was open for editing, and other small stuff 2017-10-20 23:39:57 +02:00
Olivier Keshavjee d95c3f821d Fixes: Some panels require initial two clicks of RHS tab to hide #167 2017-10-20 10:01:47 -06:00
Olivier Keshavjee 1a8d4c5c72 Adds some docstrings on editor/view classes, because I never remember who they are and what they do... 2017-10-20 16:20:33 +02:00
Olivier Keshavjee a44dd41f00 Fixes bug in drag'n'drop: item can be dropped into itself (or children of itself) 2017-10-20 15:28:37 +02:00
Olivier Keshavjee 6ec0c19376 Corrects: Spell checker is active for partial words. #166 2017-10-19 22:48:49 +02:00
Olivier Keshavjee 4484423ace Fixes: Some panels require initial two clicks of RHS tab to hide #167 2017-10-19 22:21:15 +02:00
Olivier Keshavjee ee058a309f Fixes: Spell checker is active for partial words. #166 2017-10-19 13:33:36 +02:00
Olivier Keshavjee eb89d2f309 Adds optimization of fullscreen's theme thumbnail generation in settings, and corrects a small stylesheet bug 2017-10-19 12:27:11 +02:00
Olivier Keshavjee b81a571b2e Adds: Disable cursor blinking (#165), Configurable editor margins (#168) 2017-10-19 12:13:20 +02:00
Olivier Keshavjee f36abfd2e4 Adds: Block insertion cursor. (#163) 2017-10-18 10:44:05 +02:00
Olivier Keshavjee 3eda56ed5a Tries to fix 'Indent not saved in custom full screen theme #133', and adds cache to theme thumbnails 2017-10-18 10:13:22 +02:00
Olivier Keshavjee dc0cc57ffa Merge branch 'feature/justify' into develop to add: Justified formatting of text #148 2017-10-17 18:29:42 +02:00
Olivier Keshavjee cbc02b15d9 Improves on: Use on smaller resolution screens #108 2017-10-17 18:04:30 +02:00
Olivier Keshavjee 4e74da41d1 Working on: Request: Justified formatting of text #148 2017-10-17 13:05:46 +02:00
Olivier Keshavjee b37dc9715c Adds a few more icons 2017-10-16 10:48:04 +02:00
Olivier Keshavjee 6e895af789 Fixes: Multiple selections of items sometimes gets Notes/references field to be ereased #10 2017-10-16 09:43:09 +02:00
Olivier Keshavjee d7407afb8f Fixes: In revision mode text, selecting group doesn't load text-preferences right. #51 2017-10-16 00:40:41 +02:00
Cam Stevenson 56553cf119 Merge branch 'develop' into import-export 2017-10-15 17:27:08 -04:00
Cam Stevenson 982a96021b Checkpoint: OPML import 2017-10-15 17:25:09 -04:00
Olivier Keshavjee 67efc47a18 Spell checking works but does not underline misspelled words #147 2017-10-15 22:45:57 +02:00
Olivier Keshavjee aed93550f2 Adds missing icons, and changes one in navigation dock (#159) 2017-10-15 22:23:06 +02:00
Olivier Keshavjee f160d7d1c2 Small display bug corrected 2017-10-15 14:58:51 +02:00
Olivier Keshavjee 33f1a9b840 Adds icons to settings window 2017-10-15 14:53:05 +02:00
Olivier Keshavjee a6123292ae Adds: go-up button. See #157 2017-10-14 21:39:16 +02:00
Olivier Keshavjee 742e24dbd2 Improving english words: redaction → editor, infos → info. See #53 2017-10-14 20:40:50 +02:00
Olivier Keshavjee dba1874b6b Adds: double click in index cards view background goes to the parent folder (#157) 2017-10-14 17:39:46 +02:00
Olivier Keshavjee e11e9f81b5 Adds: new flash card style 2017-10-14 17:11:17 +02:00
Olivier Keshavjee 2ad05cf32b Fixes: Use on smaller resolution screens #108 2017-10-14 14:05:22 +02:00
Olivier Keshavjee 79f2321128 Fixes: Contrast Problem in Notes/Refences with Dark Background #143 2017-10-14 12:34:16 +02:00
Olivier Keshavjee c89dd460da Adds: Ability to always show word target in distraction free mode #109 2017-10-14 11:38:22 +02:00
Olivier Keshavjee f069183ac8 Fixes a small bug in when closing fullScreenEditor 2017-10-14 11:12:56 +02:00
Olivier Keshavjee 452ac6212c Fixes: Undo/redo works in some text areas but not others #34 2017-10-14 11:01:38 +02:00
Olivier Keshavjee 6a88cb9aca Temporary fix for: Undo/redo works in some text areas but not others #34 2017-10-14 10:35:48 +02:00
Olivier Keshavjee 6bc74454c7 Partially fixes: Some bugs in Windows XP and Ubuntu 15.1 #25. Removes unused button in character's detailed infos. 2017-10-14 09:35:29 +02:00
Olivier Keshavjee 7ad2e93a3b Fixes: Indent not saved in custom full screen theme #133 2017-10-14 09:32:25 +02:00
Olivier Keshavjee d2762f2819 Merge branch 'feature/QtWebEngine' into develop 2017-10-12 08:47:57 +02:00
Olivier ab9c95cc6d Merge pull request #136 from gedakc/fix-fail-to-load-last-state-of-panels
Fixes: Manuskript fails to load last state of panels
2017-10-11 08:50:22 +02:00
Olivier c635d335f9 Merge pull request #149 from gedakc/add-missing-init-file
Add missing __init__.py file
2017-10-11 08:48:16 +02:00
Olivier Keshavjee 99bd090288 Put software version in one sigle label to allow easier copy/pasting 2017-10-11 08:32:44 +02:00
Curtis Gedak 6d607e8804 Add Help -> About dialog window
Add "Help -> About" menu entry that invokes an "About" dialog window
for Manuskript.

Show details such as logo, version, website, copyright, license, and
software versions in use (Python, PyQT, and Qt).
2017-09-29 09:27:53 -06:00
Curtis Gedak 539f8fd228 Add missing __init__.py file 2017-09-19 10:18:05 -06:00
Curtis Gedak e93c958598 Fixes: Manuskript fails to load last state of panels
See issue #14.

Four panels use custom widgets on the Right-Hand-Side tabs to control
visibility.  These panels are:

  PANEL NAME     VIEWABLE ON NAVIGATION TAB
  ------------   --------------------------
  Book summary   Plots
  Project tree   Redaction
  Metadata       Redaction
  Story line     Redaction

When the custom widget is created, it is assigned a name that is
marked for translation.  The final text name appears to have a
shortcut letter automatically assigned.  For example in English:

  Book summary   ->   B&ook summary
  Project tree   ->   &Project tree
  Metadata       ->   &Metadata
  Story line     ->   Story &line

On restoration the choice to restore state is based on successful
comparison between title and btn.text().  Currently this comparison
fails because title contains "&" and btn.text() does not contain "&".

Fix by removing all ampersand "&" characters from both title and
btn.text() when performing comparison.
2017-08-06 10:14:40 -06:00
Olivier 6cc7b724da Merge pull request #129 from gedakc/fix-file-save-as
Fixes: Contents missing when non-single file project saved with Save as
2017-07-15 07:12:17 +02:00
Curtis Gedak 8abb274c9f Fixes: Contents missing when non-single file project saved with Save as
See issue #128.

With the "Save to one single file" setting **disabled** (accessible
via "Edit -> Settings" under the General tab), then using
"File -> Save as..." creates only a portion of the previous project
files and content.

Steps to Reproduce:

1.  Open or create project with data (characters, plots, outline, etc.)
2.  Ensure existing project is saved with "File -> Save".
3.  Choose "File -> Save as..."
4.  Enter a new filename and click Save button.
5.  Choose "File -> Close Project"
6.  Choose "File -> Open" and choose the newly created project filename.

    Note that most of the project contents are missing or empty
    (plots, outline, etc.).

This enhancement disables smart caching for the first save of the new
project filename so that all project files are saved under the new
filename.
2017-07-04 12:42:27 -06:00
Olivier Keshavjee 2beb3a939b Conditional import of QtWebEngine or QtWebKit 2017-06-20 15:24:15 +02:00
Olivier Keshavjee 35bb0f7cfe Fixes #119: Distraction free mode crashes with time target 2017-06-20 14:08:48 +02:00
Olivier Keshavjee 28e28e71e5 Adds webFiew file, forgotten in last commit 2017-06-15 15:40:22 +02:00
Olivier Keshavjee 2ff7cf80c6 Adds QtWebEngine support, while keeping QtWebKit support. 2017-06-15 15:24:06 +02:00
Olivier Keshavjee 4c03326fca Merge branch 'enable-change-index-cards-background-to-color' of git://github.com/gedakc/manuskript into gedakc-enable-change-index-cards-background-to-color 2017-06-15 14:13:36 +02:00
Curtis Gedak 13f8f72ee8 Request confirmation if create project would overwrite existing file(s)
Previously creating a new project with an existing filename would
blindly overwrite the existing project file(s).  This could result in
an author accidentally losing all of their work, assuming they did not
have a backup.

This enhancement pops up a warning asking the user if they wish to
overwrite the existing project filename.
2017-06-12 10:58:29 -06:00
Curtis Gedak 8d356c52ce Fixes: Unable to change index cards background from image to a color
See issue #52.

Enable selection of background color in addition to background image
for index cards.  This setting is accessed from the manuskript menu
**Edit -> Settings -> Views -> Index cards**.

Keep initial default of "writingdesk" background image for Index cards.

Also update comments for functions to better describe how these work.
2017-06-10 12:53:55 -06:00
Olivier Keshavjee e16f47bd2a Double signal for double efficency (#23) 2017-05-23 17:05:09 +02:00
Olivier Keshavjee 48a45e7498 Changes signal to allow activation by single click (see #23) 2017-05-23 17:02:04 +02:00
Olivier Keshavjee 11dfad4888 Changes activation behavior: on some plateform a double click was necessary, not anymore. 2017-03-24 11:33:35 +01:00
Olivier Keshavjee 106e67a62b WelcomDialog: select template with single click on all plateform (#44) 2016-09-21 08:59:52 +02:00
Olivier Keshavjee c6cace1a9b Less ambiguous behavior when failing to load openIndexes (cf. #27) 2016-04-18 11:46:07 +02:00
Olivier Keshavjee c14f2493fb Merge branch 'feature/Exporter' into develop 2016-04-15 14:27:44 +02:00
Olivier Keshavjee ae0742b900 Exporter ready to be merged 2016-04-15 14:16:15 +02:00
Olivier Keshavjee 0ed3e36952 Adds icon to exporter, and test if latex is available 2016-04-15 14:04:07 +02:00
Olivier Keshavjee b7dec65501 PDF export using pandoc and latex 2016-04-15 13:45:53 +02:00
Olivier Keshavjee 93c0e34779 Adds: PDF Viewer using pdf.js 2016-04-15 13:01:35 +02:00
Olivier Keshavjee f820e5a62b Lots of pandoc formats 2016-04-15 11:58:09 +02:00
Olivier Keshavjee 964921cba2 Update UI when changing custom path, and bug correction 2016-04-14 13:39:58 +02:00
Olivier Keshavjee 1a2a80a41a Custom command for exporters 2016-04-12 09:15:01 +02:00
Olivier Keshavjee 7f9ea9e513 Some more UI tweaks 2016-04-12 00:01:51 +02:00
Olivier Keshavjee 282e976aa1 Minor tweaks 2016-04-11 15:41:43 +02:00
Olivier Keshavjee 5e8b2ed5a6 Updates display in CorkView 2016-04-11 15:21:49 +02:00
Olivier Keshavjee e90e9f9cc4 tabSplitter allows target. 2016-04-11 15:14:24 +02:00
Olivier Keshavjee a77e6fc79f Visual cues for splitter 2016-04-11 07:50:44 +02:00
Olivier Keshavjee b4e95f3629 Adds icon for folder views 2016-04-11 07:13:09 +02:00