Commit Graph

295 Commits

Author SHA1 Message Date
Martchus 7503d51b0d Allow changing focus of lyrics edit via tab key
* This way it is no longer possible to insert a tab directly but that's
  likely not wanted anyways
* See https://github.com/Martchus/tageditor/issues/59
2020-10-07 00:27:15 +02:00
Martchus e890a53217 Fix tab order of bottom buttons of tag editor widget 2020-10-07 00:24:22 +02:00
Martchus 14cc42b085 Don't use deprecated '+' operator to make key sequence 2020-09-08 19:38:12 +02:00
Martchus ba34ae38a5 Add custom substitution to auto correction features 2020-09-08 19:37:23 +02:00
Martchus bcefa83c0a Harmonize spelling of tooltips in renaming dialog with other tooltips 2020-09-08 19:12:49 +02:00
Martchus 31904ff084 Support Qt 6 (commit 174154b) 2020-09-04 00:59:22 +02:00
Martchus ad44ef55ab Use new ButtonOverlay functions for improved behavior of overlay buttons
See https://github.com/Martchus/tageditor/issues/56
2020-06-09 23:27:45 +02:00
Martchus 20c1d88629 Avoid useless use of QTextStream 2020-05-13 18:42:17 +02:00
Martchus dd3f1f594e Don't use QTextCodec which will be moved to libQt5Compat in Qt 6 2020-05-13 18:41:56 +02:00
Martchus 0370b1320e Avoid web view appearing as white rectangle when no file is opened
* Hide web view (and for consistency reglar info view) when no file opened
* The white rectancle is otherwise disturbing when a dark theme is used
2020-04-26 21:49:01 +02:00
Martchus ed7e93dccf Reduce nesting in MainWindow::fileSelected() 2020-04-26 19:43:27 +02:00
Martchus c05a976bac Apply clang-format 2020-04-24 23:26:52 +02:00
Martchus 226ee9f230 Add TODO regarding ID3v2 version 2020-04-24 23:09:24 +02:00
Martchus 976bcbb2e8 Show document title at the top of line edit
It takes more space but just looks better.
2020-03-19 16:24:32 +01:00
Martchus 67f2802e77 Avoid use of QPalette::PlaceholderText to support Qt < 5.12
Remove '<colorrole role="PlaceholderText">' elements from UI files
which are apparently added by the designer in newer Qt versions but
break compatibility with older ones.
2020-03-10 14:59:31 +01:00
Martchus a1d64f95a1 Fix spin box size policy so they are not expanding vertically 2020-03-09 19:05:41 +01:00
Martchus 7ed5723fd9 Use Q_SIGNALS instead of signals 2020-03-09 18:46:08 +01:00
Martchus a927b215bd Set window icon of RenameFilesDialog 2020-03-09 16:10:40 +01:00
Martchus 0f4bbecedc Quit app when closing stand-alone renaming utility
See https://github.com/Martchus/tageditor/issues/52
2020-03-09 15:56:48 +01:00
Martchus 3e58d67c4c Don't use lower-case Qt macros 2020-03-08 14:04:29 +01:00
Martchus f6852b2a02 Improve layout of TagEditorWidget 2020-01-11 21:34:46 +01:00
Martchus a4ae94d0b5 Fix adding "required" targets 2019-12-31 01:42:41 +01:00
Martchus 74afa6e827 Improve canceling
* Show a specific status messages
* Allow aborting while only the percentage is updated
2019-12-30 23:54:04 +01:00
Martchus c3275b8bd7 Improve consistency of labels within settings 2019-12-30 22:45:37 +01:00
Martchus e23cc76d2a Fix lyrics appearing gray 2019-11-03 23:05:35 +01:00
Martchus d92814187a Hide progress indication before showing cover/lyrics dialog 2019-09-25 18:18:06 +02:00
Martchus 7f58124bf0 Use aboutToQuit() signal for cleanup-code
As recommended by the Qt documentation
2019-09-14 19:44:34 +02:00
Martchus 474d66b25c Improve db query widget
* Trigger auto-insert also when query results are available
* Allow to refresh when new search criteria has been (automatically)
  inserted

