mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-06 19:53:36 +00:00
57 lines
1.2 KiB
QML
57 lines
1.2 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.Chat.popups.community 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()
|
||
|
}
|
||
|
|
||
|
CommunityTokenPermissionsPopup {
|
||
|
id: dialog
|
||
|
|
||
|
anchors.centerIn: parent
|
||
|
channelName: editor.channelName
|
||
|
viewOnlyHoldingsModel: editor.viewOnlyHoldingsModel
|
||
|
viewAndPostHoldingsModel: editor.viewAndPostHoldingsModel
|
||
|
moderateHoldingsModel: editor.moderateHoldingsModel
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Pane {
|
||
|
SplitView.minimumWidth: 300
|
||
|
SplitView.preferredWidth: 300
|
||
|
|
||
|
JoinCommunityPermissionsEditor {
|
||
|
id: editor
|
||
|
|
||
|
isOnlyChannelPanelEditor: true
|
||
|
channelName: "#vip"
|
||
|
joinCommunity: false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|