An action was added to Archive menu. The search is mediated through KRecursiveFilterProxyModel instead of QSortFilterProxyModel because the latter does not recurse nested models. This adds a new dependency on the KItemModels framework.
The search bar is displayed above the QTreeView and contains a close button. An eventfilter was installed on Part to catch the escape keypress to close the search bar.
Things to consider:
- The filter is currently always case insensitive. Do we want to add a button to switch between case insensitive/sensitive?
- Should the Find action be present on the default toolbar?
Fixes bug 188197.