Commit Graph

10864 Commits

Author SHA1 Message Date
Laurent Monin
a106bc97ee edit_selected_tag() -> _edit_selected_tag() 2024-05-17 16:20:53 +02:00
Laurent Monin
903d3dc07a edit_tag() -> _edit_tag()
# Conflicts:
#	picard/ui/metadatabox.py
2024-05-17 16:20:43 +02:00
Laurent Monin
385bd3c2c4 update_clipboard() -> _update_clipboard() 2024-05-17 16:19:45 +02:00
Laurent Monin
c945991087 copy/paste_value() -> _copy/_paste_value() 2024-05-17 16:19:45 +02:00
Laurent Monin
74eb110524 open_link() -> _open_link() 2024-05-17 16:19:45 +02:00
Laurent Monin
bb8091c5cd get_file_lookup() -> _get_file_lookup() 2024-05-17 16:19:45 +02:00
Laurent Monin
e9f90e61aa lookup_tags() -> _lookup_tags() 2024-05-17 16:19:45 +02:00
Laurent Monin
6c837327a4 MetadataBox: use self as parent of QtGui.QAction actions 2024-05-17 16:19:45 +02:00
Laurent Monin
ab8684325f PICARD-2901: Only try to open edit tag dialog if there are tags to edit
Properly initialize `tag_diff` and check if it's `None`.
2024-05-17 15:58:11 +02:00
Laurent Monin
20add75b34 Merge pull request #2475 from zas/move_ui_files
Move ui_*.py to ui/forms/
2024-05-16 15:00:16 +02:00
Laurent Monin
07727e367e Use ignore-paths and reset ignore-patterns to default 2024-05-16 14:52:20 +02:00
Laurent Monin
9037f51dd3 Update .pylintrc to match recent versions of pylint 2024-05-16 13:35:48 +02:00
Laurent Monin
aaf3420a7e Fix trailing blankline 2024-05-16 12:44:11 +02:00
Laurent Monin
67766d4c01 Update third-party tools exclusions related to ui/forms 2024-05-16 12:39:05 +02:00
Laurent Monin
7f942df8da Move ui_*.py to ui/forms/ 2024-05-16 12:08:47 +02:00
Laurent Monin
b02c0a8ecf Merge pull request #2474 from phw/fix-QListWidget-click-slot
Fixed callback for click signal in CAATypesSelectorDialog
2024-05-16 11:41:53 +02:00
Philipp Wolfer
4f15d262e9 Renamed CAATypesSelectorDialog.clear_focus to _on_list_clicked
This makes the usage of the function clearer, as this is being used
as a Qt slot.
2024-05-16 10:59:53 +02:00
Philipp Wolfer
89330073b7 Fixed callback for click signal in CAATypesSelectorDialog 2024-05-16 10:56:56 +02:00
Philipp Wolfer
5350b2cc8c Fixed CheckboxListItem hiding QListWidgetItem.data() 2024-05-16 10:48:37 +02:00
Laurent Monin
6c08a62775 Merge pull request #2472 from zas/update_precommit
Update pre-commit example
2024-05-15 09:47:17 +02:00
Laurent Monin
8b0766d488 Update pre-commit example
- some files were ignored, but there's no reason anymore
- use git diff --diff-filter=ACM to avoid to check removed files or so
2024-05-14 21:18:19 +02:00
Philipp Wolfer
5c366fd387 Simplified formats.open_ 2024-05-14 13:57:37 +02:00
Philipp Wolfer
52635c7782 PICARD-2897: Try to guess format for files with unknown extension 2024-05-14 13:57:37 +02:00
Laurent Monin
3048c58b00 Add a DebugOpt for POST data
POST DATA was logged in debug mode unconditionally, now it can be enabled if needed.
2024-05-14 09:30:10 +02:00
Laurent Monin
f57bc89db7 Merge pull request #2469 from zas/move_basetreeview
Move BaseTreeView and associated methods to its own file
2024-05-13 20:24:23 +02:00
Laurent Monin
b2faba6708 Move BaseTreeView and associated methods to its own file 2024-05-13 18:32:01 +02:00
Laurent Monin
f59e4efb5e Merge pull request #2468 from zas/release_count
PICARD-2899: Other versions: display the actual number of versions from release-count
2024-05-13 18:21:51 +02:00
Laurent Monin
6133c03eac Other versions: display the actual number of versions from release-count 2024-05-13 18:01:19 +02:00
Laurent Monin
4fe15e0dc5 Merge pull request #2466 from zas/itemviews_columns
Itemviews: Introduce new classes Columns & Column, simplfify code
2024-05-13 17:50:45 +02:00
Laurent Monin
03914b2d0f show_column(): minor simplification using set.discard() instead of set.remove() 2024-05-13 17:40:13 +02:00
Laurent Monin
4dc268c65e ConfigurableColumnsHeader: No point in calling setSectionsMovable/Clickable
Those will be called anyway in TristateSortHeaderView.lock() called from TristateSortHeaderView.__init__()
2024-05-13 17:40:13 +02:00
Laurent Monin
393e677025 Drop (now) unused MainPanel columns-related properties 2024-05-13 17:40:13 +02:00
Laurent Monin
5d4bca12c0 Use ColumnSortType and Column.sortkey(), get rid of few more MainPanel references 2024-05-13 17:40:13 +02:00
Laurent Monin
38893b0528 Use Column properties, get rid of a bunch of MainPanel references 2024-05-13 17:40:13 +02:00
Laurent Monin
c4c89fa43a on_sort_indicator_changed(): this applies to all icon columns, not only fingerprint 2024-05-13 17:40:13 +02:00
Laurent Monin
5fe6963ed6 Use IconColumn.paint_icon() 2024-05-13 17:40:13 +02:00
Laurent Monin
c7da29c771 Ensure first column is always visible 2024-05-13 17:40:13 +02:00
Laurent Monin
a05a90fb6a Move column/header resizing code to parent of ConfigurableColumnsHeader 2024-05-13 17:40:13 +02:00
Laurent Monin
b04d7469d8 Move default header formatting outside ConfigurableColumnsHeader 2024-05-13 17:40:13 +02:00
Laurent Monin
a9e7f4542d Get header labels from DEFAULT_COLUMNS 2024-05-13 17:40:13 +02:00
Laurent Monin
74e15d4162 Partially replace MainPanel.FINGERPRINT_COLUMN by DEFAULT_COLUMNS.pos('~fingerprint') 2024-05-13 17:40:13 +02:00
Laurent Monin
9738be7fa3 Introduce TreeItem.update_colums_text() and reduce code redundancy 2024-05-13 17:40:13 +02:00
Laurent Monin
ecf57f6781 Use DEFAULT_COLUMNS, and key/title Column properties 2024-05-13 17:40:13 +02:00
Laurent Monin
e2957c331e MainPanel.TITLE_COLUMN -> ITEM_ICON_COLUMN 2024-05-13 17:40:13 +02:00
Laurent Monin
e06667dad6 Introduce Columns, Column, IconColumn, and more classes 2024-05-13 17:40:13 +02:00
Laurent Monin
4fe0b18d65 Move itemviews.py to itemviews/__init__.py 2024-05-13 13:52:00 +02:00
Laurent Monin
c9174a7772 Merge pull request #2467 from phw/PICARD-2896
PICARD-2896: Support .ogx extension for Ogg container
2024-05-13 09:34:58 +02:00
Philipp Wolfer
d61e10b26f PICARD-2896: Support .ogx extension for Ogg container 2024-05-13 08:21:58 +02:00
Laurent Monin
5bb313a36f Merge pull request #2464 from zas/itemviews_basetreeview_cleanup
Itemviews basetreeview cleanup
2024-05-12 20:36:23 +02:00
Laurent Monin
169ed965ee Merge pull request #2465 from phw/PICARD-2895
PICARD-2895: Web service requests must set Authorization header only when required
2024-05-12 15:01:36 +02:00