On Tuesday 13 July 2010 18:29:48 Alhola Kate (Nokia-CD/Helsinki) wrote: > Is there some extra property that need to be set compared traditional > c++ QGraphicsView items to get it displayed in Qml ? I tested that if I > just add my widget to normal QGraphicsScene, it gets displayed and both > paint() and boundingRect() get called.
I've run into this myself; setting setFlag(QGraphicsItem::ItemHasNoContents, false); in your item's constructor should do it. Cheers, Christian _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
