2023-01-23 15:51:12 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
import QtQuick.Layouts 1.14
|
|
|
|
|
|
|
|
import Storybook 1.0
|
|
|
|
|
2023-06-23 06:17:04 +00:00
|
|
|
import AppLayouts.Communities.panels 1.0
|
2023-01-23 15:51:12 +00:00
|
|
|
|
|
|
|
SplitView {
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
|
|
|
|
Item {
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: container
|
|
|
|
width: widthSlider.value
|
|
|
|
height: conflictPanel.implicitHeight
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
2023-02-08 17:13:25 +00:00
|
|
|
PermissionConflictWarningPanel {
|
2023-01-23 15:51:12 +00:00
|
|
|
id: conflictPanel
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
holdings: holdingsField.text
|
|
|
|
permissions: permissionsField.text
|
|
|
|
channels: channelsField.text
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 250
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
spacing: 10
|
|
|
|
Row {
|
|
|
|
Label {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
text: "Width:"
|
|
|
|
}
|
|
|
|
|
|
|
|
Slider {
|
|
|
|
id: widthSlider
|
|
|
|
value: 400
|
|
|
|
from: 200
|
|
|
|
to: 600
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Row {
|
|
|
|
Label {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
text: "Holdings:"
|
|
|
|
}
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
id: holdingsField
|
|
|
|
text: "1 ETH"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Row {
|
|
|
|
Label {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
text: "Permissions:"
|
|
|
|
}
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
id: permissionsField
|
|
|
|
text: "View and Post"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Row {
|
|
|
|
Label {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
text: "Channels:"
|
|
|
|
}
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
id: channelsField
|
|
|
|
text: "#general"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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%E2%8E%9CDesktop?node-id=22253%3A486103&t=JrCIfks1zVzsk3vn-0
|