summaryrefslogtreecommitdiff
path: root/Main.qml
blob: 380da631aa6f4cc4fd775463c8f28ac1dfc19350 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.0
import org.yachat.app 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:
    {
        Yc.init()
    }
}