[Qgis-developer] Lineedit with clear button
etourigny.dev at gmail.com
Fri Nov 2 05:18:19 PDT 2012
Somewhat related - I have some code to add simple filtering to the
This allows to select certain file names and/or extensions using a
simple wildcard pattern.
The filter box can be shown/hidden with a control so it doesn't
interfere with the browser dock size.
Is it worth including in master, using this new widget?
On Fri, Nov 2, 2012 at 9:24 AM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> 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>
>> 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 
>> - with text 
>> If there are no objections I can push code to master.
>> BTW, there is also similar ticket in SEXTANTE tracker 
>>  http://gis-lab.info/share/alexbruy/without_text.png
>>  http://gis-lab.info/share/alexbruy/with_text.png
>>  http://hub.qgis.org/issues/5695
>> Alexander Bruy
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer