Warning, /pim/kube/framework/qml/mailpartview/ErrorPart.qml is written in an unsupported language. File is not indexed.

0001 /*
0002   Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net>
0003   Copyright (C) 2017 Christian Mollekopf, <mollekopf@kolabsys.com>
0004 
0005   This program is free software; you can redistribute it and/or modify
0006   it under the terms of the GNU General Public License as published by
0007   the Free Software Foundation; either version 2 of the License, or
0008   (at your option) any later version.
0009 
0010   This program is distributed in the hope that it will be useful,
0011   but WITHOUT ANY WARRANTY; without even the implied warranty of
0012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0013   GNU General Public License for more details.
0014 
0015   You should have received a copy of the GNU General Public License along
0016   with this program; if not, write to the Free Software Foundation, Inc.,
0017   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
0018 */
0019 
0020 import QtQuick 2.4
0021 
0022 Item {
0023     id: root
0024     property variant errorType
0025     property string errorString
0026     property string searchString
0027     property bool autoLoadImages: false
0028     height: partListView.height
0029     width: parent.width
0030 
0031     Column {
0032         id: partListView
0033         anchors {
0034             top: parent.top
0035             left: parent.left
0036         }
0037         width: parent.width
0038         spacing: 5
0039         Text {
0040             text: qsTr("An error occurred: %1").arg(errorString)
0041         }
0042     }
0043 }