Port MessageSourceDialog to OverlaySheet

This commit is contained in:
Tobias Fella
2020-11-17 19:29:16 +01:00
parent de183caefb
commit a8b95791e2
10 changed files with 42 additions and 49 deletions

View File

@@ -0,0 +1,25 @@
/**
* SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
*
* SPDX-License-Identifier: GPL-3.0-only
*/
import QtQuick 2.12
import QtQuick.Controls 2.12
import org.kde.kirigami 2.12 as Kirigami
Kirigami.OverlaySheet {
property string sourceText
header: Kirigami.Heading {
text: i18n("Message Source")
}
Label {
text: sourceText
wrapMode: Text.WordWrap
}
}