Commit Graph

  • d599054e22 _picardize_caption(): use PICARD_DISPLAY_NAME and display it at the end Laurent Monin 2024-05-31 16:08:44 +02:00
  • 1a853363b5 UpdateCheckManager: no need to inherit from QtCore.QObject and pass tagger object from caller Laurent Monin 2024-05-31 14:10:36 +02:00
  • 036f82446c Refactor cover art filters twodoorcoupe 2024-05-31 11:58:52 +02:00
  • c1880ce5e8 Add a way for providers to filter out images with only their metadata twodoorcoupe 2024-05-31 10:42:08 +02:00
  • b64d2e4719 Avoid filtering thumbnail images twodoorcoupe 2024-05-31 08:56:46 +02:00
  • 1adc2f4786 Prefix helper methods with _, those are meant to use locally Laurent Monin 2024-05-30 19:23:31 +02:00
  • 7e3a5d9c58 Declare class ImageListState at module level Laurent Monin 2024-05-30 19:17:01 +02:00
  • c3a815dba6 Add a tagger property to MetadataItem Laurent Monin 2024-05-30 14:29:40 +02:00
  • 6a633dcd10 Album: it inherits from MetadataItem, but never calls MetadataItem.__init__() Laurent Monin 2024-05-30 13:24:00 +02:00
  • f4c1f958d9 Drop LockableObject, unused Laurent Monin 2024-05-30 13:09:51 +02:00
  • 04c1e6e1b7 CAATypesSelectorDialog: included/excluded -> return tuple Laurent Monin 2024-05-30 12:02:04 +02:00
  • 1650f29d1a CAATypesSelectorDialog: reduce number of arguments, use defaults Laurent Monin 2024-05-30 11:45:43 +02:00
  • 49f1dabd57 Add option to filter out images below a given size twodoorcoupe 2024-05-30 11:37:09 +02:00
  • a0cc95fff6 TipSlider, ClickableSlider: pass parent explicitely Laurent Monin 2024-05-30 10:54:27 +02:00
  • 414b8d83ce LogViewCommon: explicit parameters Laurent Monin 2024-05-30 10:45:15 +02:00
  • 9684df3b76 display_caa_types_selector() -> CAATypesSelectorDialog.display() class method Laurent Monin 2024-05-30 10:40:21 +02:00
  • e7dff30b2d TreeItem: make arguments explicit Laurent Monin 2024-05-29 22:44:43 +02:00
  • 2ec8248ea0 PicardDialog.__init__(): call parent class __init__() before anything Laurent Monin 2024-05-29 22:12:21 +02:00
  • 6b5d673e11 HashableItem: cache the hash() result Laurent Monin 2024-05-29 18:39:48 +02:00
  • 70ee6d818c HashableItem: no need to convert uuid4 to str, it can be hashed directly Laurent Monin 2024-05-29 18:38:32 +02:00
  • 4ccb1c14f4 HashableItem: id -> __id Laurent Monin 2024-05-29 18:33:16 +02:00
  • 5b4ecfca79 HashableTreeWidgetItem, HashableTreeWidgetItem: inherit from HashableItem Laurent Monin 2024-05-29 18:29:17 +02:00
  • aed4885e26 Introduce HashableItem class Laurent Monin 2024-05-29 18:27:31 +02:00
  • 8bff6a2425 BaseAction: match proto, pass parent to parent class if provided Laurent Monin 2024-05-29 17:45:37 +02:00
  • ab9e7ff5d9 Move CheckboxListItem to ui/widgets Laurent Monin 2024-05-29 17:41:03 +02:00
  • 06b9af1511 CheckboxListItem: accept parent parameter Laurent Monin 2024-05-29 17:35:20 +02:00
  • 672c37eef6 FileDialog static methods: explicit parameters Laurent Monin 2024-05-29 15:01:18 +02:00
  • 13dfe589b9 Replace class MultiDirsSelectDialog with new FileDialog.getMultipleDirectories() Laurent Monin 2024-05-29 14:14:26 +02:00
  • d060c3e21c Add wrappers to QFileDialog -> picard.util.ui.FileDialog Laurent Monin 2024-05-28 22:57:40 +02:00
  • 7492d608bc Merge pull request #2502 from zas/parents Laurent Monin 2024-05-29 11:13:18 +02:00
  • c796280a5a QFileDialog: use keyword arguments Laurent Monin 2024-05-28 17:54:45 +02:00
  • b67b606946 Pass arguments explicitly to parent Qt classes Laurent Monin 2024-05-28 17:37:24 +02:00
  • 579f453a50 OptionsPage: make parent keyword argument explicit Laurent Monin 2024-05-28 16:36:46 +02:00
  • 1dc87518d7 SearchBox: pass parent as keyword arg Laurent Monin 2024-05-28 16:24:58 +02:00
  • e488054cac TagListEditor: parent as keyword arg Laurent Monin 2024-05-28 16:20:56 +02:00
  • 373370bfa9 RatingWidget: pass parent as keyword arg Laurent Monin 2024-05-28 16:18:15 +02:00
  • ff8b23d6cd PlaybackProgressSlider: pass parent as keyword arg to QWidget Laurent Monin 2024-05-28 16:16:59 +02:00
  • e5461b0515 CollectionMenuItem: parent as optional keyword argument Laurent Monin 2024-05-28 16:12:51 +02:00
  • fccfb7b9be CollectionCheckBox: pass explicit keyword arguments Laurent Monin 2024-05-28 16:11:07 +02:00
  • 1429b17b2a CoverWidget: pass parent as keyword arg Laurent Monin 2024-05-28 16:09:11 +02:00
  • 310014f032 Pass parent via keyword argument to PicardDialog Laurent Monin 2024-05-28 15:18:32 +02:00
  • 32c6d7268d ScriptingDocumentationWidget: pass parent via keyword argument Laurent Monin 2024-05-28 15:15:32 +02:00
  • 33018d471c ScriptDetailsEditor: parent isn't actually mandatory Laurent Monin 2024-05-28 14:56:57 +02:00
  • e07834ef09 AddActionDialog: it inherits PicardDialog, pass parent via keyword arg Laurent Monin 2024-05-28 14:48:44 +02:00
  • 0565a8cd8c Highlighter: QSyntaxHighlighter parent isn't optional Laurent Monin 2024-05-28 14:47:53 +02:00
  • c76f8bb128 EditTagDialog: drop window and pass metadata box object instead Laurent Monin 2024-05-28 14:42:43 +02:00
  • 39f586fa47 No need to inherit object explicitly Laurent Monin 2024-05-28 14:24:29 +02:00
  • fd2b2c5667 AcoustIDManager: no need to inherit QObject Laurent Monin 2024-05-28 14:11:23 +02:00
  • 4f5c088202 Submission: no need to explicitly inherit object Laurent Monin 2024-05-28 14:11:06 +02:00
  • c7ba39068a Disc: no need to subclass QObject Laurent Monin 2024-05-28 14:06:29 +02:00
  • 037128a88c Collection: defined as subclass of QObject but QObject.__init__() is not called Laurent Monin 2024-05-28 13:40:41 +02:00
  • 2d05dc7dd9 ScriptingDocumentationDialog: pass parent as keyword argument Laurent Monin 2024-05-28 13:21:43 +02:00
  • 38e0174834 MetadataBox(): pass parent by keyword argument and do not redefine a parent property Laurent Monin 2024-05-28 13:00:07 +02:00
  • 325e887edc ActiveLabel/CoverArtThumbnail: fix funky parameters, pass parent via keyword argument Laurent Monin 2024-05-28 11:04:59 +02:00
  • 3c052c9982 Merge pull request #2500 from zas/update_metadata_images_context Laurent Monin 2024-05-27 21:49:25 +02:00
  • 3ad7a5a90b Introduce MetadataItem.suspend_metadata_images_update context manager Laurent Monin 2024-05-27 13:40:46 +02:00
  • 79c227c4d4 Merge pull request #2501 from zas/color_groups Laurent Monin 2024-05-27 19:09:39 +02:00
  • f191de9bef Options > Interface > Colors: Separate colors in different groups Laurent Monin 2024-05-27 15:05:32 +02:00
  • 5e24e8047d Merge pull request #2496 from zas/list_of_scripts Laurent Monin 2024-05-27 12:32:34 +02:00
  • 40ca58436a Merge pull request #2499 from zas/script_syntax_style Laurent Monin 2024-05-27 12:32:03 +02:00
  • b1f327252d Move iter_active_tagging_scripts() generator near over iter_*() methods Laurent Monin 2024-05-27 12:17:03 +02:00
  • a5a13e01a2 unicode -> drop italic, it can now have its own color if needed Laurent Monin 2024-05-27 12:13:46 +02:00
  • 145b5e0949 syntax_hl_error -> red / light red for light/dark theme Laurent Monin 2024-05-27 12:12:30 +02:00
  • 9548b75293 PicardFileNamingScript -> FileNamingScriptInfo Laurent Monin 2024-05-27 12:06:17 +02:00
  • 10160b5848 PicardTaggingScript -> TaggingScriptInfo Laurent Monin 2024-05-27 12:04:35 +02:00
  • d9e89bf5a9 PicardScript -> ScriptSerializer Laurent Monin 2024-05-27 12:03:04 +02:00
  • 929214b3f7 FileNamingScript -> PicardFileNamingScript Laurent Monin 2024-05-26 18:49:34 +02:00
  • e95665d704 Introduce PicardScriptImportError/PicardScriptExportError Laurent Monin 2024-05-26 18:46:54 +02:00
  • f1c5bb4e48 Introduce a base exception class PicardScriptError Laurent Monin 2024-05-26 18:37:55 +02:00
  • e46428c3a4 ScriptImportExportError -> PicardScriptImportExportError Laurent Monin 2024-05-26 18:34:42 +02:00
  • 4fc43af380 ScriptImportError -> PicardScriptFromFileError Laurent Monin 2024-05-26 18:32:27 +02:00
  • 3761c7e492 TaggingScript -> PicardTaggingScript Laurent Monin 2024-05-26 18:26:03 +02:00
  • dec700e9ed Consistently name list items list_item(s) Laurent Monin 2024-05-26 18:08:43 +02:00
  • e70d1fbda0 script_item -> tagging_script Laurent Monin 2024-05-26 18:05:38 +02:00
  • 9bf130dc06 export_script(): rename variables and simplify code Laurent Monin 2024-05-26 18:03:04 +02:00
  • 1f49e7809f Replace enabled_tagger_scripts_texts() with iter_active_tagging_scripts() Laurent Monin 2024-05-26 16:25:47 +02:00
  • 2207e9f034 Pass TaggingScriptSetting instance if possible Laurent Monin 2024-05-26 16:13:14 +02:00
  • fe88e79665 Use iter_tagging_scripts_from_*() Laurent Monin 2024-05-26 16:11:32 +02:00
  • e801f83da4 Introduce TaggingScriptSetting and few helper methods Laurent Monin 2024-05-25 17:29:50 +02:00
  • cdbf6431b2 Merge pull request #2498 from zas/config_syntax_colors Laurent Monin 2024-05-27 11:33:22 +02:00
  • bf454353b9 update plural rules in Spanish and Italian po files Philipp Wolfer 2024-05-27 08:52:33 +02:00
  • a2906f2853 Let user configure syntax highlighting colors Laurent Monin 2024-05-26 19:22:41 +02:00
  • 1676cf1dba Merge pull request #2497 from phw/missing-function-tooltip Laurent Monin 2024-05-26 16:31:56 +02:00
  • f95ac57379 PICARD-2912: Show a tooltip for missing functions in script editor Philipp Wolfer 2024-05-26 11:27:40 +02:00
  • 27a6caac1d Merge pull request #2491 from zas/ignoreupdatescontext Laurent Monin 2024-05-26 11:05:36 +02:00
  • 5f21a6b5b9 Merge pull request #2488 from zas/image_list_cleanup Laurent Monin 2024-05-26 11:05:16 +02:00
  • 4de1cf830f Merge pull request #2492 from zas/scripteditor_hl Laurent Monin 2024-05-26 11:00:02 +02:00
  • f78d02e415 Fix misleading comment on dark theme colors Philipp Wolfer 2024-05-26 10:41:24 +02:00
  • 99e9cfe9c2 Introduce HighlightFormat and HighlightRule classes, simplify code Laurent Monin 2024-05-25 00:37:26 +02:00
  • 548a7f092b No need to make all regex and matching formats properties, move them near their use Laurent Monin 2024-05-24 23:27:48 +02:00
  • 383716783e Use a namedtuple to describe rules Laurent Monin 2024-05-24 23:11:31 +02:00
  • 5b565eba7d Avoid using match as variable name Laurent Monin 2024-05-24 23:04:33 +02:00
  • 2735b54403 If a rule already matched a part of the text, don't apply next rules Laurent Monin 2024-05-24 19:41:40 +02:00
  • fb699cbda7 Properly match existing functions, and differentiate them from unknown ones Laurent Monin 2024-05-24 19:40:53 +02:00
  • 3ef967a3d7 Fix special_re matching, causing alternative colors on sequence of commas and parenthesis Laurent Monin 2024-05-24 19:38:08 +02:00
  • cbc425c7d7 Add few blank lines to make code easier to read Laurent Monin 2024-05-24 18:29:41 +02:00
  • e4168b5385 Merge pull request #2494 from zas/avoid_using_match Laurent Monin 2024-05-25 19:56:08 +02:00
  • d771f6f3e9 Introduce ProgressStatus class and use an instance of it to pass values around Laurent Monin 2024-05-25 13:40:42 +02:00
  • c774465605 Fix AttributeError: 'ScriptEditorDialog' object has no attribute 'unsaved_changes_confirmation' Laurent Monin 2024-05-24 20:07:05 +02:00
  • b1bd41016a Fix AttributeError: 'ScriptEditorDialog' object has no attribute 'unsaved_changes_confirmation' Laurent Monin 2024-05-24 20:07:05 +02:00