how to Draw Line In Graphic View?
Hello,
i have a GraphicView in my application that this graphicview have a picture
and i want to draw line on the picture and erase the line,or reload pic to erase lines
i read The QgraphicView & Qpaint Class Documentation But i dont know how
i do must that!
What i must do?
Can any buddy Write a simple and sample code for me?
Thanks
Re: how to Draw Line In Graphic View?
Checkout the "Diagramscene" example available in Qt. This example shows how to draw a line using mouse.
Re: how to Draw Line In Graphic View?
Thanks but That Example do not tech how to draw line
just show how to draw shape!
Re: how to Draw Line In Graphic View?