[PyQt] Can QLineEdit do this?

zw g pekingmaster at gmail.com
Tue May 1 05:39:53 BST 2012


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:

[image: Inline image 4]


Any suggestion would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120501/0ae2b4f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iTunes search box.png
Type: image/png
Size: 16748 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120501/0ae2b4f7/attachment-0001.png>


More information about the PyQt mailing list