import QtQuick import QtQuick.Controls ApplicationWindow { visible: true width: 360 height: 640 title: "Hello Luci4" Rectangle { id: box color: "skyblue" anchors.fill: parent Column { anchors.centerIn: parent spacing: 16 Button { text: "Change Colour" onClicked: { controller.changeColour() box.color = "lightgreen" } } Label { text: controller.status } } } }