Hi All,

I am developing a graphics editor where I draw a polygon on the QGraphicsScene from a polygon class derived from QGraphicsItem. I use the painter->drawLine() to connect all the points to draw the polygon in the paint().

The co-ordinates are saved in my struct which has other properties in addition to the points. Now I need to copy and paste the polygon on the scene. I am picking up bits and pieces of QClipboard, QMimeData and QVariant, but I am yet to figure how best I can utilized these classes for my purpose. Am I heading in the right direction? Some pointers will be really helpful.

Thanks in advance.