Hi together, so I got a little problem.

I got a webcam, and the with many other tutorials I managed to convert its OpenCv Image to an QImage. For displaying it to the desktop I use a GraphicsView.
The QImage gets put into a QGraphicsScene, and this finally gets showed in the GraphicsView.
A QTimer which is activated every 100ms, catchs a Image from the Wcam, transfers it to a QImage. And then it gets showed.
But now the Problem is that the picture in the viewer isn't fluid. The transfering from OpenCv to QImage isnt a problem. I think theres a problem with updating the qimage,scene or viewer.

out of CameraCalibrator.cpp
Qt Code:
  1. bool CameraCalibrator::refreshImage()
  2. {
  3. IplImage* img = mCam->grab();
  4. if (img)
  5. {
  6. mScene->addPixmap(QPixmap::fromImage(IplImageToQImage(img)));
  7. mScene->update(0,0,mScene->width(),mScene->height());
  8. return true;
  9. }
  10. return false;
  11. }
  12.  
  13. bool CameraCalibrator::Connect()
  14. {
  15. mCam->vrmLogger();
  16. if (mCam->connect())
  17. {
  18. IplImage* iImage = mCam->grab();
  19. mScene = new QGraphicsScene(this);
  20. mScene->addPixmap(QPixmap::fromImage(IplImageToQImage(iImage)));
  21. resize(width()+(mScene->width()- mViewer->width()),height()+(mScene->height()-mViewer->height()));
  22. mViewer->setScene(mScene);
  23. mViewer->setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
  24. mActionLoad->setEnabled(true);
  25. mActionSave->setEnabled(true);
  26. mActionMatch->setEnabled(true);
  27. mTimer = new QTimer();
  28. connect(mTimer, SIGNAL(timeout()), this, SLOT(refreshImage()));
  29. mTimer->start(1000/10);
  30. return true;
  31. }
  32. else
  33. {
  34. mActionLoad->setEnabled(false);
  35. mActionSave->setEnabled(false);
  36. mActionMatch->setEnabled(false);
  37. return false;
  38. }
  39. }
To copy to clipboard, switch view to plain text mode 

out of CameraCalibrator.h
Qt Code:
  1. QTimer* mTimer;
  2. QGraphicsView* mViewer;
  3. QGraphicsScene* mScene;
To copy to clipboard, switch view to plain text mode 

These are the two important functions. Does anyone else see the failure?
I really dont get it.