Qt Code:
  1. connect( timer, SIGNAL( timeout() ), widget, SLOT( update() ) );
To copy to clipboard, switch view to plain text mode 
This will trigger paint event.

Btw I hope that you're not moving your ellipse in the paint event...