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
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