Arnaud Bienner
fe7bc917de
Check if Mac QSearchField has focus before handling the notification.
...
Otherwise, playlist's search field will always handle those shortcuts, and they won't work anywhere else on the same window.
Fixes #3320 .
2015-03-14 01:55:46 +01:00
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
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
887cc0c2c8
Make mac compile again.
2012-07-05 13:57:58 +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