PDA

View Full Version : How can clone custom QGraphicsItem



Malloc
7th May 2010, 08:08
Dear all
this is the first time that I write in this forum, and then sorries for my English.
I've a question about QGraphicsItem. I'm making a custom qt creator widget that is able to create a custom graphics item, but I want give to it a list with somethings like a prototypes of custom items.
Is there a method that I can use to clone an item based to QGraphicsItem?
I'm searching into qt documentation but in QGraphicsItem there isn't a methods like clone or copy item.

Thanks a lot
Antonio