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

0001 // SPDX-FileCopyrightText: 2023 James Graham <james.h.graham@protonmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003 
0004 import QtQuick
0005 import QtQuick.Controls as QQC2
0006 import QtQuick.Layouts
0007 
0008 import org.kde.kirigami as Kirigami
0009 
0010 import org.kde.neochat
0011 
0012 QQC2.ToolBar {
0013     id: root
0014 
0015     /**
0016      * @brief The connection for the current user.
0017      */
0018     required property NeoChatConnection connection
0019 
0020     padding: 0
0021 
0022     background: Rectangle {
0023         color: Kirigami.Theme.backgroundColor
0024         Kirigami.Theme.colorSet: Kirigami.Theme.Window
0025         Kirigami.Theme.inherit: false
0026     }
0027 
0028     contentItem: ColumnLayout {
0029         spacing: 0
0030         Kirigami.Separator {
0031             Layout.fillWidth: true
0032         }
0033         UserInfo {
0034             bottomEdge: true
0035             connection: root.connection
0036         }
0037     }
0038 }