C++ (Qt)Myscene= new MvScene;Myscene->setSceneRect(QRectF(0, 0, 1000,1000));ui.graphicsView->setScene(Myscene);