2023-03-31 11:27:17 +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 11:27:17 +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-15 14:52:50 +00:00
|
|
|
RemotelyDestructPopup {
|
2023-03-31 11:27:17 +00:00
|
|
|
id: dialog
|
|
|
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
collectibleName: editorCollectible.text
|
|
|
|
model: TokenHoldersModel {}
|
|
|
|
|
2023-05-15 14:52:50 +00:00
|
|
|
onRemotelyDestructClicked: logs.logEvent("RemoteSelfDestructPopup::onRemotelyDestructClicked")
|
2023-03-31 11:27:17 +00:00
|
|
|
|
2023-05-31 20:58:23 +00:00
|
|
|
Component.onCompleted: {
|
|
|
|
open()
|
|
|
|
}
|
2023-03-31 11:27:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 150
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Pane {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
|
|
|
|
Label {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
text: "Collectible name"
|
|
|
|
}
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
id: editorCollectible
|
|
|
|
background: Rectangle { border.color: 'lightgrey' }
|
|
|
|
Layout.preferredWidth: 200
|
|
|
|
text: "Anniversary"
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|