Commit graph

614 commits

Author SHA1 Message Date
Curtis Gedak 4b4c9f4258 Add help tip for world tab 2017-09-23 12:53:18 -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 e971d7e167 Merge pull request #121 from gedakc/ensure-same-add-character-importance-values
Fixes: add character button does not set importance slider to default…
2017-07-15 07:16:41 +02:00
Olivier 959ba03d66 Merge pull request #131 from gedakc/add-howto-wiki-link-to-readme
Add to README a HowTo section with link to Wiki
2017-07-15 07:13:09 +02: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 2d8235ec5f Add to README a HowTo section with link to Wiki 2017-07-08 13:19:51 -06: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
Curtis Gedak 3569f78928 Fixes: add plot then choose new plot does not set importance slider
By default when a plot is added to the plot model, the
importance value is set to "0" (Minor).  However when the new
plot is selected, the importance slider remains set to the value
of the previously selected plot.

Steps to Reproduce:

1.  Click add plot (plus sign) button.
2.  Select this "New plot".
3.  Select "Basic infos" tab and change Plot name to "My Plot".
4.  Move Importance slider all the way to the right (Main).
5.  Click add plot (plus sign) button.
6.  Select this "New plot".

    Note that the "New plot" is shown in the plot list pane under
    "Minor", but the Importance slider is still all the way to the
    right (Main).

This enhancement ensures that the corresponding plot UI importance
slider is also set to the proper plot importance.
2017-07-01 10:18:46 -06:00
Curtis Gedak 8fe282e484 Ensure character tabs are disabled when no valid character is selected
Previously if a character was selected, and next
  either:  a title (Main, Secondary, Minor) was selected,
      or:  the character remove button was clicked,
then the character tabs would remain enabled.  This was incorrect
behaviour.

In the case a character was removed and the user moved the
importance slider then Manuskript would crash.

This enhancement disables the character tabs when there is no valid
character selected.
2017-07-01 10:17:17 -06:00
Curtis Gedak dedf5fb27a Fixes: add character then choose new character does not set importance slider
See issue #102.

By default when a character is added to the character model, the
importance value is set to "0" (Minor).  However when the new
character is selected, the importance slider remains set to the value
of the previously selected character.

Steps to Reproduce:

1.  Click add character (plus sign) button.
2.  Select this "New character".
3.  Select "Basic infos" tab and change Name to "Bob".
4.  Move Importance slider all the way to the right (Main).
5.  Click add character (plus sign) button.
6.  Select this "New character".

    Note that the "New character" is shown in the character list pane
    under "Minor", but the Importance slider is still all the way to
    the right (Main).

This enhancement ensures that the corresponding character UI
importance slider is also set to the proper character importance.
2017-07-01 10:17:07 -06:00
Olivier Keshavjee c596c6e6fd Adds missing files to pdf.js 2017-06-20 23:43:45 +02: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 fb9eb479f8 Reverts a mistake 2017-06-15 16:03:00 +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 dfed1e7ec9 Fixes Pandoc PDF output error with unicode characters #117 2017-06-15 14:37:55 +02:00
Olivier Keshavjee 230b034232 Merge branch 'gedakc-enable-change-index-cards-background-to-color' into develop 2017-06-15 14:14:35 +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
Olivier 147d1c0952 Merge pull request #110 from gedakc/change-translator-warning-to-note
Change message from warning to note for failed to load translator string
2017-06-15 14:10:50 +02:00
Olivier Keshavjee 32861a4a9a Merge branch 'ScullyBlue-german_translation' into develop 2017-06-15 14:07:25 +02:00
Olivier Keshavjee 47826c6419 Adds setting to change language 2017-06-15 14:07:09 +02:00
Olivier 889e845feb Merge pull request #114 from gedakc/request-confirmation-if-create-project-will-overwrite-existing
Request confirmation if create project would overwrite existing file(s)
2017-06-15 13:54:49 +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
Curtis Gedak 828fc3375e Change message from warning to note for failed to load translator
The message for failing to find and load a language translator was
misleading.

