import Qt 4.7 Rectangle { id: page width: 500; height: 200 color: "lightgray" Text { id: helloText text: "Hello QML with PySide!" y: 40 anchors.horizontalCenter: page.horizontalCenter font.pointSize: 24 font.bold: true } }