reimplememt the paint widget with QGraphics View Framwork