status-desktop/storybook/pages/TokenPermissionsPopupPage.qml
Noelia d763a09cac feat(Communities): File renames
- Removed redundant `community` word in some files from: `controls`, `views`, `popups`, `helpers ` and `panels` folders.
- Updated storybook.
- Updated squish files.

Closes #6204
2023-06-28 14:28:47 +02:00

60 lines
1.3 KiB
QML

import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14
import Storybook 1.0
import Models 1.0
import AppLayouts.Communities.popups 1.0
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()
}
TokenPermissionsPopup {
id: dialog
anchors.centerIn: parent
channelName: editor.channelName
viewOnlyHoldingsModel: editor.viewOnlyHoldingsModel
viewAndPostHoldingsModel: editor.viewAndPostHoldingsModel
moderateHoldingsModel: editor.moderateHoldingsModel
assetsModel: AssetsModel {}
collectiblesModel: CollectiblesModel {}
}
}
}
Pane {
SplitView.minimumWidth: 300
SplitView.preferredWidth: 300
JoinCommunityPermissionsEditor {
id: editor
isOnlyChannelPanelEditor: true
channelName: "#vip"
joinCommunity: false
}
}
}