status-desktop/storybook/pages/OverviewSettingsPanelPage.qml

41 lines
987 B
QML
Raw Normal View History

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
bannerImageData: communityEditor.banner
editable: communityEditor.isCommunityEditable
isOwner: communityEditor.amISectionAdmin
communitySettingsDisabled: !editable
communityShardingEnabled: communityEditor.shardingEnabled
communityShardIndex: communityEditor.shardIndex
}
Pane {
SplitView.minimumWidth: 300
SplitView.preferredWidth: 300
CommunityInfoEditor {
id: communityEditor
anchors.fill: parent
}
}
}
// category: Panels