Warning, /pim/kmail-account-wizard/components/InfoDetail.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2023 Carl Schwan <carl@carlschwan.eu>
0002 // SPDX-License-Identifier: BSD-2-Clause
0003 
0004 import QtQuick 2.15
0005 import QtQuick.Controls 2.15 as QQC2
0006 import QtQuick.Layouts 1.15
0007 import org.kde.kirigami 2.20 as Kirigami
0008 import org.kde.pim.accountwizard 1.0
0009 
0010 ColumnLayout {
0011     QQC2.ToolButton {
0012         text: i18n("Details")
0013         enable: message.text.length > 0
0014         onClicked: message.visible = !message.visible
0015     }
0016 
0017     QQC2.Label {
0018         id: message
0019         visible: false
0020         Layout.fillWidth: true
0021     }
0022 
0023     Connections {
0024         target: SetupManager
0025         function onInfoOccured(infoMessage) {
0026             message.text += infoMessage + '<br />';
0027         }
0028     }
0029 }