Commit Graph

22 Commits

Author SHA1 Message Date
Philipp Wolfer
0003a4560a PICARD-2786: Fixed crash in script editor dialog
QTextEdit.tabStopWidth is now QTextEdit.tabStopDistance
2023-10-31 08:04:18 +01:00
Philipp Wolfer
72d931cf54 Unified label for naming script chooser 2021-12-19 14:22:59 +01:00
Philipp Wolfer
1ba1d28a1d PICARD-2179: Ensure script editor is modal also on macOS
This fixes the script editor opening behind the options dialog on macOS
2021-05-30 15:58:45 +02:00
Philipp Wolfer
7e1daec917 PICARD-2179: Fixed spacing for menu bar in script editor dialog 2021-05-28 17:49:00 +02:00
Philipp Wolfer
2fb82fdc5c PICARD-2179: Use standard dialog button box for script editor 2021-05-28 17:48:59 +02:00
Bob Swift
6295f8a4ba Add quick script selector to renaming page and sync with script editor 2021-05-10 16:29:45 -06:00
Bob Swift
593fe8401e Add menu bar 2021-05-10 14:10:56 -06:00
Bob Swift
c1907c7902 Make UI more intuitive
- Add `Close` button
- Confirm actions which may lose unsaved edits
- Remove `Select` button and automatically select the current script
- Save selected script id and open editor to that script
- Update the `file_naming_format` setting when script changes are saved
2021-05-08 11:12:09 -06:00
Bob Swift
6211d21853 Update UI for multiple scripts 2021-05-05 15:59:55 -06:00
Bob Swift
2a85fa2a1f Set maximum examples, tooltip and usage notes as class properties. 2021-04-30 11:58:45 +02:00
Bob Swift
1f8b1537e0 Remove unused layout 2021-04-30 11:51:18 +02:00
Bob Swift
6c68f85af3 Make ScriptingDocumentationWidget a proper stand-alone widget. 2021-04-30 11:51:18 +02:00
Bob Swift
649c4c50eb Changes requested by outsidecontext
- remove SingletonDialog from ScriptEditorPage class
- remove unused self.parent and self.PARENT variables
- remove setWindowFlags and add setWindowModality
- create custom ScriptingDocumentationWidget
2021-04-30 11:51:18 +02:00
Bob Swift
df4bc6d144 Fix position of Show documentation checkbox. Remove unused splitter. 2021-04-30 11:51:18 +02:00
Bob Swift
85e5bf8e46 Implement suggested changes
- Include current configuration naming script in selection list
- Update script loaded into the editor on selection change
- Only update script on "Make it so" if it has been saved from editor
- Optimize synchronization of example lists
- Correct spelling mistakes
2021-04-30 11:51:18 +02:00
Bob Swift
367afeba21 Add missing tooltip 2021-04-30 11:51:18 +02:00
Bob Swift
1708bbc07c Add option to display scripting documentation on the editor screen 2021-04-30 11:51:18 +02:00
Bob Swift
549c83181a Correct typo in tooltip text 2021-04-30 11:51:17 +02:00
Bob Swift
99f7b69194 Add options to export to / import from a text file 2021-04-30 11:51:17 +02:00
Bob Swift
a42ad338f1 Remove script display from Options page. Add note about examples. 2021-04-30 11:51:13 +02:00
Bob Swift
0e691d0c5b Address initial suggested enhancement items list 2021-04-30 11:49:26 +02:00
Bob Swift
e3e82d6a9f Make naming script editor available from main screen 2021-04-30 11:49:26 +02:00