Warning, /network/neochat/src/qml/EmojiItem.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 property string emoji 0015 property string description 0016 0017 QQC2.Label { 0018 id: emojiLabel 0019 x: 0 0020 y: 0 0021 width: parent.width 0022 height: parent.height * 0.75 0023 verticalAlignment: Text.AlignVCenter 0024 horizontalAlignment: Text.AlignHCenter 0025 0026 text: root.emoji 0027 font.family: "emoji" 0028 font.pointSize: Kirigami.Theme.defaultFont.pointSize * 4 0029 } 0030 QQC2.Label { 0031 x: 0 0032 y: parent.height * 0.75 0033 width: parent.width 0034 height: parent.height * 0.25 0035 text: root.description 0036 verticalAlignment: Text.AlignVCenter 0037 horizontalAlignment: Text.AlignHCenter 0038 } 0039 }