Warning, /plasma-mobile/plasma-dialer/plasma-dialer/src/qml/ImeiSheet.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2021 Smitty van Bodegom <me@smitop.com>
0002 //
0003 // SPDX-License-Identifier: LicenseRef-KDE-Accepted-GPL
0004 
0005 import QtQuick
0006 import QtQuick.Controls as Controls
0007 import QtQuick.Layouts
0008 
0009 import org.kde.kirigami as Kirigami
0010 
0011 Kirigami.OverlaySheet {
0012 
0013     id: imeiSheet
0014 
0015     property var imeis: []
0016 
0017     header: Kirigami.Heading {
0018         text: i18np("IMEI", "IMEIs", imeiSheet.imeis.length)
0019     }
0020 
0021     ColumnLayout {
0022         id: columnLayout
0023         spacing: Kirigami.Units.largeSpacing * 5
0024         Layout.fillWidth: true
0025 
0026         Controls.Label {
0027             Layout.fillWidth: true
0028             wrapMode: Text.WordWrap
0029             font.family: "monospace"
0030             text: imeis.length === 0 ? i18n("No IMEIs found") : imeis.join("\n")
0031         }
0032     }
0033 }