diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-01-29 22:23:13 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-03 16:26:52 +0100 |
| commit | 2a237ac200a60daab490b0e1339a385bcc817d8c (patch) | |
| tree | b565f43014122eb92f4d4f7c5da8b8a48ddeb2bb /Main.qml | |
| download | yachat6-2a237ac200a60daab490b0e1339a385bcc817d8c.tar.gz | |
First commit
Diffstat (limited to 'Main.qml')
| -rw-r--r-- | Main.qml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Main.qml b/Main.qml new file mode 100644 index 0000000..71472a3 --- /dev/null +++ b/Main.qml @@ -0,0 +1,40 @@ +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Controls 2.0 +import QtQuick.Layouts 1.0 +import org.yachat.lib 1.0 + +ApplicationWindow +{ + id: window + width: 320 + height: 240 + visible: true + title: qsTr("Yet Another Chat Client") + + Transition + { + from: "*" + to: "*" + NumberAnimation + { + duration: 1000 + } + } + + StackView + { + id: stack + anchors.fill: parent + initialItem: ContactList {} + } + + Component.onCompleted: + { + Test.awesome = true; + Test.updateAwesomeness(true); + console.log("awesome is ", Test.isAwesome); + Test.updateAwesomeness(false); + console.log("awesome is ", Test.isAwesome); + } +} |
