[PySide] search widget
simozack
simozack at yahoo.it
Thu Jun 7 08:23:03 CEST 2012
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