1 2 3 4 5 6 7 8 9 10 11 12
import QtQuick 2.0 Loader { width: implicitWidth height: implicitHeight sourceComponent: Rectangle { color: "green" implicitWidth: 240 implicitHeight: 120 } }