Commit Graph

251 Commits

Author SHA1 Message Date
David Sansome 30803b6743 Swap between two models (a "back" model and a "front" model) to smooth the delays when typing a search query 2011-09-29 23:26:02 +01:00
David Sansome 4282b6b68b Don't let search results that arrive later appear before other search results - should make navigating the global search results less annoying when there are remote providers like spotify. 2011-09-29 22:29:20 +01:00
David Sansome 4c819b1cb9 Add a "Replace and play now" shortcut to the global search menu. 2011-09-27 22:38:14 +01:00
David Sansome 892f5f1df1 Add search providers for di.fm and sky.fm 2011-09-24 22:49:04 +01:00
David Sansome 0b65aa3b02 Factor the generic parts of the last.fm search provider into a SimpleSearchProvider class 2011-09-24 20:42:33 +01:00
David Sansome 0a5ef8382d Don't show a last.fm result if any token didn't match 2011-09-24 18:36:59 +01:00
David Sansome cc20d90a7a Last.fm global search provider 2011-09-24 17:01:18 +01:00
David Sansome d83736acc0 Initialise a GlobalSearch in main and pass it around, so providers can register themselves 2011-09-24 14:44:23 +01:00
David Sansome 8551d4a46d Only re-show the global search popup on focus events that were caused by the mouse or keyboard. 2011-09-24 13:26:12 +01:00
John Maguire adf03678e3 Fix typo 2011-09-20 09:57:18 +02:00
David Sansome 8f3ea57a64 Fix the background colour of items in the global search popup in Qt 4.7 with the GTK style. 2011-09-19 11:06:25 +01:00
John Maguire 66f9d3c8b0 Remove pointless setFocus(). 2011-09-19 12:05:02 +02:00
David Sansome f2062cb68a Use the selected provider when adding songs to the playlist 2011-09-19 00:35:30 +01:00
David Sansome 847d90d117 Add a "Switch provider" action when there is more than one provider for a search result 2011-09-19 00:29:09 +01:00
David Sansome 334ecd3c38 Add an inner border to the tooltip 2011-09-18 23:41:25 +01:00
David Sansome e10efbc484 Make "Add and play now" work 2011-09-18 23:26:21 +01:00
David Sansome b45c5a866e Make the tooltip actions work properly by click and shortcut key, add a pretty mouseover animation to the tooltip actions, pass mouse events through to the proper widget when the tooltip is open. 2011-09-18 23:07:57 +01:00
David Sansome 7ec059dc13 Add a tooltip action widget (actions don't work yet) 2011-09-18 17:43:53 +01:00
David Sansome 2a97a63719 Prettier global search tooltip 2011-09-18 16:00:04 +01:00
David Sansome 4ac16f0dd4 Add a "tooltip" that shows the songs within each album in the global search results 2011-09-18 00:06:07 +01:00
David Sansome 02f2d5dc88 Combine similar search results 2011-09-17 17:42:14 +01:00
David Sansome 4065037aba Show a big track count indicator and provider icons in global search results 2011-09-17 16:21:08 +01:00
David Sansome 9e8b29c86a Get track counts for Spotify albums 2011-09-17 15:57:34 +01:00
David Sansome d5f043f2c0 Scale the nocover image properly 2011-09-17 15:28:26 +01:00
David Sansome 401700822d Paint the second line of search results in the same colour, increase spacing slightly 2011-09-17 15:24:46 +01:00
David Sansome 9596377de1 Make the popup bigger by default, but shrink it if it would go off the screen 2011-09-17 15:12:00 +01:00
David Sansome 61b3493c01 Fix the selected text color in the global search popup 2011-09-17 15:03:56 +01:00
David Sansome d9533fca26 Don't hide the popup when pressing enter, and show it again when re-focusing the search box 2011-09-17 14:23:44 +01:00
David Sansome 02257d8b37 Adjust the global search widget's style a bit 2011-09-17 14:04:57 +01:00
John Maguire 0da6a4f1ca Tidy up use of mac_psn. 2011-09-16 16:27:31 +02:00
John Maguire 55fc18fcc7 Improve the behaviour of the search popup on Mac. 2011-09-16 15:48:21 +02:00
John Maguire cc522cab7b Clear the global search box after tracks have been selected. 2011-09-01 16:30:56 +01:00
John Maguire 551a85cb9b Add missing copyright headers. 2011-09-01 16:07:07 +01:00
John Maguire 2dc7c3ea8e Hook up the popup's buttons to the Player. 2011-09-01 15:56:56 +01:00
John Maguire ee9b9501ed Remove global search popup frame and show on top when triggered. 2011-09-01 15:41:47 +01:00
John Maguire 914eb59215 Make searching and adding work from global search popup. 2011-09-01 15:10:36 +01:00
John Maguire c2d68fd697 Basic search popup triggered by a global shortcut. 2011-09-01 14:23:16 +01:00
David Sansome 5aca9b7984 Support for playing tracks from Spotify 2011-08-29 03:32:50 +01:00
David Sansome c1041ed6d4 Support for playing tracks from local library 2011-08-29 03:32:41 +01:00
David Sansome 21be90a941 Change spotify protobuf namespace to something that isn't reserved, and do album loading in spotify 2011-08-29 03:32:37 +01:00
David Sansome 5dc053827a Fix spotify image loading 2011-08-29 03:32:35 +01:00
David Sansome c96d402f26 Add a flag that search providers can set to indicate they want one art request at a time 2011-08-29 03:32:17 +01:00
David Sansome 1d2c142fdc Key delayed searches on timer id - more efficient for the common case 2011-08-29 03:31:49 +01:00
David Sansome dbffe16d04 Add a flag that search providers can set to indicate they want some delay between user input and being asked to search 2011-08-29 03:31:19 +01:00
David Sansome 8dea8a2664 Add a spotify global search provider 2011-08-29 03:31:12 +01:00
David Sansome dbe8ffd5de Try to sort by "quality", ie. matches at the start of the song metadata rate higher. 2011-08-29 03:30:32 +01:00
David Sansome 415c86ab90 Increase the border size 2011-08-29 03:30:22 +01:00
David Sansome 2c954a5d4a Cache pixmaps for album art 2011-08-29 03:30:14 +01:00
David Sansome cd44c47f7b Sort the results in the popup list, prevent the user from searching for short strings 2011-08-29 03:29:51 +01:00
David Sansome 0f9d2d29bb Minor UI tweaks 2011-08-29 03:29:04 +01:00
David Sansome 9370657b50 Started work on a global search for library, with album art.
The idea is that there's a single place to search for music, and it doesn't matter where it is, Clementine will find something playable.
2011-08-29 03:27:47 +01:00