Hey guys, The Vincent solution was ok! Now it works very fine.
Thank you. Alfredo ----- Original Message ----- From: Vincent Vande Vyvre <vincent.vandevy...@swing.be> To: pyqt@riverbankcomputing.com Cc: Sent: Wednesday, April 11, 2012 12:11 PM Subject: Re: [PyQt] QGraphicsView item select Le 11/04/12 17:00, Andreas Pakulat a écrit : > On 11.04.12 16:13:09, Vincent Vande Vyvre wrote: >> You'll be more easy if you subclass your QGraphicsPixmapItem. >> >> Example: the item can return his index, or name or identifier, etc. > This example will still not emit a selection-change signal so won't help > the OP at all. No idea what you're trying to show here and no idea why > you think its necessary to override standard item behaviour when Qt > already provides the necessary information. The scene has a list of > selected items which can be used in the slot to do something with them. > > Andreas > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > I don't think it's necessary, just it's more easy. -- Vincent V.V. Oqapy <https://launchpad.net/oqapy> . Qarte+7 <https://launchpad.net/qarte+7> . PaQager <https://launchpad.net/paqager> _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt