Moving from SDL to qt for graphics

I'm fairly used to the paradigm in SDL of changing the location of an object and then redrawing everything.

Is this the same in Qt?

At the moment I have a QDialog where I'm using Qpainter to draw objects but I can't find out how to redraw both the background (dialog window) and the object ( a rect).

Any help would be great!
I'm not too familiar with Qt, but maybe QWidget::update http://qt-project.org/doc/qt-4.8/qwidget.html#update-3
Thanks for sharing knowledge.
http://www.editableclips.com/
Topic archived. No new replies allowed.