1// SPDX-FileCopyrightText: 2021 Nheko Contributors 2// 3// SPDX-License-Identifier: GPL-3.0-or-later 4 5import QtQuick 2.3 6import QtQuick.Controls 2.3 7import QtQuick.Layouts 1.10 8import im.nheko 1.0 9 10Pane { 11 property string title: qsTr("Successful Verification") 12 13 ColumnLayout { 14 spacing: 16 15 16 Label { 17 id: content 18 19 Layout.maximumWidth: 400 20 Layout.fillHeight: true 21 Layout.fillWidth: true 22 wrapMode: Text.Wrap 23 text: qsTr("Verification successful! Both sides verified their devices!") 24 color: Nheko.colors.text 25 verticalAlignment: Text.AlignVCenter 26 } 27 28 RowLayout { 29 Item { 30 Layout.fillWidth: true 31 } 32 33 Button { 34 Layout.alignment: Qt.AlignRight 35 text: qsTr("Close") 36 onClicked: dialog.close() 37 } 38 39 } 40 41 } 42 43} 44