mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-10 13:46:35 +00:00
- legacy Style and ThemePalette removed - moved and deduplicated font definitions into `Theme` (unrelated to a color palette) - `Style.current.foo` -> `Theme.foo` - `Style.current.fooColor` -> `Theme.palette.fooColor` - upgrade the imports to 5.15 - removed some mode dead components Fixes #16514
48 lines
1.2 KiB
QML
48 lines
1.2 KiB
QML
import QtQuick 2.15
|
||
import QtQuick.Layouts 1.15
|
||
import QtQml.Models 2.15
|
||
|
||
import utils 1.0
|
||
|
||
import StatusQ.Core 0.1
|
||
import StatusQ.Core.Theme 0.1
|
||
import StatusQ.Controls 0.1
|
||
|
||
CommonContactDialog {
|
||
id: root
|
||
|
||
readonly property bool markAsUntrusted: ctrlMarkAsUntrusted.checked
|
||
readonly property bool removeContact: ctrlRemoveContact.checked
|
||
|
||
title: qsTr("Remove ID verification")
|
||
|
||
StatusBaseText {
|
||
Layout.fillWidth: true
|
||
Layout.bottomMargin: Theme.halfPadding
|
||
wrapMode: Text.WordWrap
|
||
text: qsTr("%1’s identity will no longer be verified. This is only visible to you.").arg(mainDisplayName)
|
||
}
|
||
|
||
StatusCheckBox {
|
||
id: ctrlMarkAsUntrusted
|
||
text: qsTr("Mark %1 as untrusted").arg(mainDisplayName)
|
||
}
|
||
|
||
StatusCheckBox {
|
||
id: ctrlRemoveContact
|
||
text: qsTr("Remove contact")
|
||
}
|
||
|
||
rightButtons: ObjectModel {
|
||
StatusFlatButton {
|
||
text: qsTr("Cancel")
|
||
onClicked: root.close()
|
||
}
|
||
StatusButton {
|
||
type: StatusBaseButton.Type.Danger
|
||
text: qsTr("Remove ID verification")
|
||
onClicked: root.accepted()
|
||
}
|
||
}
|
||
}
|