Commit Graph

53 Commits

Author SHA1 Message Date
Martchus 9d704ffc27 Fix crash when opening meta-data search 2023-08-08 23:18:42 +02:00
Martchus 63f0ab96a4 Fix/improve code for DB query widget 2023-08-07 23:03:13 +02:00
Martchus e69278634f Overhaul meta-data search
* Improve coding style
* Remove useless code comments
* Hide legacy providers by default
* Add Tekstowo to have at least one functioning provider for lyrics again
* Enable query logging only if an environment variable is set
* Use Tekstowo in example JavaScript
2023-08-06 20:02:00 +02:00
Martchus 1017873c28 Apply clang-format 2023-07-25 23:34:39 +02:00
Martchus 4a3aa9c1c1 Fix warnings about implicit conversions when compiling against Qt 6 2023-07-23 22:17:47 +02:00
Martchus d6e70764c4 Update style sheets on palette change 2023-03-26 22:19:27 +02:00
Martchus 4c631059ed Avoid implicit conversion 2021-04-07 20:53:32 +02:00
Martchus e535e20720 Fix warnings 2021-03-20 21:59:49 +01:00
Martchus e4720ea587 Don't use deprecated QVariant::type() in Qt 6 2020-12-14 21:20:14 +01:00
Martchus 14cc42b085 Don't use deprecated '+' operator to make key sequence 2020-09-08 19:38:12 +02:00
Martchus d92814187a Hide progress indication before showing cover/lyrics dialog 2019-09-25 18:18:06 +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 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 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 72d31c568e Don't use functions obsoleted in Qt 5.13.0 2019-06-25 14:10:31 +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 ef82a88a97 Hide empty columns in db query widget 2019-06-01 12:51:11 +02:00
Martchus 89e3e4b657 Support disk number in db query widget 2019-06-01 12:50:09 +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 456565ceb9 Don't insert song-specific search criteria in db query widget 2019-05-30 14:25:45 +02: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 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 15d7ec38ff Fix possibly missing #includes 2018-06-05 22:46:02 +02:00
Martchus 4b7d7a9499 Apply clang-format 2018-03-07 01:18:01 +01:00
Martchus c1a3e53dc9 Move tagparser to namespace TagParser 2018-03-06 23:10:13 +01:00
Martchus 256a664332 Reduce vertical space required by DB query widget
* Reduce margins
* Allow results list view to shrink further

See https://github.com/Martchus/tageditor/issues/20
2017-08-15 23:36:48 +02:00
Martchus a3b8048156 Allow showing db query result in browser 2017-08-08 20:22:37 +02:00
Martchus 3c1c7839d1 Improve finding selected index in DbQueryWidget 2017-08-08 20:04:17 +02:00
Martchus c64791e10f Fix showing cover from LyricsWikia 2017-08-08 19:16:11 +02:00
Martchus 978de4f101 Limit number of errors displayed in db query widget 2017-08-08 18:45:23 +02:00
Martchus d3e2c89a0b Show notifications in msgbox on double click 2017-07-30 20:57:55 +02:00
Martchus 43b55e0a5a Fix context menu in db query widget
* Signal is `QAction::triggered` and not `QAction::trigger`
* Better use Qt 5.6 overload anyways
2017-05-07 16:29:24 +02:00
Martchus e3202b7fc5 Fix context menu in db query widget 2017-01-06 21:20:36 +01:00
Martchus 733fe08890 Allow auto-insert of DB query results 2016-12-01 22:54:16 +01:00
Martchus 0ef07b7969 Refactor settings 2016-10-24 20:17:30 +02:00
Martchus 0062384bad Allow retrieving lyrics from LyricsWikia 2016-10-12 23:51:16 +02:00
Martchus 958cd9960c Allow querying LyricsWikia for metadata
Querying lyrics has not been implemented yet
2016-10-09 19:44:06 +02:00
Martchus c525a6acd9 Sync file browser after change via Drag & Drop 2016-08-07 19:59:33 +02:00
Martchus 27325ac416 Fix minor mistakes 2016-07-27 19:55:32 +02:00
Martchus b3a79940b7 Improve DbQueryWidget 2016-06-02 22:41:01 +02:00
Martchus b2a14b8260 minor changes
- fixed name of desktop entry for renaming utility
- allow compilation without web view
- fixed window titles
- always return in eventFilter()
2016-03-28 23:15:07 +02:00
Martchus 782e1a8557 fixed typo 2016-03-19 18:34:10 +01:00