[Qgis-developer] Lineedit with clear button

Nathan Woodrow madmanwoo at gmail.com
Fri Nov 2 04:24:19 PDT 2012


Hey Alex,

No objections from me.  Was planning on doing something along those lines
in the future myself.

- Nathan


On Fri, Nov 2, 2012 at 9:11 PM, Alexander Bruy <alexander.bruy at gmail.com>wrote:

> Hi all,
>
> there are several dialogs in QGIS where we have filters, for example
> Expression builder, Style manager, Plugin manager etc. This is great
> feature, but to remove a filter one has to erase text (select it with
> mouse and press Del or using Backspace).
>
> I think it is much better to provide small button to clear filter. So I've
> implemented new widget QgsFilterLineEdit that provides lineedit with
> builtin clear button. You can find screenshots here:
>  - without text [0]
>  - with text [1]
>
> If there are no objections I can push code to master.
>
> BTW, there is also similar ticket in SEXTANTE tracker [2]
>
> [0] http://gis-lab.info/share/alexbruy/without_text.png
> [1] http://gis-lab.info/share/alexbruy/with_text.png
> [2] http://hub.qgis.org/issues/5695
>
> Thanks
> --
> Alexander Bruy
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121102/320380fe/attachment-0001.html>


More information about the Qgis-developer mailing list