Warning, /pim/mimetreeparser/src/quick/qml/private/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 import QtQuick.Controls 2.15 as QQC2
0008 
0009 Item {
0010     id: root
0011     property var errorType
0012     property string errorString
0013     property string searchString
0014     property bool autoLoadImages: false
0015     height: partListView.height
0016     width: parent.width
0017 
0018     Column {
0019         id: partListView
0020         anchors {
0021             top: parent.top
0022             left: parent.left
0023         }
0024         width: parent.width
0025         spacing: 5
0026         QQC2.Label {
0027             text: i18nd("mimetreeparser", "An error occurred: %1", errorString)
0028         }
0029     }
0030 }