Hi,
I am using QT Scribble example. When we draw using mouse, there is slightly zigzag kind of structure. I want it to be like solidline when i use this. Please help me.
Rgds,
Mythili
Hi,
I am using QT Scribble example. When we draw using mouse, there is slightly zigzag kind of structure. I want it to be like solidline when i use this. Please help me.
Rgds,
Mythili
Then Qt Scribble is not the example for drawing line, you better have a look at Diagram Scene Example
Any way just to answer your post, comment the code in mouseMoveEvent(), and see what happens
Qt Code:
{ // if ((event->buttons() & Qt::LeftButton) && scribbling) // drawLineTo(event->pos()); }To copy to clipboard, switch view to plain text mode
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks