Commit graph

112 commits

Author SHA1 Message Date
Olivier Keshavjee
3cef130bc6 Fixes a strupid bug recentrly introduced in outlineItem.findUniqueID. 2017-11-09 10:40:54 +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
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 Keshavjee
e393848bc0 App crash when moving a step in Plots section #134 2017-10-29 10:21:28 +01:00
Olivier Keshavjee
583734512b Adds: custom item sizes in Tree View 2017-10-23 14:40:55 +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
d51797df77 Fixes: Compile without open project causes a crash #164 2017-10-18 11:12:10 +02:00
Olivier Keshavjee
b37dc9715c Adds a few more icons 2017-10-16 10:48:04 +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
86184ab2d8 Changes icons in navigation dock (#159) 2017-10-15 14:30:50 +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
db8ef59c2f Adds tooltip to navigation bar 2017-10-14 14:14:17 +02:00
Olivier Keshavjee
f2aa9abc85 Fixes: Crash when permissions don't allow saving #138 2017-10-14 12:17:03 +02:00
Olivier
6660dabace Merge pull request #151 from gedakc/add-world-tab-help-tip
Add help tip for world tab
2017-10-11 08:47:01 +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
4b4c9f4258 Add help tip for world tab 2017-09-23 12:53:18 -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
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
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
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
Olivier Keshavjee
32de83666a UI tweak in SubPlot view (#87) 2017-03-24 11:30:54 +01:00
Olivier Keshavjee
c14f2493fb Merge branch 'feature/Exporter' into develop 2016-04-15 14:27:44 +02:00
Olivier Keshavjee
e90e9f9cc4 tabSplitter allows target. 2016-04-11 15:14:24 +02:00
Olivier Keshavjee
373b36406a Can split views 2016-04-10 19:58:49 +02:00
Olivier Keshavjee
c3613f0687 Adds a custom style module to keep everything in one place 2016-04-09 10:52:37 +02:00
Olivier Keshavjee
de425cd06a Some more tweaks 2016-04-08 20:16:35 +02:00
Olivier Keshavjee
f1d2b05a2e Flatified a lot of buttons, and added some stylesheets 2016-04-08 14:49:15 +02:00
Olivier Keshavjee
0554ac519e Reorganizing some stuff 2016-04-04 20:00:19 +02:00
Olivier Keshavjee
a53937833d New exporter: initial commit 2016-04-01 19:01:27 +02:00
Olivier Keshavjee
26ffc47350 Fixes bug when switching projects 2016-03-31 10:50:20 +02:00
Olivier Keshavjee
465c387284 Fixes bug: tabs are not properly closed 2016-03-30 09:43:18 +02:00
Olivier Keshavjee
7bb52c80a5 View mode working 2016-03-24 13:42:47 +01:00
Olivier Keshavjee
ccaa302616 Little bit of cleaning 2016-03-24 11:17:48 +01:00
Olivier Keshavjee
a27e5db6f5 Needs to do the Markdown syntax highlighter now... 2016-03-11 15:45:51 +01:00
Olivier Keshavjee
22f2bd7899 Corrects bug when reopening file 2016-03-09 17:38:12 +01:00
Olivier Keshavjee
518d4c7201 Stores open IDs and not indexes in settings 2016-03-09 13:19:03 +01:00
Olivier Keshavjee
8949d7b8e3 Changes subplots to steps 2016-03-06 16:10:25 +01:00
Olivier Keshavjee
599a60ecff Changes some more 'persos' to 'characters' 2016-03-06 09:26:59 +01:00
Olivier Keshavjee
50dc7f3739 Tracking segfault, hopefuly done now 2016-03-06 09:21:10 +01:00
Olivier Keshavjee
e824f7c925 Refactoring outlinePersoDelegate → outlineCharacterDelegate 2016-03-05 18:28:29 +01:00
Olivier Keshavjee
af089e8a6a Plain text file format in progress 2016-03-05 00:52:11 +01:00
Olivier Keshavjee
1f85ee6171 Working on a more flexible loading/saving system 2016-03-04 22:00:02 +01:00
Olivier Keshavjee
f57e8d2ab1 Bug 2016-03-03 18:48:45 +01:00
Olivier Keshavjee
420f562c1b New CharacterModel (changes name and uses QAbstractItemModel instead of QStandardItemModel) 2016-03-03 16:38:38 +01:00
Tim D'Annecy
c83a2ba0cb Update mainWindow.py
Changed "sentance" to "sentence".
2016-03-01 17:41:55 -05:00
Olivier Keshavjee
647563df6e Fixes some issues with the custom ^Colbar, though behaviour is not perfect 2016-02-28 13:55:08 +01:00
Olivier Keshavjee
e9c74129df Corrects a bug that prevented all references to be found 2016-02-28 13:01:46 +01:00
Olivier Keshavjee
c8391f771a Ugly but working 2016-02-28 12:43:23 +01:00
Olivier Keshavjee
998c38eb2a Working on storyline, begining to look like something. 2016-02-27 21:48:38 +01:00
Olivier Keshavjee
e73a89c079 New feature: story line (work in progress) 2016-02-27 19:56:55 +01:00
Olivier Keshavjee
461eb0715e Fixme... 2016-02-10 02:06:49 +01:00
Olivier Keshavjee
19e36846d1 Hides docks (cheatsheet and search) on first launch 2016-02-08 15:11:49 +01:00
Olivier Keshavjee
308fe5e623 Adds: frequency analyzer 2016-02-08 13:59:30 +01:00
Olivier Keshavjee
c7a4ae6072 UI tweaks 2016-02-08 10:30:32 +01:00
Olivier Keshavjee
d92c800f7b UI tweaks: custom navigation 2016-02-06 18:38:23 +01:00
Olivier Keshavjee
69e0ca93be Cleaning up imports, at last 2016-02-06 12:34:22 +01:00
Olivier Keshavjee
c469f262f3 Renaming source folder 2016-02-06 08:38:33 +01:00
Renamed from src/mainWindow.py (Browse further)