Jonas Kvinge
fe5fbae4b4
Use percent encoding for saved groupings
...
Fixes #1758
2025-07-30 00:41:12 +02:00
Jonas Kvinge
8da2b9cd94
Refactoring
2024-11-01 23:04:42 +01:00
Jonas Kvinge
ef9ef63f02
Port to QStringLiteral operator
2024-10-20 06:38:55 +02:00
Jonas Kvinge
0e330b81db
Use Qt::Literals::StringLiterals
2024-10-18 20:17:23 +02:00
Jonas Kvinge
517a8baea2
Fix missing includes
2024-09-24 21:35:31 +02:00
Jonas Kvinge
4270b12cd1
Replace QLatin1String with operator _L1
2024-09-12 22:13:21 +02:00
Jonas Kvinge
20ef621a20
Rename SearchField
2024-08-25 05:48:37 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
7ebcc73a49
More const detach fixes
2024-08-23 20:30:59 +02:00
Jonas Kvinge
819463a865
Use anonymous namespace for constants
2024-08-07 00:52:58 +02:00
Jonas Kvinge
6543e4c5da
Use common filter parser for collection and playlist
2024-07-19 17:29:05 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
05358cdfe4
Add default to switch
2024-06-12 17:41:17 +02:00
Jonas Kvinge
b233600b8c
Remove useless else
2024-06-12 17:38:58 +02:00
Jonas Kvinge
b89c200076
Replace QStringLiteral with QLatin1String
2024-06-12 02:13:27 +02:00
Jonas Kvinge
e477449cd4
Rewrite collection model and search
...
Fixes #392
2024-06-11 23:18:38 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +02:00
Jonas Kvinge
0c6872b352
Disable automatic conversions from 8-bit strings
2024-04-13 05:05:33 +02:00
Jonas Kvinge
58944993b8
Use QStringLiteral
2024-04-09 23:20:26 +02:00
Dakes
7aa7cdf6f3
Add filtering of numerical cols to collection
...
CollectionFilterWidget: Updated the tooltip, to reflect the changes.
CollectionQuery: Add parsing for SQL operators and insert right SQL
"where" searches.
Song: Add list of numerical columns
playlistfilterparser.cpp/FilterParser: move time and rating parsing
functions to new file:
searchparserutils.cpp: Contains common code used to parse search terms
in playlist and collection filters.
2023-08-02 16:52:27 +02:00
Jonas Kvinge
d6b53f78ab
Cleanup includes
2023-07-21 05:25:57 +02:00
Jonas Kvinge
e394416fa7
CollectionFilterWidget: Add missing collectionsettingspage include
2023-03-18 00:59:39 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
b5fa401db9
Collection: Make sure RunQuery does not access collection items
...
- Rename `QueryOptions` to `CollectionFilterOptions`.
- Create new class `CollectionQueryOptions` for passing options from model to `CollectionQuery`.
- Rename `Directory` to `CollectionDirectory`.
Fixes #1095
2023-01-08 18:16:16 +01:00
Jonas Kvinge
6bc46e4598
CollectionModel: Make separate_albums_by_grouping optional
2022-08-20 16:47:09 +02:00
Jonas Kvinge
6562258db5
CollectionModel: Make separating albums by grouping optional
...
Fixes #1018
2022-08-20 14:51:19 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
1cc2e6303a
Show menu when clicking icon for collection and internet search tool buttons
2022-01-10 22:51:27 +01:00
staticssleever668
b38ad81928
Remove use of C-style casts
2021-10-12 18:50:17 +02:00
Jonas Kvinge
8d2615547d
Add keyboard shortcut for focusing search fields
...
Fixes #779
2021-09-27 21:42:30 +02:00
Jonas Kvinge
336c6cdd9d
Use 4arg connect
2021-08-25 02:55:00 +02:00
Jonas Kvinge
9ace66edb7
Rename CollectionFilterWidget::SetCollectionModel to CollectionFilterWidget::Init
2021-06-28 00:21:50 +02:00
Jonas Kvinge
a97d784f26
Rename filter to search_field
2021-06-28 00:21:50 +02:00
Jonas Kvinge
83b54f2ae6
Formatting
2021-06-21 19:54:42 +02:00
Jonas Kvinge
ed09627fdb
Use std::make_unique
2021-06-21 15:40:44 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
78588d8cdf
Fix various clazy warnings
2021-03-21 04:47:11 +01:00
Jonas Kvinge
bf7c8df353
Connection syntax migration ( #637 )
2021-01-26 16:48:04 +01:00
Jonas Kvinge
52cff01b9c
Fix group by version
2020-09-12 00:18:08 +02:00
Jonas Kvinge
10303cb9c0
Use unique keys for all container nodes in collection model
...
Fixes #539 and probably many more issues with the model.
2020-09-10 22:09:24 +02:00
Jonas Kvinge
ee85fb3aec
Use QString() on non-translated text in collection filter widget
2020-08-01 22:50:02 +02:00
Jonas Kvinge
e5b3df41e9
Replace QRegExp with QRegularExpression
2020-07-18 04:05:07 +02:00
Jonas Kvinge
558e392234
Make search field clear buttons follow icon size settings
2020-06-29 01:09:02 +02:00
Jonas Kvinge
4d78b30e8c
Make icon sizes configurable, increase default sizes for icons
...
Fixes #250
2020-06-28 18:36:48 +02:00
Jonas Kvinge
2fbdb29ebc
Replace 0 with nullptr
2020-06-14 17:02:47 +02:00
Jonas Kvinge
92d6fc3fad
Change default grouping to album disc
2020-06-07 23:36:37 +02:00
Jonas Kvinge
a2c0e4d4b1
Improve album cover loader, lyrics search and streaming support
...
- Improve album cover loader
- Add album cover loader result struct
- Move album cover thumbnail scaling to album cover loader
- Make init art manual look for album cover images in song directory
- Make album cover search work for songs outside of collection and
streams
- Make album cover search work based on artist + title if album is not
present
- Update art manual in playlist for local files, devices and CDDA
- Make lyrics search work for streams
- Add stream dialog to menu
- Remove dead code in InternetSearchModel
- Simplify code in InternetSearchView
2020-04-20 18:03:18 +02:00
Jonas Kvinge
8e0d792bf0
Reduce includes
2020-02-08 03:40:30 +01:00
Jonas Kvinge
9b688a5179
Remove HTML from translations
...
Fixes #260
2019-12-29 23:37:48 +01:00
Jonas Kvinge
140935bd8c
Add album - disc grouping
2019-08-05 19:17:31 +02:00