Commit graph

427 commits

Author SHA1 Message Date
TheJackiMonster e62432307f
Make selection adjustment permanent and improve consistency
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-03-15 21:06:31 +01:00
tntscreed 2ead298b00 Removed the absolute path left in by pyuic.
Sorry about that. It didn't exactly doxx me, but it was weird.
2023-03-07 21:19:29 +01:00
tntscreed 953ce4bd15 Multi-Deletion of Characters + Confirmation Dialog
-Since multi-selection of characters is now possible, it's more intuitive that all selected characters should be deleted.

-Added a confirmation dialog before character-deletion? Why the heck  was this not a thing before? It was way too easy to accidentally delete characters, with no way to restore them without external source-control or backups.
2023-03-07 20:56:54 +01:00
tntscreed 06f8ab3519 The bulk info managers is now completely functional.
Also, a change has been made to the character tree view. Theoretically it shouldn't have any functional significance, but "addCharacterInfo" is used for adding info to only one character, so it makes sense to remove the old multi-selection info-adding functionality, even if it wouldn't ever be accessible.
2023-03-07 20:27:16 +01:00
tntscreed 66df68af69 Made the code a little nicer, added addition and deletion
The bulk manager has been made partially functional.
2023-03-07 18:14:01 +01:00
tntscreed b5dfee59d7 Created a (not yet functional) bulk manager widget.
-Some variables had to be declared in the mainWindow.py __init__ function.

-Added functions for creating the bulkPersoInfoManager widget as a tab when multiple characters are selected. All other tabs get stored and deleted, and restored after only one character is selected.

-Started work on functions that create the intended behaviours of the widget.
2023-03-06 21:43:31 +01:00
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