Hey Alex,<div><br></div><div>No objections from me.  Was planning on doing something along those lines in the future myself.  </div><div><br></div><div>- Nathan</div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Fri, Nov 2, 2012 at 9:11 PM, Alexander Bruy <span dir="ltr"><<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all,<br>
<br>
there are several dialogs in QGIS where we have filters, for example<br>
Expression builder, Style manager, Plugin manager etc. This is great<br>
feature, but to remove a filter one has to erase text (select it with<br>
mouse and press Del or using Backspace).<br>
<br>
I think it is much better to provide small button to clear filter. So I've<br>
implemented new widget QgsFilterLineEdit that provides lineedit with<br>
builtin clear button. You can find screenshots here:<br>
 - without text [0]<br>
 - with text [1]<br>
<br>
If there are no objections I can push code to master.<br>
<br>
BTW, there is also similar ticket in SEXTANTE tracker [2]<br>
<br>
[0] <a href="http://gis-lab.info/share/alexbruy/without_text.png" target="_blank">http://gis-lab.info/share/alexbruy/without_text.png</a><br>
[1] <a href="http://gis-lab.info/share/alexbruy/with_text.png" target="_blank">http://gis-lab.info/share/alexbruy/with_text.png</a><br>
[2] <a href="http://hub.qgis.org/issues/5695" target="_blank">http://hub.qgis.org/issues/5695</a><br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">--<br>
Alexander Bruy<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></span></blockquote></div><br></div>