I want paint some circle by press the mouse button.
Qt Code:
{ if (event->button() == Qt::LeftButton) { show = true; } } { if (show) paintCircle1(painter); }To copy to clipboard, switch view to plain text mode
It works...
...but my plan/problem is: if i press mouse button 2nd time, then paint 2nd circle, to third press clear the whole widget - I don't know how to do it!
PS.: sorry for my english...
Bookmarks