i want to draw a wave, but i don't want draw in the paintEvent(), so i want to know how to draw graph in myself defined function. thank you
i want to draw a wave, but i don't want draw in the paintEvent(), so i want to know how to draw graph in myself defined function. thank you
You can call any function you like from within the paintEvent() function.
Be careful not get in an endless loop though.
ok, thank you
Bookmarks