5b213e6144
Summary: - Allow filter box to handle keystrokes passed to the ListView - This is a little cheesy, but fixes T8341 - Pin filter box to always be visible - Clear filter on Esc Test Plan: - Try typing a contact you would like to search for - Before: Every time you type a new letter, the filter box would lose focus and you would have to click it to give it focus again - Now: You can type smoothly - Try scrolling the list - Before: The filter box disappeared off the top of the screen - Now: The filter box is always visible - Try pressing escape - Before: Nothing - Now: Filter clears - Bonus: When using the arrow keys to navigate, before the filter was manually handling those and the view would not loop. Now, the view loops if you try to select an item past the beginning or end (Easiest to see with highlighting from D17612) Reviewers: #kde_connect, apol Reviewed By: #kde_connect, apol Subscribers: kdeconnect Tags: #kde_connect Maniphest Tasks: T8341 Differential Revision: https://phabricator.kde.org/D17614 |
||
---|---|---|
.. | ||
qml | ||
CMakeLists.txt | ||
conversationlistmodel.cpp | ||
conversationlistmodel.h | ||
conversationmodel.cpp | ||
conversationmodel.h | ||
main.cpp | ||
org.kde.kdeconnect.sms.desktop | ||
resources.qrc |