PDA

View Full Version : copying QGraphicsItemGroup



robertson1
22nd June 2008, 23:20
Whats the preferred way to copy a QGraphicsItemGroup so that it can be reused?



QGraphicsItemGroup *newgroup = new QGraphicsItemGroup(*oldgroup);


Can the end result of this be achieved by some other means avoiding subclassing and putting in copy constructors?


Thanks in advance.

Jamie

robertson1
23rd June 2008, 07:48
It's ok, I've done it differently.

Thanks