1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 00:09:14 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Arnaud Bienner
fad0ccc8c6 Fix a crash that will sometime occur on exit on Mac, caused by my recent changes 2015-03-14 01:38:03 +01:00
Arnaud Bienner
c62f2c7f4d Make QSearchField behaves like other QWidget on Mac. Some events weren't sent for this widget, and escape and return weren't working. This prevents the 'Did you mean' widget to work correctly 2015-02-23 00:01:07 +01:00
Arnaud Bienner
985568d4c1 Use actual characters instead of keycode
While keycode are "hardware independent" they don't take into account keyboard layout (e.g. 'q' keycode would actually be 'a' on an AZERTY keyboard)
Fixes issue #4708
2015-02-09 20:45:09 +01:00
John Maguire
20031870df Support keyboard shortcuts in Mac search fields.
Fixes issue #994
2012-07-23 18:17:31 +02:00
David Sansome
3ca45f8100 Make the new non-mac search fields look the same as the old LineEdit
based search fields.
2012-07-15 16:58:13 +01:00
Arnaud Bienner
cb1f82d12f Remove qsearchfield_nonmac.png on 3rparty directory, as it's not used since revision 66a92ae909 2012-07-14 16:17:23 +02:00
Arnaud Bienner
2c301cde0f Move the search field button to the left, and always display it 2012-07-14 16:10:41 +02:00
John Maguire
501baa6597 Support setFocus on Mac QSearchField. 2012-07-12 18:48:47 +02:00
John Maguire
facf8ac142 Forward setFocus() in QSearchField. 2012-07-12 16:51:11 +02:00
John Maguire
6b87318710 Revert "Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField"
This reverts commit 59517f5b4e.

Update issue 3047
Status: Accepted
Breaks the mac build. We should do a proper fix for this.
2012-07-12 14:04:29 +02:00
Arnaud Bienner
59517f5b4e Typedef QSearchField to old LineEdit on non Mac, and make it compatible with QSearchField
Fixes issue 3047. (for now)
2012-07-10 00:44:05 +02:00
John Maguire
887cc0c2c8 Make mac compile again. 2012-07-05 13:57:58 +02:00
Arnaud Bienner
c57f58862f Forward some events from QSearchField's internal lineEdit to QSearchField, so we can be aware of some events (like getting/losing focus).
Implemented for non-mac; something certainly still needs to be done for Mac
2012-07-02 00:49:37 +02:00
John Maguire
4c55ed9e94 Actually selectAll() on a Qt search field. 2012-06-28 15:17:12 +02:00
John Maguire
915ad6233c Remove duplicate Qt check in Qocoa. 2012-06-28 13:19:36 +02:00
John Maguire
c1def8bb26 Fix compilation of QSearchField in Qt 4.6 2012-06-28 13:17:51 +02:00
John Maguire
1ebca65c0b Fix QSearchField on non-mac. 2012-06-28 12:50:32 +02:00
John Maguire
e928ac0349 Support selectAll() in QSearchField. 2012-06-28 12:27:32 +02:00
John Maguire
1e620321a3 Add support for returnPressed() signal to QSearchField. 2012-06-28 11:40:18 +02:00
John Maguire
6208373b86 Port search field in AlbumCoverManager to QSearchField and add support for placeholder text. 2012-06-28 11:40:05 +02:00
John Maguire
569c8295db Add qocoa and use it for the playlist search field. 2012-06-28 11:39:43 +02:00