[PyQt] Drag and drop: Pixmap and lineedit/label problem

Nick Gaens mail at nickgaens.com
Mon Apr 12 23:16:18 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try to call raise() on the widget.

http://doc.trolltech.com/4.6/qwidget.html#raise


On 12/04/2010 23:33, Anshul Jain wrote:
> Hello
> 
> I'm trying to implement drag and drop and also trying to display a
> label/LineEdit on my image. But the problem is that whenever i'm dragging
> and dropping my image and using the label.move(x,y) to move the label to
> appropriate position it gets hidden behind the image. :(
> 
> How can i fix this up. I am also attaching the code. Please tell me what
> should i do.
> 
> 
> Regards
> Anshul
> 
> 
> 
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

- -- 
- -- Nick Gaens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLw5uyAAoJEHryXS9yfz/RoO0H/1YxvmWs/0n5tStAFLtT2EHI
W7RF+/4gX9Yi0YG1qowTg2Cuxa5zg8wx298CgLpGMQ4m0iF09wBJxszJhWtbo74A
pfeLVNWR/pY9Ps/G/OeS0OgxW0KiTlOy9GO7V1HG9WyhC4KsYXRD1Xqq50jYLuOO
8XObYKSzAL2UAxAdxPK/f9H1sJtJY4ASsSe5Q5Kq6L+6gCs4dbeCU/KfMqc+uJaK
fzUXzqsk65ahk03QbA2sAtWXi3098igOMhSizl26OpKi8LG8bpuxHGLUurB3uLhc
a1l0Vd7MzXOuapqM0YfSCU9oN3CAtglOt+HOhWOswot+ICWMDK8OXTDgFW4lr+s=
=Xb21
-----END PGP SIGNATURE-----


More information about the PyQt mailing list