[Qgis-developer] Lineedit with clear button

Tim Sutton lists at linfiniti.com
Fri Nov 2 11:57:11 PDT 2012


Hi

On Fri, Nov 2, 2012 at 2:18 PM, Etienne Tourigny
<etourigny.dev at gmail.com> wrote:
> Somewhat related - I have some code to add simple filtering to the
> browser dock.
>
> 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?
>

+1 for both the widget and the dock enhancements from me!

Regards

Tim

> cheers
> Etienne
>
> 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>
>> 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
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list