replace viewer with qgraphicsview