<div>In PyQt4, this is often solved by placing an underscore after the method.. like QDialog.exec_() and QWidget.raise_()</div><div><br></div>Documentation: <a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwidget.html#raise">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwidget.html#raise</a><div>

<br></div><div><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 7:06 PM, Anshul Jain <span dir="ltr">&lt;<a href="mailto:aj.phoenixter@gmail.com">aj.phoenixter@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I just tried using raise(). but it&#39;s alredy a keyword in python!! how to use it?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 9:36 PM, Anshul Jain <span dir="ltr">&lt;<a href="mailto:aj.phoenixter@gmail.com" target="_blank">aj.phoenixter@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you just give me an example on how to use this?<br>Thanks for your reply.<div><div></div><div><br><br> <br>
<br><div class="gmail_quote">On Tue, Apr 13, 2010 at 3:46 AM, Nick Gaens <span dir="ltr">&lt;<a href="mailto:mail@nickgaens.com" target="_blank">mail@nickgaens.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Try to call raise() on the widget.<br>
<br>
<a href="http://doc.trolltech.com/4.6/qwidget.html#raise" target="_blank">http://doc.trolltech.com/4.6/qwidget.html#raise</a><br>
<div><div></div><div><br>
<br>
On 12/04/2010 23:33, Anshul Jain wrote:<br>
&gt; Hello<br>
&gt;<br>
&gt; I&#39;m trying to implement drag and drop and also trying to display a<br>
&gt; label/LineEdit on my image. But the problem is that whenever i&#39;m dragging<br>
&gt; and dropping my image and using the label.move(x,y) to move the label to<br>
&gt; appropriate position it gets hidden behind the image. :(<br>
&gt;<br>
&gt; How can i fix this up. I am also attaching the code. Please tell me what<br>
&gt; should i do.<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Anshul<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
&gt; <a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
<br>
- --<br>
- -- Nick Gaens<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (MingW32)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJLw5uyAAoJEHryXS9yfz/RoO0H/1YxvmWs/0n5tStAFLtT2EHI<br>
W7RF+/4gX9Yi0YG1qowTg2Cuxa5zg8wx298CgLpGMQ4m0iF09wBJxszJhWtbo74A<br>
pfeLVNWR/pY9Ps/G/OeS0OgxW0KiTlOy9GO7V1HG9WyhC4KsYXRD1Xqq50jYLuOO<br>
8XObYKSzAL2UAxAdxPK/f9H1sJtJY4ASsSe5Q5Kq6L+6gCs4dbeCU/KfMqc+uJaK<br>
fzUXzqsk65ahk03QbA2sAtWXi3098igOMhSizl26OpKi8LG8bpuxHGLUurB3uLhc<br>
a1l0Vd7MzXOuapqM0YfSCU9oN3CAtglOt+HOhWOswot+ICWMDK8OXTDgFW4lr+s=<br>
=Xb21<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>NSIT B.E. student (Computers)<br><a href="http://anshul.pcunified.com" target="_blank">http://anshul.pcunified.com</a><br><a href="http://pcunified.com" target="_blank">http://pcunified.com</a><br>



</font></blockquote></div><br><br clear="all"><br>-- <br>Nick Gaens<br>
</div>