summaryrefslogtreecommitdiff
path: root/examples/Main.qml
blob: ed85a81f8d2a04c3db49b3837fb8ba544e0942fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import QtQuick
import QtQuick.Controls

ApplicationWindow {
    visible: true
    width: 320
    height: 200
    title: "Hello PySide6 Quick"

    property int count: 0

    Column {
        anchors.centerIn: parent
        spacing: 12

        Text {
            text: "Clics : " + count
            anchors.horizontalCenter: parent.horizontalCenter
        }

        Button {
            text: "Cliquer"
            onClicked: count++
        }
    }
}