integrating VTK with QT

Have a look at MinimalQtVTKApp, it uses a button called Randomize.