2023-02-14 16:33:23 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Popups.Dialog 0.1
|
|
|
|
|
|
|
|
import AppLayouts.Chat.panels.communities 1.0
|
|
|
|
|
|
|
|
StatusDialog {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property string channelName
|
|
|
|
property alias viewOnlyHoldingsModel: overlayPanel.viewOnlyHoldingsModel
|
|
|
|
property alias viewAndPostHoldingsModel: overlayPanel.viewAndPostHoldingsModel
|
|
|
|
property alias moderateHoldingsModel: overlayPanel.moderateHoldingsModel
|
|
|
|
|
2023-02-22 22:44:34 +00:00
|
|
|
property alias assetsModel: overlayPanel.assetsModel
|
|
|
|
property alias collectiblesModel: overlayPanel.collectiblesModel
|
|
|
|
|
2023-02-14 16:33:23 +00:00
|
|
|
title: qsTr("Token permissions for %1 channel").arg(root.channelName)
|
|
|
|
footer.visible: false
|
2023-05-31 20:58:23 +00:00
|
|
|
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
StatusScrollView {
|
|
|
|
anchors.fill: parent
|
2023-02-14 16:33:23 +00:00
|
|
|
|
|
|
|
JoinPermissionsOverlayPanel {
|
|
|
|
id: overlayPanel
|
|
|
|
|
|
|
|
joinCommunity: false
|
|
|
|
channelName: root.channelName
|
|
|
|
showOnlyPanels: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|