There is no problem running Manuskript with the default English
language (no translation loaded).  The word **Warning** implied that
something was wrong with manuskript and could be confusing to users.
2017-06-06 10:10:23 -06:00
Frederike Preugschas 56ccd9c015 Adding german translation 2017-05-31 11:32:38 +02:00
Olivier Keshavjee a6b49e22f9 Merge tag '0.4.0' into develop
Version 0.4.0
2017-05-25 18:17:05 +02:00
Olivier Keshavjee 7a83ac28d9 Merge branch 'release/0.4.0' 2017-05-25 18:16:41 +02:00
Olivier Keshavjee 79962f1e0d Bumped version number 2017-05-25 18:15:43 +02: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 d23a4e81b7 Merge branch 'jmgaguilera-develop' into develop 2017-05-23 16:47:22 +02:00
Olivier Keshavjee 4e2a261ddd Compile translation 2017-05-23 16:46:56 +02:00
Olivier Keshavjee 493d510085 Merge branch 'develop' of git://github.com/jmgaguilera/manuskript into jmgaguilera-develop 2017-05-23 16:44:49 +02:00
Olivier Keshavjee 17d0c5770d Merge branch 'gedakc-fix-after-close-open-or-create-project-fails' into develop 2017-05-23 16:07:38 +02:00
Olivier Keshavjee 3fba51fe24 Merge branch 'fix-after-close-open-or-create-project-fails' of git://github.com/gedakc/manuskript into gedakc-fix-after-close-open-or-create-project-fails 2017-05-23 16:04:23 +02:00
Olivier e6ab89fcbf Merge pull request #97 from gedakc/fix-icon-numeric-reference
Fixes: incorrect reference to 32px icon
2017-05-23 16:00:32 +02:00
Olivier 5fed757238 Merge pull request #103 from gedakc/add-project-name-to-window-title
Add project name to main window title
2017-05-23 15:59:37 +02:00
Curtis Gedak d0afce48b4 Add project name to main window title 2017-05-22 10:48:20 -06:00
Curtis Gedak 589eb42235 Fixes: after project close, open or create project fails
See issue #96.

This change creates a new class disconnectAll() to ensure that all
connections are disconnected for a specific signal and slot.  Now when
a project is closed, the UI signals are disconnected.  As before,
these signals and slots are connected when a project is opened.

Because Manuskript permits working on only one project at a time, the
menu items for File Open and Recents are disabled after a project is
loaded.  These menu items are enabled when a project is closed.

Prior to this commit, subsequent open project selections would
complain with the following message:

  TypeError: connection is not unique
2017-05-21 12:04:27 -06:00
Curtis Gedak 7ba028ecc8 Fixes: incorrect reference to 32px icon 2017-05-09 14:55:27 -06:00
Olivier Keshavjee 9a646cb403 Preview can display images in html relative to project path (temporary solution for #22) 2017-05-08 09:10:33 +02:00
Olivier 80fdb38be8 Merge pull request #95 from gedakc/fix-world-source-of-conflict-not-active
Fixes: field "Source of conflict" in World is not active
2017-05-08 08:14:07 +02:00
Olivier 588c8d948b Merge pull request #94 from gedakc/fix-character-epiphany-not-saved-issue-43
Fixes: epiphany section in basic infos for characters not saved #43
2017-05-08 07:55:52 +02:00
Curtis Gedak 6f0a748f29 Fixes: field "Source of conflict" in World is not active
This problem is one of several mentioned in issue #25.
2017-05-07 13:47:31 -06:00
Curtis Gedak cdcf184c10 Fixes: epiphany section in basic infos for characters not saved #43 2017-05-07 12:57:48 -06:00
Olivier Keshavjee e5a189eeda Adds: pyqt5-dev-tools 2017-03-24 12:05:43 +01:00
Olivier Keshavjee 4f17ba9090 Fixes: word count #72 2017-03-24 11:54:37 +01:00