So it is at least a little bit more convenient to use.
2019-09-03 22:04:43 +02:00
Martchus 76ba02c3c0 Improve context menu of db query widget 2019-09-02 22:13:57 +02:00
Martchus 015dc06c17 Allow to query makeitpersonal.co for lyrics 2019-09-02 21:47:11 +02:00
Martchus a94f2e3675 Improve UI of db query widget
* Move query options into menu so it is possible to add more
  without being limited by available space
* Trigger the last query action when hitting the enter key
* Change order of elements; I guess it looks better with buttons
  and fields to be used at the top
2019-09-02 21:42:56 +02:00
Martchus d3f84c4c39 Add conversion from ISO-639-2/B codes to language names 2019-08-17 20:58:14 +02:00
Martchus a5224d930d Apply clang-format 2019-08-13 00:35:04 +02:00
Martchus aa0d57f56a Apply DB query row on double click 2019-08-12 20:27:51 +02:00
Martchus 9c16e22ca8 Ignore case when matching DB query row 2019-08-12 20:27:16 +02:00
Martchus 9fd765c6de Set size policy of cover type selection to minimum expanding 2019-08-12 00:31:41 +02:00
Martchus 570bfc74ac Construct QList for pages from initializer list 2019-08-10 22:04:10 +02:00
Martchus 89ccc39d4b Remove use of fallback icons from qtutilities
Rely on icons from (bundled) icon theme instead.
2019-08-08 22:57:30 +02:00
Martchus 865b3501c4 Allow scaling and converting assigned covers 2019-07-21 23:46:46 +02:00
Martchus 955c497a52 Don't abuse organization domain for website in AboutDialog 2019-07-20 20:19:30 +02:00
Martchus 864fd1c901 Fix remaining context menus for Wayland 2019-07-20 18:49:32 +02:00
Martchus 46637093db Remove useless semicolon 2019-07-20 18:42:48 +02:00
Martchus 6c3a230962 Don't use QCursor::pos() for context menu position
It might now work under Wayland.
2019-07-20 18:42:32 +02:00
Martchus 376b15a06e Fix warnings in TagEditorWidget::updateDocumentTitleEdits() 2019-07-20 17:59:18 +02:00
Martchus ce0c0c9e19 Workaround lupdate issue 2019-07-07 15:39:24 +02:00
Martchus 72d31c568e Don't use functions obsoleted in Qt 5.13.0 2019-06-25 14:10:31 +02:00
Martchus 940deda0f3 Ensure Qt specific config is included 2019-06-16 15:55:55 +02:00
Martchus 66a45f7578 Adapt to changes in c++utilities 2019-06-12 20:47:44 +02:00
Martchus 66c9250246 Adapt to changes in c++utilities 2019-06-10 22:49:46 +02:00
Martchus 9d175ac316 Add info about automatic insertion from search results 2019-06-01 12:54:22 +02:00
Martchus cf71ac5dca Add info about auto-correction when opening file 2019-06-01 12:53:44 +02:00
Martchus ef82a88a97 Hide empty columns in db query widget 2019-06-01 12:51:11 +02:00
Martchus 52ab1d3f12 Use fromStdString()/toStdString() in AttachmentItem 2019-06-01 12:50:42 +02:00
Martchus 89e3e4b657 Support disk number in db query widget 2019-06-01 12:50:09 +02:00
Martchus de558048ce Use override 2019-06-01 12:45:12 +02:00
Martchus 54315a3739 Use icons which are better distinguishable in file info 2019-06-01 12:40:02 +02:00
Martchus 34a1595641 Improve documentation 2019-05-31 14:02:11 +02:00
Martchus 208c90ef42 Require only one of title and track to match search results 2019-05-31 13:55:36 +02:00
Martchus 777f3b114e Avoid code duplication to determine track number 2019-05-30 14:45:26 +02:00
Martchus ea708f5ad1 Improve tooltips of db query widget 2019-05-30 14:44:54 +02:00
Martchus 456565ceb9 Don't insert song-specific search criteria in db query widget 2019-05-30 14:25:45 +02:00
Martchus 833b96351e Allow locking fields 2019-05-29 00:04:47 +02:00
Martchus 1dbb15dd1c Don't use deprecated Qt features 2019-05-04 22:17:28 +02:00
Martchus f4143a6eb1 Apply cmake-format and clang-format 2019-05-04 21:03:32 +02:00
Martchus 1691b9daa2 Adapt to c++utilities v5 2019-05-04 16:05:20 +02:00
Martchus b1be64fe1d Make LyricWiki URL configurable 2019-04-16 23:10:17 +02:00
Martchus 2ec53c5044 Fix warnings about implicit conversion 2019-03-20 22:29:27 +01:00
Martchus 783d2eb2a6 Hide bitrate if <= zero or NaN 2019-03-10 16:59:15 +01:00
Martchus fb04ee4e12 Reduce code duplication via MediaFileInfo::overallAverageBitrate() 2019-03-10 16:32:56 +01:00
Martchus 849baa8192 Improve message for unsupported field types 2019-02-13 19:09:13 +01:00
Martchus 57396807d5 Show scrollbar for fields if required 2019-02-13 19:08:44 +01:00
Martchus 1e962b8c44 Fix warnings in PicturePreviewSelection 2019-02-13 18:40:47 +01:00
Martchus c2ae237d9b Allow adding cover from clipboard 2019-02-13 18:20:34 +01:00
Martchus 265d8def09 Reduce nesting in code for adding cover 2019-02-13 18:20:08 +01:00
Martchus 6b97860771 Allow to copy selected DB query result 2019-02-13 18:15:49 +01:00
Martchus b19a210fcc Improve coding style 2018-08-20 21:44:47 +02:00
Martchus 42004c8760 Show meta info about cover (size, resolution, MIME-type) 2018-08-20 21:43:50 +02:00
Martchus 1357fd1a32 Adjust DbQueryWidget selection only if empty 2018-08-20 21:41:17 +02:00
Martchus 8e59c5b24f Improve coding style and formatting in dbquery code 2018-08-19 15:11:46 +02:00
Martchus a32db9e33d Improve JavaScriptHighlighter
* Fix greediness for string highlighting
* Adjust colors
* Port to QRegularExpression
2018-08-15 22:23:57 +02:00
Martchus 93b487d246 Fix some issues reported by clang-tidy 2018-08-12 22:13:28 +02:00
Martchus 8a81aed6dd Use AspectRatio::toString() 2018-07-28 15:09:17 +02:00
Martchus bfd820cb9f Refactor TagFieldEdit 2018-07-22 23:21:29 +02:00
Martchus d15e0ce51d Fix showing/hiding line edit for description 2018-07-14 23:32:10 +02:00
Martchus 204c7cb80b Improve coding style in TagFieldEdit and PicturePreviewSelection 2018-07-14 23:10:40 +02:00
Martchus 2a5d71cf87 Fix using backup directory in GUI 2018-07-14 22:38:25 +02:00
Martchus c9d43c7931 Adapt to tagparser v8 2018-07-10 16:35:50 +02:00
Martchus 74bd0ab75d Improve size policy of notification widgets 2018-07-09 14:29:57 +02:00
Martchus 15d7ec38ff Fix possibly missing #includes 2018-06-05 22:46:02 +02:00
Martchus 53970fbf74 Fix TagParser namespace in documentation 2018-06-03 20:39:00 +02:00
Martchus 95ac0d6aa7 Include QHeaderView explicitely
To avoid error: invalid use of incomplete type ‘class QHeaderView’
2018-05-28 19:52:13 +02:00
Martchus 70ee0be17b Improve coding style 2018-05-26 22:43:35 +02:00
Martchus 2250b9aa47 Ensure MediaFileInfo isn't destroyed before concurrent operation finishes 2018-05-26 22:43:27 +02:00
Martchus eec19fd710 Improve coding style and documentation 2018-05-13 20:42:16 +02:00
Martchus 645ca8a457 Improve coding style in tageditorwidget.cpp 2018-04-29 19:02:31 +02:00
Martchus dd8456fe89 Use unsigned int as underlying type for enums 2018-03-21 20:31:13 +01:00
Martchus 4f21442f39 Set writing application 2018-03-20 21:41:42 +01:00
Martchus 2ec67c67a3 Improve initialization of QStringList 2018-03-18 18:34:28 +01:00
Martchus 6efeeb828a Improve 'Keep previous values' button 2018-03-14 19:35:52 +01:00
Martchus 4f53029a6e Refactor MediaFileInfo::createAppropriateTags() 2018-03-11 18:58:20 +01:00