[Qt-interest] hiding items from QGraphicsView

Deepak Chandran dchandran1 at yahoo.com
Wed Mar 17 22:58:17 CET 2010


I have an application in which I want multiple views of the the same QGraphicsScene, but I want some items to be hidden in some of the views. Before Qt 4.6, I was using the drawItems method in QGraphicsView to customize what items to show or hide. In Qt 4.6, it is still possible to use drawItems, but it is not "recommended". What is the cleanest way to customize drawing of items for individual views in Qt 4.6?

Thanks.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100317/0ef069e7/attachment.html 


More information about the Qt-interest-old mailing list