Commit Graph

316 Commits

Author SHA1 Message Date
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
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 c2b2e4ac44 Adapt to new notification handling 2018-03-06 22:43:51 +01:00
Martchus 254b9b7661 Adapt to tagparser v7 2018-03-06 22:43:51 +01:00
Martchus 9b3d80992a Fix typo 2018-01-31 21:05:06 +01:00
Martchus 799f76e5ab Use QMessageBox::critical consistently 2018-01-31 21:04:50 +01:00
Martchus c9b3218c76 Display tag and index position in GUI 2018-01-31 21:04:15 +01:00
Martchus 7848b285b6 Fix some warnings 2018-01-31 21:02:24 +01:00
Martchus 25d570d394 Allow opening HTML file info in browser 2017-09-20 19:37:49 +02:00
Martchus fe0dccf019 Fix some warnings 2017-08-20 02:01:37 +02:00
Martchus 50f737ce48 Show technical summary in info 2017-08-17 19:10:20 +02: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 0c6dcc4adc Get rid of warnings in NotificationLabel 2017-08-08 18:44:42 +02:00
Martchus d3e2c89a0b Show notifications in msgbox on double click 2017-07-30 20:57:55 +02:00
Martchus 7400534d20 Use frame instead of sample count for video tracks 2017-06-27 00:37:56 +02:00
Martchus f8668d38d9 Fix typo 2017-06-23 00:59:33 +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 041b53101a Make definitions for gui support project specific 2017-04-27 22:10:55 +02:00
Martchus 8f7f0dceb4 Don't mix signed with unsigned types 2017-03-29 00:59:04 +02:00
Martchus b34a0e635f Use JS provider defs provided by qtutilities 2017-03-21 10:01:18 +01:00
Martchus 039f64584e Use web view defs provided by qtutilities 2017-03-14 23:37:50 +01:00
Martchus 8fc2b834ea Reduce number of casts in PicturePreviewSelection 2017-03-07 16:50:49 +01:00
Martchus 6f8aa1f4d0 Fix warning in fileinfomodel.cpp 2017-03-06 22:22:47 +01:00
Martchus 41bad101cf Use high res edit icons 2017-03-01 23:31:46 +01:00
Martchus 3735391626 Use ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES 2017-02-11 02:39:20 +01:00
Martchus 8681ef68ed Remove use of old SLOT macro 2017-02-06 21:37:17 +01:00
Martchus 1f6f179021 renaming utility: Fix expand/collapse all 2017-02-06 21:36:44 +01:00
Martchus 59ab7e6181 Use std::make_unique provided by C++14 2017-02-05 21:04:27 +01:00
Martchus 386dfa256b Remove geometry in UI file for widgets 2017-01-15 20:28:56 +01:00
Martchus 2c6dcec043 Improve tooltip for clear/reset buttons 2017-01-15 20:28:04 +01:00
Martchus 33e3d5258f renaming dlg: Fix size policy of info label 2017-01-06 22:16:30 +01:00
Martchus d5c2dd5f5b renaming utility: Improve coding style 2017-01-06 22:15:39 +01:00
Martchus 537d31289d Fix typo 2017-01-06 21:29:43 +01:00
Martchus e3202b7fc5 Fix context menu in db query widget 2017-01-06 21:20:36 +01:00
Martchus 7d464f496f Consider all strings from tagparser UTF-8 2016-12-20 23:53:33 +01:00
Martchus e75ea5526a Use _wopen under Windows to support unicode filenames 2016-12-19 23:53:12 +01:00
Martchus afac9c3348 Improve tooltips 2016-12-01 23:02:49 +01:00
Martchus 733fe08890 Allow auto-insert of DB query results 2016-12-01 22:54:16 +01:00
Martchus 255fef9bdf Show error icon on conversion error 2016-11-30 20:58:50 +01:00
Martchus d3558cfefe Refactor GUI
* Make error handling more clear
* Get rid of useless mutex (sync is done
  by QMetaObject::invokeMethod() already)
* Improve details
2016-11-23 21:46:33 +01:00
Martchus 45b1d038c5 Use current dir as initial dir in showSaveAsDlg() 2016-11-18 17:59:53 +01:00
Martchus f82a423169 Make UTF-16 BE option belong to group 2016-11-13 22:57:42 +01:00
Martchus 1924c1d804 Handle unexpected exceptions when parsing/making
* Don't just ignore exception (previous behavior)
* Add critical notification
* Show results, though error (to ease debugging)
2016-11-13 22:57:02 +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 8d6d60d939 Fix sorting in file browser 2016-10-09 17:11:18 +02:00
Martchus c6fbe9fbf1 Allow locking layout 2016-10-08 00:31:12 +02:00
Martchus 7fb3fa2ef7 Explicitely instantiate UI-file-based option pages 2016-09-12 21:52:39 +02:00
Martchus dddb6fc8be Update README 2016-09-10 17:19:48 +02:00
Martchus 7ca4f58bd3 Move template declarations to qtutilities 2016-08-27 15:21:25 +02:00
Martchus c01d9c447c Allow using static Qt libraries 2016-08-19 22:39:44 +02:00
Martchus 5220e2cc6a Show (experimental) Qt settings 2016-08-14 22:49:47 +02:00
Martchus c525a6acd9 Sync file browser after change via Drag & Drop 2016-08-07 19:59:33 +02:00
Martchus 5010d3621d Improve CLI and add more tests 2016-08-06 22:03:29 +02:00
Martchus 46f006f289 Add more CLI tests 2016-08-04 20:41:05 +02:00
Martchus 0dd612061e Ensure notifications from tag creation are shown 2016-07-27 20:30:56 +02:00
Martchus 27325ac416 Fix minor mistakes 2016-07-27 19:55:32 +02:00
Martchus aaccbcc375 Drop Qt dependency when building only CLI 2016-07-27 19:55:32 +02:00
Martchus e0dcf58588 Change usage of DECLARE_ENUM macro 2016-07-11 21:34:05 +02:00
Martchus 229e24cbe0 Hide start/end time of chapters when not set 2016-07-11 21:12:02 +02:00
Martchus 92c03f03bf Fix title of IO error msg box 2016-06-14 23:49:42 +02:00
Martchus 2518309608 Use workaround for GCC Bug 66145 2016-06-14 22:54:49 +02:00
Martchus f6e9368792 Improve details in the GUI 2016-06-14 00:52:11 +02:00
Martchus a937bdbe3a Remove out-commented lines in attachmentsedit.h 2016-06-06 21:17:31 +02:00
Martchus 18d2e5f155 Ensure file info is always UTF-8 encoded 2016-06-06 20:29:12 +02:00
Martchus b3a79940b7 Improve DbQueryWidget 2016-06-02 22:41:01 +02:00
Martchus c1269c7945 Improve handling of targets 2016-05-26 02:15:41 +02:00
Martchus 9b659f2c8f Fix minor bugs in HTML info and cover selection
Additionally, the buttons of the cover selections
can now be hidden.
2016-05-16 21:01:01 +02:00
Martchus b5f26228ff Add support for FLAC in Ogg 2016-05-14 23:23:47 +02:00
Martchus e8610cdc26 remember save and restore in RenameFilesDialog 2016-05-06 22:48:11 +02:00
Martchus af7d2c239f improved settings dialog, save as 2016-05-01 20:07:04 +02:00
Martchus 6bbfb63e73 automatically resize header sections in info tree view 2016-04-25 22:47:54 +02:00
Martchus 7c39a6a293 minor changes 2016-04-25 22:05:50 +02:00
Martchus 0e3b4c23dc added context menu for file info tree view 2016-04-24 22:08:41 +02:00