Calls!
This commit is contained in:
committed by
Tobias Fella
parent
f153e57fdb
commit
ddc16a17d2
36
src/qml/LivekitLogViewer.qml
Normal file
36
src/qml/LivekitLogViewer.qml
Normal file
@@ -0,0 +1,36 @@
|
||||
// SPDX-FileCopyrightText: 2023 Tobias Fella <tobias.fella@kde.org>
|
||||
// SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Controls as QQC2
|
||||
|
||||
import org.kde.kirigami as Kirigami
|
||||
|
||||
import org.kde.neochat
|
||||
|
||||
Kirigami.ApplicationWindow {
|
||||
id: root
|
||||
|
||||
title: i18nc("@title", "Livekit logs")
|
||||
|
||||
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||
title: i18nc("@title", "Livekit logs")
|
||||
TableView {
|
||||
id: messageList
|
||||
width: root.width
|
||||
model: LivekitLogModel
|
||||
alternatingRows: true
|
||||
delegate: QQC2.ItemDelegate {
|
||||
id: messageDelegate
|
||||
|
||||
required property string message
|
||||
width: parent.width
|
||||
|
||||
contentItem: QQC2.Label {
|
||||
text: messageDelegate.message
|
||||
wrapMode: QQC2.Label.Wrap
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user