[Qt-interest] How Can I Paint on QGraphicsView

Eckhard Jokisch e.jokisch at orange-moon.de
Mon Aug 17 12:04:27 CEST 2009


On Monday 17 August 2009 10:57:33 Sujan Dasmahapatra wrote:
> Dear Friends
> How can I draw on the QGraphicsView using a QPainter, I want to draw
> continuously on the view when user Press mouse till Release mouse.
> I tried to implement paintEvent() method but that can be used for widget
> painting and not QGraphicsView.
> Any other means are there to paint on the QGraphicsView ?? Please help me
Not at all.
"The QGraphicsView class provides a widget for displaying the contents of 
a QGraphicsScene. More..."

Guess whre I found this quote. You have 3 tries ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090817/d7daac21/attachment.html 


More information about the Qt-interest-old mailing list