Changed from QGraphicsView to QWidget