Hi, I use: self.scene().removeItem(self) where self is a QGraphicsItem object acting as a parent for quite a large tree of items.
the problem occurs rarely. best regards, Krystian 2007/1/19, Remy Anthoine <[EMAIL PROTECTED]>:
Hi, Which function did you use to "detach" the item from the scene ? On 1/18/07, Krystian Samp <[EMAIL PROTECTED]> wrote: > Hi all, > Has anyone encountered problems with QGraphicsItems remaining on the screen > after they got unattached from a scene? > From time to time one of the items I'm displaying remains. If I list all the > items on the scene ( QGraphicsScene.items) this > item is not present there, so i guess it shouldn't be displayed - > unfortunately it is. Even if I drag another item over the remaining > one it doesn't disappear. What can it be?
_______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
