Warning, /plasma-mobile/raven/src/contents/ui/mailpartview/ErrorPart.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2016 Michael Bohlender <michael.bohlender@kdemail.net>
0002 // SPDX-FileCopyrightText: 2017 Christian Mollekopf, <mollekopf@kolabsys.com>
0003 // SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
0004 // SPDX-License-Identifier: GPL-2.0-or-later
0005 
0006 import QtQuick 2.4
0007 
0008 Item {
0009     id: root
0010     property variant errorType
0011     property string errorString
0012     property string searchString
0013     property bool autoLoadImages: false
0014     height: partListView.height
0015     width: parent.width
0016 
0017     Column {
0018         id: partListView
0019         anchors {
0020             top: parent.top
0021             left: parent.left
0022         }
0023         width: parent.width
0024         spacing: 5
0025         Text {
0026             text: i18n("An error occurred: %1", errorString)
0027         }
0028     }
0029 }