I suggest you simply use QGraphicsItemGroup instead of your SQUARE implementation. If you want to stay with your current approach, you have to implement those methods, even if their implementation is empty (boundingRect returning [0,0] and empty paint).


aint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
Reply With Quote



Bookmarks