2023-06-29 21:52:16 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
import QtQuick.Layouts 1.15
|
|
|
|
|
2023-09-27 11:05:50 +00:00
|
|
|
import mainui 1.0
|
2023-10-23 11:36:33 +00:00
|
|
|
import shared.stores 1.0
|
2023-06-29 21:52:16 +00:00
|
|
|
import AppLayouts.Communities.panels 1.0
|
|
|
|
|
|
|
|
import Storybook 1.0
|
|
|
|
|
|
|
|
SplitView {
|
|
|
|
id: root
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
|
2023-09-27 11:05:50 +00:00
|
|
|
Popups {
|
|
|
|
popupParent: root
|
|
|
|
rootStore: QtObject {}
|
2023-10-23 11:36:33 +00:00
|
|
|
communityTokensStore: CommunityTokensStore {}
|
2023-09-27 11:05:50 +00:00
|
|
|
}
|
|
|
|
|
2023-06-29 21:52:16 +00:00
|
|
|
EditSettingsPanel {
|
2023-10-31 20:40:00 +00:00
|
|
|
id: panel
|
2023-06-29 21:52:16 +00:00
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
name: communityEditor.name
|
|
|
|
color: communityEditor.color
|
|
|
|
logoImageData: communityEditor.image
|
|
|
|
description: communityEditor.description
|
|
|
|
bannerImageData: communityEditor.banner
|
2023-10-31 20:40:00 +00:00
|
|
|
shardingEnabled: communityEditor.shardingEnabled
|
|
|
|
shardIndex: communityEditor.shardIndex
|
|
|
|
onShardIndexEdited: {
|
|
|
|
panel.shardingInProgress = true
|
|
|
|
communityEditor.shardIndex = shardIndex
|
|
|
|
panel.shardingInProgress = false
|
|
|
|
}
|
2023-06-29 21:52:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ScrollView {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
|
2023-09-26 18:04:51 +00:00
|
|
|
CommunityInfoEditor {
|
2023-06-29 21:52:16 +00:00
|
|
|
id: communityEditor
|
|
|
|
anchors.fill: parent
|
|
|
|
colorVisible: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-07-31 12:21:14 +00:00
|
|
|
|
|
|
|
// category: Panels
|
2023-10-03 11:56:30 +00:00
|
|
|
|
|
|
|
// https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?node-id=3132%3A383870&mode=dev
|