I think I store all my questions about QGraphicsView in this thread.

First problem, I have a class Planet that is subclassedfrom GraphicsItem and I have this to draw it

Qt Code:
  1. void Planet::paint(QPainter* painter, QStyleOptionGraphicsItem* option,QWidget* widget)
  2. {
  3. painter->setBrush(QColor(Qt::red));
  4. painter->drawEllipse(x,y,2*radius,2*radius);
  5. }
To copy to clipboard, switch view to plain text mode 

but all I get is a black circle on a white background. And the view isn't updated very much. How do I draw the ellipse and how do I update it more often?