Fix problem with definition sequence of PageSettingsKillSwitchExceptions.pml elements
This commit is contained in:
parent
a120f3d5bd
commit
d1f5d8815b
1 changed files with 25 additions and 19 deletions
|
|
@ -65,28 +65,13 @@ PageType {
|
||||||
displayMarginEnd: 40
|
displayMarginEnd: 40
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBarType { }
|
ScrollBar.vertical: ScrollBarType { }
|
||||||
|
|
||||||
footer: AddSitePanel {
|
footer: Item {
|
||||||
id: addSitePanel
|
|
||||||
|
|
||||||
width: listView.width
|
width: listView.width
|
||||||
z: 10
|
height: addSitePanel.height
|
||||||
|
|
||||||
enabled: root.pageEnabled
|
|
||||||
placeholderText: qsTr("IPv4 address")
|
|
||||||
|
|
||||||
onAddClicked: function(text) {
|
|
||||||
PageController.showBusyIndicator(true)
|
|
||||||
AllowedDnsController.addDns(text)
|
|
||||||
PageController.showBusyIndicator(false)
|
|
||||||
}
|
|
||||||
|
|
||||||
onMoreClicked: {
|
|
||||||
moreActionsDrawer.openTriggered()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footerPositioning: ListView.OverlayFooter
|
footerPositioning: ListView.InlineFooter
|
||||||
|
|
||||||
model: SortFilterProxyModel {
|
model: SortFilterProxyModel {
|
||||||
id: dnsFilterModel
|
id: dnsFilterModel
|
||||||
|
|
@ -142,6 +127,27 @@ PageType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AddSitePanel {
|
||||||
|
id: addSitePanel
|
||||||
|
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
|
||||||
|
enabled: root.pageEnabled
|
||||||
|
placeholderText: qsTr("IPv4 address")
|
||||||
|
|
||||||
|
onAddClicked: function(text) {
|
||||||
|
PageController.showBusyIndicator(true)
|
||||||
|
AllowedDnsController.addDns(text)
|
||||||
|
PageController.showBusyIndicator(false)
|
||||||
|
}
|
||||||
|
|
||||||
|
onMoreClicked: {
|
||||||
|
moreActionsDrawer.openTriggered()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DrawerType2 {
|
DrawerType2 {
|
||||||
id: moreActionsDrawer
|
id: moreActionsDrawer
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue