Hi
I have a QGraphicsView and I am trying to draw the lines on the widget.
Also, I found the following piece of code while browsing. Its in Qt3.
They have a QScrollView and they paint the lines as follows:
They comment the 1st draw clears the previous line and second draws the new line. How does this work? Sorry if its a naive question?painter->drawLine(x1,y1, x2, y2);
change the values of x's and y's
painter->drawLine(x1,y1, x2, y2);
Arjun




Reply With Quote


Bookmarks