[Qgis-developer] Lineedit with clear button
Alexander Bruy
alexander.bruy at gmail.com
Fri Nov 2 04:11:08 PDT 2012
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
More information about the Qgis-developer
mailing list