Commit graph

12 commits

Author SHA1 Message Date
Moisés J 1e52af54e2 Add global search 2021-04-02 14:15:17 +01:00
nagolinc 22fdab3f46 added 3 buttons to the textEditView that allow quickly adding new items
add character takes parameter name
2021-02-21 20:06:17 -05:00
Curtis Gedak 026861ee87 Fix plot importance changes if delete earlier plot and click other plots
The root cause was a mismatch between plot IDs and plot model rows.

This issue would appear when a plot was deleted such that the plot IDs
did not match the plot model row numbers and different plots had
different importance levels.  The problem would not occur if the most
recently added plot was deleted.

The plot ID / plot model row mismatch was introduced with the
following commit:

    Fixes: add plot then choose new plot does not set \
    importance slider
    3569f78928

Closes issue #404
2018-11-05 09:29:53 -07:00
Sebastian Rasmussen dfe88a9681 Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
Olivier Keshavjee cf4c1c83bf Changes every Enum to IntEnum 2017-11-15 21:05:48 +01:00
Olivier Keshavjee e393848bc0 App crash when moving a step in Plots section #134 2017-10-29 10:21:28 +01: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
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 420f562c1b New CharacterModel (changes name and uses QAbstractItemModel instead of QStandardItemModel) 2016-03-03 16:38:38 +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/models/plotModel.py (Browse further)