[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Can QLineEdit do this?
From:       simozack <simozackml () gmail ! com>
Date:       2012-05-09 7:25:40
Message-ID: CAFnaeGL2VQeRV0HQYw0ZssEZUiXNK1Yn5v9m6fArhS-6h=H8Xg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2012/5/1 zw g <pekingmaster@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

[Attachment #5 (text/html)]

<div class="gmail_quote">2012/5/1 zw g <span dir="ltr">&lt;<a \
href="mailto:pekingmaster@gmail.com" \
target="_blank">pekingmaster@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Dear List,<div><br></div><div><br></div><div>Is there any \
method to customize QtGui.QLineEdit widget or other more suitable widget to make it \
like <b>the search box of iTunes</b>?</div><div><br></div><div>I would like to \
achieve the effect like that, with <b>a magnifier icon</b>(and <b>a drop down \
arrow</b>)in font of the search text area.</div>


<div>When you click on the <b>icon</b>, it will pop up a menu which let you narrow \
the search range.</div><div><br></div><div>The following picture demos what i exactly \
want it to be:</div><br></blockquote></div><br>You can take a look at my \
EvolutionSearch.py on my pyqtexamples little repo:<br> <a \
href="https://bitbucket.org/simozack/pyqtexamples/src">https://bitbucket.org/simozack/pyqtexamples/src</a><br><br>HTH,<br>Simone<br>




_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic