status-desktop/ui/imports/shared/popups/UnblockContactConfirmationD...

37 lines
868 B
QML
Raw Normal View History

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtQml.Models 2.15
import utils 1.0
import StatusQ.Core 0.1
import StatusQ.Controls 0.1
CommonContactDialog {
id: root
2020-12-05 20:07:22 +00:00
title: qsTr("Unblock user")
2020-12-05 20:07:22 +00:00
StatusBaseText {
objectName: "unblockingText"
Layout.fillWidth: true
2020-12-05 20:07:22 +00:00
wrapMode: Text.WordWrap
text: qsTr("Unblocking %1 will allow new messages you receive from %1 to reach you.").arg(mainDisplayName)
2020-12-05 20:07:22 +00:00
}
2022-02-09 09:43:23 +00:00
rightButtons: ObjectModel {
StatusFlatButton {
objectName: "cancelButton"
text: qsTr("Cancel")
onClicked: root.close()
}
StatusButton {
objectName: "unblockUserButton"
type: StatusBaseButton.Type.Danger
text: qsTr("Unblock")
onClicked: root.accepted()
2020-12-05 20:07:22 +00:00
}
}
}