chore(Storybook): page for NetworkFilter added
This commit is contained in:
parent
70a6327ad4
commit
c97fe80420
|
@ -237,6 +237,10 @@ ListModel {
|
|||
title: "DerivationPathInput"
|
||||
section: "Components"
|
||||
}
|
||||
ListElement {
|
||||
title: "NetworkFilter"
|
||||
section: "Components"
|
||||
}
|
||||
ListElement {
|
||||
title: "BrowserSettings"
|
||||
section: "Settings"
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
import Storybook 1.0
|
||||
import Models 1.0
|
||||
|
||||
import AppLayouts.Wallet.controls 1.0
|
||||
|
||||
SplitView {
|
||||
id: root
|
||||
|
||||
orientation: Qt.Vertical
|
||||
|
||||
Item {
|
||||
id: container
|
||||
|
||||
SplitView.fillWidth: true
|
||||
SplitView.fillHeight: true
|
||||
|
||||
Rectangle {
|
||||
width: 800
|
||||
height: 200
|
||||
border.width: 1
|
||||
anchors.centerIn: parent
|
||||
|
||||
NetworkFilter {
|
||||
anchors.centerIn: parent
|
||||
width: 200
|
||||
|
||||
layer1Networks: NetworksModel.layer1Networks
|
||||
layer2Networks: NetworksModel.layer2Networks
|
||||
testNetworks: NetworksModel.testNetworks
|
||||
enabledNetworks: NetworksModel.enabledNetworks
|
||||
allNetworks: enabledNetworks
|
||||
|
||||
isChainVisible: isChainVisibleCheckBox.checked
|
||||
multiSelection: multiSelectionCheckBox.checked
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LogsAndControlsPanel {
|
||||
SplitView.minimumHeight: 100
|
||||
SplitView.preferredHeight: 150
|
||||
|
||||
SplitView.fillWidth: true
|
||||
|
||||
Row {
|
||||
CheckBox {
|
||||
id: isChainVisibleCheckBox
|
||||
text: "Is chain visible"
|
||||
checked: true
|
||||
}
|
||||
CheckBox {
|
||||
id: multiSelectionCheckBox
|
||||
text: "Multi selection"
|
||||
checked: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue