2023-06-30 15:25:37 +03:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
import QtQuick.Layouts 1.15
|
|
|
|
|
|
|
|
import AppLayouts.Communities.panels 1.0
|
|
|
|
|
|
|
|
SplitView {
|
|
|
|
id: root
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
|
|
|
|
OverviewSettingsPanel {
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
|
|
|
|
name: communityEditor.name
|
|
|
|
description: communityEditor.description
|
|
|
|
logoImageData: communityEditor.image
|
|
|
|
color: communityEditor.color
|
2023-09-26 20:04:51 +02:00
|
|
|
bannerImageData: communityEditor.banner
|
2023-06-30 15:25:37 +03:00
|
|
|
|
|
|
|
editable: communityEditor.isCommunityEditable
|
2023-09-26 20:04:51 +02:00
|
|
|
isOwner: communityEditor.amISectionAdmin
|
2023-07-24 13:31:31 +02:00
|
|
|
communitySettingsDisabled: !editable
|
2023-09-26 20:04:51 +02:00
|
|
|
|
|
|
|
communityShardingEnabled: communityEditor.shardingEnabled
|
|
|
|
communityShardIndex: communityEditor.shardIndex
|
2023-06-30 15:25:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Pane {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
|
2023-09-26 20:04:51 +02:00
|
|
|
CommunityInfoEditor {
|
2023-06-30 15:25:37 +03:00
|
|
|
id: communityEditor
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-07-31 14:21:14 +02:00
|
|
|
|
|
|
|
// category: Panels
|