Laurent Monin
ffcbb60aeb
AttachedProfilesDialog: option_group is mandatory
2024-04-18 12:21:43 +02:00
Laurent Monin
cfaa5ce972
Replace page_has_profile_options() with page_option_group()
...
- returns the actual option group, or None
- option_group was either a name or the value, less ambiguous now
- reduces code redundancy
2024-04-18 12:10:43 +02:00
Laurent Monin
6286ee2b73
Single quotes around dict keys
2024-04-18 12:07:52 +02:00
Laurent Monin
de4dc54649
Remove unused _get_profile_title_from_id()
2024-04-18 11:31:09 +02:00
Laurent Monin
b6800dafa4
Simplify populate_table()
2024-04-18 11:27:23 +02:00
Laurent Monin
f6863bb612
Merge pull request #2411 from zas/scripteditor_cleanup
...
Scripteditor cleanup
2024-04-17 21:28:28 +02:00
Laurent Monin
c9d26313b9
Introduce new methods get_script_item() & get_selected_index_and_item()
2024-04-17 20:07:31 +02:00
Laurent Monin
8157b4fddc
get_selected_item(): drop optional idx parameter, never used
2024-04-17 19:41:18 +02:00
Laurent Monin
9a7d23f107
Use text keys for config/profile items, easier to read
2024-04-17 19:27:47 +02:00
Laurent Monin
18492ac512
Directly use SettingConfigSection.PROFILES_KEY/SETTINGS_KEY
2024-04-17 19:27:47 +02:00
Laurent Monin
793b4064db
Use a more Python way to get first element of a dict
2024-04-17 19:19:07 +02:00
Laurent Monin
862d7bccb1
Simplify set(i for i in x) to set(x)
2024-04-17 19:18:32 +02:00
Laurent Monin
16b2ddc947
Merge pull request #2407 from zas/profiles_cleanup
...
Profiles cleanup
2024-04-17 18:45:11 +02:00
Laurent Monin
8f61d5ec15
Merge pull request #2410 from rdswift/documentation_check
...
Add documentation note to PR template as reminder
2024-04-17 18:41:48 +02:00
Laurent Monin
7bc8e2723d
Merge pull request #2409 from zas/profile_hl_colors
...
PICARD-2858: Make profile highlight colors configurable
2024-04-17 18:41:32 +02:00
Bob Swift
c39f6044cd
Add documentation note to PR template as reminder
2024-04-17 09:49:54 -06:00
Laurent Monin
e385e71422
Use InterfaceColors for profile highlight colors, making them configurable
2024-04-17 16:49:08 +02:00
Laurent Monin
e7e79cf374
Drop unused import
2024-04-17 16:49:01 +02:00
Laurent Monin
b5638310ed
Merge pull request #2408 from zas/qt6.6.requirements
...
Requires PyQt>=6.6.1
2024-04-17 16:19:15 +02:00
Laurent Monin
6febcde469
Requires PyQt>=6.6.1 for non-darwin platorms
2024-04-17 15:46:39 +02:00
Laurent Monin
6e75c3d4f2
Simplify and improve display of scripts & providers tooltips in Profiles
2024-04-17 14:30:05 +02:00
Laurent Monin
f245015dd7
Directly use SettingConfigSection properties
2024-04-17 13:10:28 +02:00
Laurent Monin
16b74fb983
Use key string directly for Options, easier to read
2024-04-17 12:49:50 +02:00
Laurent Monin
fcce5421d4
Convert expanded_sections to a set
...
But keep loaded/saved value as a sorted list
2024-04-17 12:41:53 +02:00
Laurent Monin
1253ad7f89
Simplify child item creation
2024-04-17 12:30:51 +02:00
Laurent Monin
33044ca58d
Simplify code related to restoration of last profile on load
2024-04-17 12:19:55 +02:00
Laurent Monin
330f2f57d1
update_config_overrides(): drop reset argument, never used
2024-04-17 12:03:14 +02:00
Laurent Monin
8e319e0d21
Merge pull request #2404 from zas/PICARD-2857
...
PICARD-2857: exit with 0 code if no error when connecting to an exist…
2024-04-16 19:03:29 +02:00
Laurent Monin
84e12fe6e7
Merge pull request #2405 from zas/fix_attached_profiles
...
Fix Attached Profiles Dialog after setting title changes
2024-04-16 19:03:07 +02:00
Laurent Monin
c32f16ec41
Fix Attached Profiles Dialog after setting title changes
2024-04-16 16:00:31 +02:00
Laurent Monin
8e60795aa8
PICARD-2857: exit with 0 code if no error when connecting to an existing instance
...
We had EXIT_NO_NEW_INSTANCE = 30403 code in this case, but it's a non-zero code and that's not expected when everything was normal.
Only 8 bits were preserved on actual exit code (195).
2024-04-16 15:49:51 +02:00
Laurent Monin
3a1c79d88e
Merge pull request #2402 from rdswift/plugin_path_logging
...
Update plugin path shortening logic
2024-04-16 10:31:34 +02:00
Bob Swift
495736a369
Include zip file in short path. Improve tests regarding plugin paths.
2024-04-15 12:47:16 -06:00
Bob Swift
44b1d028a8
Revert change removing the leading "plugins/"
2024-04-15 11:05:06 -06:00
Bob Swift
e827942a5a
Remove leading "path/". Start all absolute paths with "/".
2024-04-15 09:36:29 -06:00
Bob Swift
28f9f930af
Update plugin path shortening logic
2024-04-13 22:58:58 -06:00
Bob Swift
c74e6975f0
Merge pull request #2397 from zas/debug_opt_short_plugin_path
...
PICARD-2856: Introduce DebugOpt.PLUGIN_FULLPATH and shorten plugin paths in logs
2024-04-13 16:00:46 -06:00
Laurent Monin
e7c0d26211
Merge pull request #2400 from zas/options_titles
...
Move titles from profiles to Option declarations
2024-04-13 21:02:59 +02:00
Laurent Monin
fac0ed5155
Add support for title to Option.add_if_missing()
2024-04-13 18:20:36 +02:00
Laurent Monin
ba5c8dbc2b
Rename Advanced Options groupBox_2 to groupBox_ignore_tags
2024-04-13 14:24:59 +02:00
Laurent Monin
4bc839ee64
Ensure options are declared on one line
2024-04-13 14:09:30 +02:00
Laurent Monin
3f000ae036
Use textual name in options, to ease search/replace
2024-04-13 14:09:30 +02:00
Laurent Monin
13b8fe1132
Remove titles from profiles
2024-04-13 14:09:30 +02:00
Laurent Monin
45a21a9081
Set titles in Option declarations
2024-04-13 14:09:30 +02:00
Laurent Monin
8049aaa899
Use Option title in Profiles Option dialog
2024-04-13 14:09:30 +02:00
Laurent Monin
006944294e
Add option.get_title() method
...
Similar to Option.get_default()
2024-04-13 14:09:30 +02:00
Laurent Monin
94189f8ecf
Option: Add support for an optional title
2024-04-13 14:09:30 +02:00
Laurent Monin
93623cb8d3
Merge pull request #2399 from zas/improve_changes_on_restart
...
Improve changes applied on restart dialog
2024-04-12 16:52:41 +02:00
ShubhamBhut
48aa24ecf8
PICARD-2580: Add keyboard shortcut for Artwork/Show more details
2024-04-12 16:06:42 +02:00
Laurent Monin
490ce9daf8
Use changes_require_restart_warning() in Interface Colors
2024-04-12 15:11:55 +02:00