1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import QtQuick 2.9 import QtQuick.Controls 2.4 Rectangle { anchors.fill: parent; anchors.topMargin: 40; Image { source: "qrc:/assets/img/bird.jpg"; fillMode: Image.PreserveAspectCrop; anchors.fill: parent; opacity: 0.8; } }