[PySide] search widget

Frank Rueter | OHUfx frank at ohufx.com
Thu Jun 7 08:27:56 CEST 2012


Oh cool, would love to see what it does, but QtCore.QStringList() isn't 
valid in my version of PySide it would seem.
Is there a quick fix?

Anyway, it's late here, I will have a closer look tomorrow. Thanks heaps 
for the example!

frank

On 7/06/12 6:23 PM, simozack wrote:
> 2012/6/7 Frank Rueter | OHUfx<frank at ohufx.com>:
>> quick question for the more experienced:
>> Is there a core widget for text search? I'm after pretty something that
>> looks pretty much like this one (at the top):
>> http://farm5.static.flickr.com/4042/4574583703_f7be03c653.jpg
> Some time ago, I wrote something like that. You can find it here:
> https://bitbucket.org/simozack/pyqtexamples/src/f037651e8406/EvolutionSearch.py
>
> It uses the completion facility of the qt framework for searching text
> inside a list of value and it has a callback function you can use to
> do something with the value selected, a delay parameter to make the
> callback function more or less responsive.
>
> It was developed with pyqt, but I think there's no problem to use it
> with pyside.
>
> HTH,
> Simone



More information about the PySide mailing list