PDA

View Full Version : qt paintEvent



lzpmail
1st April 2011, 03:18
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

tbscope
1st April 2011, 06:21
You can call any function you like from within the paintEvent() function.
Be careful not get in an endless loop though.

lzpmail
1st April 2011, 14:13
ok, thank you