diff options
Diffstat (limited to 'examples/Main.qml')
| -rw-r--r-- | examples/Main.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/Main.qml b/examples/Main.qml new file mode 100644 index 0000000..ed85a81 --- /dev/null +++ b/examples/Main.qml @@ -0,0 +1,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++ + } + } +} |
