2023-03-31 12:27:24 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
import QtQuick.Layouts 1.14
|
|
|
|
|
|
|
|
import Storybook 1.0
|
|
|
|
import Models 1.0
|
|
|
|
|
2023-06-23 06:17:04 +00:00
|
|
|
import AppLayouts.Communities.popups 1.0
|
2023-03-31 12:27:24 +00:00
|
|
|
|
|
|
|
SplitView {
|
|
|
|
Logs { id: logs }
|
|
|
|
|
|
|
|
SplitView {
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
|
|
|
|
Item {
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
|
|
|
|
PopupBackground {
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
|
|
|
|
|
|
|
Button {
|
|
|
|
anchors.centerIn: parent
|
|
|
|
text: "Reopen"
|
|
|
|
|
|
|
|
onClicked: dialog.open()
|
|
|
|
}
|
|
|
|
|
2023-05-30 15:18:45 +00:00
|
|
|
AlertPopup {
|
2023-03-31 12:27:24 +00:00
|
|
|
id: dialog
|
|
|
|
|
|
|
|
anchors.centerIn: parent
|
2023-05-30 15:18:45 +00:00
|
|
|
title: qsTr("Remotely destruct %n token(s)", "", 12)
|
|
|
|
acceptBtnText: qsTr("Remotely destruct")
|
|
|
|
alertText: qsTr("Continuing will destroy tokens held by members and revoke any perissions they given. To undo you will have to issue them new tokens.")
|
2023-03-31 12:27:24 +00:00
|
|
|
|
2023-05-30 15:18:45 +00:00
|
|
|
onAcceptClicked: logs.logEvent("AlertPopup::onAcceptClicked")
|
|
|
|
onCancelClicked: logs.logEvent("AlertPopup::onCancelClicked")
|
2023-03-31 12:27:24 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 150
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Pane {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|