import Qt 4.7 import "content" Rectangle { color: "white" width: 400; height: 250 //![0] Switch { anchors.centerIn: parent; on: false } //![0] }