[PyQt] Can QLineEdit do this?

simozack simozackml at gmail.com
Wed May 9 08:25:40 BST 2012


2012/5/1 zw g <pekingmaster at gmail.com>

> Dear List,
>
>
> Is there any method to customize QtGui.QLineEdit widget or other more
> suitable widget to make it like *the search box of iTunes*?
>
> I would like to achieve the effect like that, with *a magnifier icon*(and
> *a drop down arrow*)in font of the search text area.
> When you click on the *icon*, it will pop up a menu which let you narrow
> the search range.
>
> The following picture demos what i exactly want it to be:
>
>
You can take a look at my EvolutionSearch.py on my pyqtexamples little repo:
https://bitbucket.org/simozack/pyqtexamples/src

HTH,
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120509/1fadec12/attachment-0001.html>


More information about the PyQt mailing list