Commit graph

442 commits

Author SHA1 Message Date
TheJackiMonster 41e59d71c1
Fix newline changes to read universally
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-12 16:18:43 +01:00
TheJackiMonster 98d6eb4975
Remove usage of hardcoded path separators
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-12 15:53:37 +01:00
TheJackiMonster 4d79bef20c
Update ui and translation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 18:53:14 +01:00
TheJackiMonster a7abc68f8e
Initialize textColor with None
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 16:08:44 +01:00
Tobias Frisch 3d4eef2b49
Merge pull request #1214 from TheShadowblast123/develop
Update spellchecker.py And Fixed crashing
2023-12-07 16:06:03 +01:00
TheJackiMonster d93e8eb544
Merge branch 'develop' of github.com:olivierkes/manuskript into develop 2023-12-07 15:41:25 +01:00
TheJackiMonster 79ba7b59ed
Set templateIndex to none when marked as deleted
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 15:41:18 +01:00
Tobias Frisch 892f8f0592
Merge pull request #1226 from drmousse/develop
Crash on spellcheck context menu #1224
2023-12-07 15:35:59 +01:00
TheJackiMonster 14392909c3
Fix word count for template selection (fix #1163)
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 15:34:01 +01:00
mousse 56dac84932 issue 1224: contextmenu on unknown word in context of pyspellchecker and symspellpy 2023-09-20 16:24:55 +02:00
Shadow 161290686b Update corkDelegate.py 2023-09-18 14:28:30 -07:00
Shadow 7d31628977 Resolved critical error that crashes
textColor isn't always set to a value and whenever it was used as an empty variable the program would crash. I'm uncertain as to whether or not this solution is appropriate, but this is one way to handle it and maintain functionality. Another would be setting textColor to a default value, but this default would have to depend on the theme set by the user.
2023-09-18 14:11:30 -07:00
Christian Freitag e267699667 - Adjusted open calls to use \n as newline for all platforms instead of guessing it 2023-08-07 13:09:55 +02:00
Arne Sostack b05377b417 Implemented history back and forward navigation 2023-05-14 11:59:07 +02:00
tntscreed 863e8df483 Bug and style fixes.
- Made small changes to better fit the style of the project.

- Fixed a bug that would result in a crash when details were applied with the bulk info manager.

- Improved the Bulk Manager UI by adding the list-add and list-remove icons, to better fit it to Manuskript's style. Also added tooltips.
2023-03-16 16:06:48 +01:00
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