import Qt 4.7 QGraphicsView { objectName: "view" width: 300 height: 300 scene: QGraphicsScene { objectName: "scene" } }