Warning, /plasma/plasma-firewall/kcm/ui/About.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0002 // SPDX-FileCopyrightText: 2018 Alexis Lopes Zubeta <contact@azubieta.net>
0003 // SPDX-FileCopyrightText: 2020 Tomaz Canabrava <tcanabrava@kde.org>
0004 // SPDX-FileCopyrightText: 2023 ivan tkachenko <me@ratijas.tk>
0005 
0006 import QtQuick
0007 import QtQuick.Controls as QQC2
0008 import QtQuick.Layouts
0009 import org.kde.kirigami as Kirigami
0010 
0011 import org.kcm.firewall
0012 
0013 Kirigami.OverlaySheet {
0014     id: root
0015 
0016     // Name of backend module
0017     property string name
0018 
0019     // Version of backend module
0020     property string version
0021 
0022     focus: true
0023 
0024     header: Kirigami.Heading {
0025         text: i18n("About Firewall")
0026     }
0027 
0028     Kirigami.FormLayout {
0029         Layout.preferredWidth: Kirigami.Units.gridUnit * 25
0030 
0031         Kirigami.SelectableLabel {
0032             Kirigami.FormData.label: i18n("Backend:")
0033             Layout.fillWidth: true
0034             textFormat: TextEdit.PlainText
0035             text: root.name
0036         }
0037 
0038         Kirigami.SelectableLabel {
0039             Kirigami.FormData.label: i18n("Version:")
0040             Layout.fillWidth: true
0041             textFormat: TextEdit.PlainText
0042             text: root.version
0043         }
0044     }
0045 }