1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import Qt 4.7 //![0] Rectangle { width: 100; height: 100 color: "yellow" Rectangle { anchors.fill: parent anchors.margins: 10 clip: true Rectangle { anchors.fill: parent border.width: 1 } } } //![0]