Untitled
unknown
plain_text
a year ago
653 B
8
Indexable
import QtQuick 2.15
import QtQuick.Controls 2.15
import CounterModule 1.0
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Counter {
id: tunahan
onJimChanged: {
countLabel.text = "Count: " + tunahan.jim;
}
}
Column {
anchors.centerIn: parent
spacing: 20
Button {
text: "Start Counting"
onClicked: {
tunahan.startCounting();
}
}
Label {
id: countLabel
text: "Count: " + tunahan.jim
}
}
}
Editor is loading...
Leave a Comment