Reviewing merge request #40: Inlusive filter in Project ManagerView plugin
It is a simple implementation of inclusive filter in Project ManagerView plugin, the
second shot :)
- Added KLineEdit on ProjectManager form above project tree
- Implement filtering in ProjectProxyModel controlled by a string
Filter string is handled as a space-separated wildcard expressions like '*.c *.h *.cpp CMake*'.
File matches to filter is it matches any of pattern.
There is a special case of filter string: single pattern without special chars like *,?
In this case prefixed filtering is enforced. For instance, pattern 'qwerty' is handled as 'qwerty*' wildcard expression.
Commits that would be merged:
Comments
merged into master, thanks. I also did some cleanup, please look at these followup patches:
commit 95cc3bb2a752c5163c7af0aefb6ead493c03568a
Author: Milian Wolff mail@milianw.de
Date: Sat Nov 20 17:26:58 2010 +0100
code cleanup and return early when we don't have to filter anything
commit c30ec3c565542b9d150031c34b5656d91260ea16
Author: Milian Wolff mail@milianw.de
Date: Sat Nov 20 17:21:51 2010 +0100
set click message on new filter lineedit
commit 70ab64950788be74f82653ece0922ff1a84d4ac8
Author: Milian Wolff mail@milianw.de
Date: Sat Nov 20 17:16:12 2010 +0100
set dynamic sort filter, don't do that customly
commit 0c28f55d5eaae81bca41b0308c7421469be95986
Author: Milian Wolff mail@milianw.de
Date: Sat Nov 20 17:13:50 2010 +0100
--debug


Add a new comment:
Login or create an account to post a comment