aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webchannel/chatclient-qml/MainForm.ui.qml
blob: dadcfed87843ba447455b2af34589fcb46bd439c (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
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (C) 2017 The Qt Company Ltd.
// Copyright (C) 2016 basysKom GmbH, author Bernd Lamecker <bernd.lamecker@basyskom.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Item {
    property alias chat: chat
    property alias userlist: userlist
    property alias message: message

    GridLayout {
        anchors.fill: parent
        rows: 2
        columns: 2

        Text {
            id: chat
            Layout.fillWidth: true
            Layout.fillHeight: true
        }

        Text {
            id: userlist
            width: 150
            Layout.fillHeight: true
        }

        TextField {
            id: message
            height: 50
            Layout.fillWidth: true
            Layout.columnSpan: 2
        }
    }
}