Commit graph

142 commits

Author SHA1 Message Date
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)