1 2 3 4 5 6 7 8 9 10 11
import QtQuick 2.12 Item { Rectangle{ gradient: Gradient { GradientStop { position: 0.0; color: "black" } GradientStop { position: 1.0; color: "yellow" } } } }