2023-02-14 16:33:23 +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-02-14 16:33:23 +00:00
|
|
|
|
|
|
|
SplitView {
|
|
|
|
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-06-26 11:48:45 +00:00
|
|
|
TokenPermissionsPopup {
|
2023-02-14 16:33:23 +00:00
|
|
|
id: dialog
|
|
|
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
channelName: editor.channelName
|
|
|
|
viewOnlyHoldingsModel: editor.viewOnlyHoldingsModel
|
|
|
|
viewAndPostHoldingsModel: editor.viewAndPostHoldingsModel
|
|
|
|
moderateHoldingsModel: editor.moderateHoldingsModel
|
2023-02-22 22:44:34 +00:00
|
|
|
|
|
|
|
assetsModel: AssetsModel {}
|
|
|
|
collectiblesModel: CollectiblesModel {}
|
2023-02-14 16:33:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Pane {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
|
|
|
|
JoinCommunityPermissionsEditor {
|
|
|
|
id: editor
|
|
|
|
|
|
|
|
isOnlyChannelPanelEditor: true
|
2023-07-04 15:11:41 +00:00
|
|
|
channelName: "vip"
|
2023-02-14 16:33:23 +00:00
|
|
|
joinCommunity: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-31 12:21:14 +00:00
|
|
|
// category: Popups
|