Debian Codegraph @

resources/qml/device-verification/Success.qml

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