1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00
ScreenPlay/Content/wallpaper_qml/main.qml
Elias Steurer e327f73812 Fix all formatting scripts and format files
They default to format but also can be used
for checking
2023-08-20 11:59:02 +02:00

28 lines
656 B
QML

// SPDX-License-Identifier: BSD-3-Clause
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import QtQuick.Controls.Material
Rectangle {
id: root
color: "#333333"
anchors.fill: parent
property int counter: 0
ColumnLayout {
anchors.centerIn: parent
Text {
Layout.fillWidth: true
color: "white"
font.pointSize: 14
text: "🎉 Qml Button clicked: " + root.counter
horizontalAlignment: Text.AlignHCenter
}
Button {
text: "Click me!"
Layout.fillWidth: true
onClicked: root.counter++
}
}
}