Warning, /network/neochat/src/qml/Message.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2022 Tobias Fella <tobias.fella@kde.org>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Controls as QQC2
0006 import QtQml
0007 
0008 import org.kde.kirigami as Kirigami
0009 import org.kde.neochat
0010 
0011 Column {
0012     id: root
0013 
0014     required property string icon
0015     required property string text
0016 
0017     anchors.centerIn: parent
0018     Kirigami.Icon {
0019         width: Kirigami.Units.iconSizes.enormous
0020         height: width
0021         anchors.horizontalCenter: parent.horizontalCenter
0022         source: root.icon
0023     }
0024     QQC2.Label {
0025         text: root.text
0026         textFormat: Text.MarkdownText
0027         horizontalAlignment: Text.AlignHCenter
0028     }
0029 }