Commit graph

421 commits

Author SHA1 Message Date
tntscreed fc86ed5df6 Started work on character multi-selection features.
-Added currentCharacters method, a list counterpart of currentCharacter.

-Replaced the connection for currentItemChanged with itemSelectionChanged. This is to accommodate for the bulk-changes when multiple characters are selected. The currentItemChanged method is now not called with a connection, but from the handleCharacterSelectionChanged method. The latter is called with the itemSelectionChanged connection.

-If no valid characters are selected, the tabPersos widget is disabled. This obviously breaks the functionality of bulk-adding info to characters. This will have to be fixed by only disabling the parts of the tabPersos widget that should not be affected with multiple selection operations.
2023-03-05 14:14:58 +01:00
tntscreed eaebfa9dfa Merge remote-tracking branch 'origin/develop' into develop 2023-03-05 01:10:48 +01:00
tntscreed a046656acf Made bulk-adding "Detailed info" to characters possible
-Changed the selection mode to extended selection on the lstCharacters tree-view. This will not affect anything else other than the "detailed info" rows. Every other change to a character's descriptions, motivations and such only affect the last selected one.

-Made a method to get all the IDs of the selected characters.

-Added a character-info dialog UI. Originally, adding information worked by adding a placeholder and then changing it. Users never want to just add a placeholder without initialising the values. And the bulk-adding only works this way.
2023-03-05 00:58:25 +01:00
TheJackiMonster 041fda5b74
========== manuskript-0.15.0 ==========
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-03-04 20:32:58 +01:00
TheJackiMonster 2ca25a06f6
Update ui files regarding shortcut translation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-03-04 16:15:30 +01:00
TheJackiMonster 9203e0cc83
Fix #305, adding an indicator to tree view root element
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-13 21:40:52 +01:00
TheJackiMonster 6ea209e523
Prevent right-click for popup menus to select item (fix #919)
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-13 21:34:35 +01:00
TheJackiMonster a6ac2705d5
Add visual indicator to collapsibleGroupBox2 (fix #1132)
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-13 21:22:39 +01:00
Tobias Frisch 3e811c75d1
Merge pull request #1060 from tcsch/feature/split-editor-functionality
Feature/split editor functionality
2023-02-13 20:39:18 +01:00
TheJackiMonster cc8924ada6
Remove translation from shortcuts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-11 00:41:47 +01:00
TheJackiMonster eeb98a8ccd
Fix inconsistency of button states when searching in metadata
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-10 22:21:22 +01:00
TheJackiMonster ee76b2d84e
Adjust syntax
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-09 22:13:01 +01:00
TheJackiMonster a88b61fbcd
Adjust visual defaults in settings from ui
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-01 22:43:28 +01:00
TheJackiMonster 7293db7c40
Remove clearing focus in text edits to prevent a jumping cursor when not intended
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-02-01 21:15:13 +01:00
TheJackiMonster 380354bdf8
Fix most problems regarding issue #1065
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-01-30 23:20:30 +01:00
TheJackiMonster 414cd0f8a3
Cleanup code
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-01-30 23:19:33 +01:00
TheJackiMonster 0a67fd793b
Fix issue in ui file from mainWindow
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-12-14 18:26:41 +01:00
TheJackiMonster 542459da69
Merge branch 'develop' of github.com:olivierkes/manuskript into develop 2022-12-14 18:16:31 +01:00
TheJackiMonster 0fc0291809
Updated generated python scripts from ui files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-12-14 18:16:11 +01:00
Tobias Frisch 9412b88513
Merge pull request #1091 from MC42/develop
Resolve "Search" and "Cheat sheet" strings not being translated correctly in source string
2022-12-12 00:38:19 +01:00
Kim Chase e22f304e6b Attempt #2 at small string fixes. 2022-12-10 12:15:05 -05:00
TheJackiMonster 00aca6a0e1
Fix type conversions, replace potentially deprecated function usage and center dialog
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-12-10 18:05:41 +01:00
nephlm 0a81ff4960
Merge branch 'develop' into session-target 2022-11-21 01:13:28 -05:00
tcsch 0c12838610 Fix isTarget not being respected when selecting outline items 2022-08-12 18:34:48 +02:00
tcsch 22609fa1fd Add drag and drop functionality for outline items to editors 2022-08-12 18:34:31 +02:00
TheJackiMonster c656911996
Removed snow flake method
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-10 11:43:32 +02:00
TheJackiMonster 6916f27d60
Fixed issue #1042
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-09 14:37:18 +02:00
TheJackiMonster 934205c46e
Update ui file of about dialog
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-06-08 13:35:18 +02:00
Tobias Frisch d4bedd5003
Merge pull request #1007 from jdanielp/fix-olivierkes-996
Change welcome page spacer size policy to allow welcome to expand to fill most of screen (fixes olivierkes#996)
2022-06-08 13:28:51 +02:00
TheJackiMonster a33249fc9d
Added guard to catch errors with translation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-05-17 11:43:22 +02:00
Tobias Frisch cb5ee702d3
Merge pull request #1015 from amconners/develop
catch AttributeError in plotTreeView double click event (fixes #1014)
2022-03-31 02:27:11 +02:00
Tobias Frisch daf456e11a
Merge pull request #1004 from jdanielp/fix-olivierkes-950
Fix crash when files are locked for writing (Fixes olivierkes#950)
2022-03-30 22:49:04 +02:00
Tobias Frisch b859631a50
Replaced try & catch with early exit on NoneType
This should fix the issue without exception handling.
2022-03-30 22:44:12 +02:00
Megan Conners 6fd6a68d9d catch AttributeError in plotTreeView double click event 2022-02-19 11:41:19 -05:00
Jonathan Pietkiewicz 80490b34ce Change welcome page spacer size policy to allow welcome to expand to fill most of screen (fixes olivierkes#996) 2022-01-29 22:48:36 -06:00
Jonathan Pietkiewicz f63acafe4e Add generic list dialog, use it to show files that cannot be saved (fixes olivierkes#950) 2022-01-29 14:02:16 -06:00
Jonathan Pietkiewicz 50e305aa2f Update search feedback when menu is triggered 2022-01-25 22:08:01 -06:00
Jonathan Pietkiewicz 23ded19d58 Change text color to red when the regex is not correct
updated everytime the text changes in the lineedit
2022-01-25 21:57:54 -06:00
Jonathan Pietkiewicz e0a3d01091 move import outside try-catch 2022-01-25 21:16:32 -06:00
Jonathan Pietkiewicz 795e1fa9c0 Fix crash when regex is not valid (Fixes olivierkes#989)
Wrap regex preparation in try-catch
Log when there is a problem preparing the regex
2022-01-25 14:05:50 -06:00
Megan Conners 01036e4540 fixes #992 and #998 with explicit int casts 2022-01-16 12:31:16 -05:00
TheJackiMonster dc86e3b14e
Adjusted fixes for python 3.10 to not crash immediately
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-12-13 14:27:59 +01:00
TheJackiMonster 77eee852de
Fixed issue #808 by resetting POV once the character gets deleted
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-30 23:40:31 +01:00
TheJackiMonster a63da8d0a8
Fixed issue #937
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-30 23:08:59 +01:00
TheJackiMonster c52dab475c
Updated indonesian qt language files and ui files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-27 01:39:53 +01:00
TheJackiMonster 7e5edf98ed
Fixed translation files which got messed up by last update
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-07 00:32:07 +01:00
TheJackiMonster 1af7d89d2a
Fixed issue #931, updated ui files and updated translation files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-10-23 16:15:58 +02:00
Jan Wester d6e472b939 Implemented fix for failed cursor iteration (#729)
A long time ago, I identified this failure but wasn't sure why it was
failing. I still don't know why, but the emergency fix at least prevents
other people from running into it. As a bonus, since we have a proper
logging facility now, we can actually log it as I desired to do back
then!

This commit tentatively fixes issue 729.
2021-07-10 19:01:58 +02:00
Jan Wester 32caf6aa04 Partial fix for erroneous nbsp->space conversion
QDocument::toPlainText() has the stupid decision to convert nbsp to
spaces in it, which our users obviously hate. Unfortunately, this is
out of our control to fix completely. It is a very deep rabbit hole. :(

Typing non-breaking spaces in the editor now works. Reopening these
files at a later point has these characters remain intact.

What does NOT work is copy-pasting non-breaking spaces. These will end
up looking like normal spaces when you paste them somewhere else, be it
in Manuskript or some other document. In other words: it is impossible
for users to verify whether something is a non-breaking space or an
ordinary one.

I realize that it makes this partial fix meaningless for many. Sorry. :/

Partially fixes issue 738.
2021-07-10 19:01:58 +02:00
TheJackiMonster 3beac4a50e
Generated QML from translations
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-04-16 13:47:51 +02:00