|
|
|
@ -65,7 +65,15 @@ ColumnLayout {
|
|
|
|
ListView {
|
|
|
|
ListView {
|
|
|
|
id: wirelessView
|
|
|
|
id: wirelessView
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.preferredHeight: itemHeight * count + ((count - 1) * spacing)
|
|
|
|
|
|
|
|
|
|
|
|
Layout.preferredHeight: {
|
|
|
|
|
|
|
|
var totalHeight = 0
|
|
|
|
|
|
|
|
for (var i = 0; i < wirelessView.visibleChildren.length; ++i) {
|
|
|
|
|
|
|
|
totalHeight += wirelessView.visibleChildren[i].height
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return totalHeight
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
clip: true
|
|
|
|
clip: true
|
|
|
|
|
|
|
|
|
|
|
|
model: NM.AppletProxyModel {
|
|
|
|
model: NM.AppletProxyModel {
|
|
|
|
@ -77,8 +85,6 @@ ColumnLayout {
|
|
|
|
interactive: false
|
|
|
|
interactive: false
|
|
|
|
visible: count > 0
|
|
|
|
visible: count > 0
|
|
|
|
|
|
|
|
|
|
|
|
property var itemHeight: 38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delegate: WifiItem {
|
|
|
|
delegate: WifiItem {
|
|
|
|
width: ListView.view.width
|
|
|
|
width: ListView.view.width
|
|
|
|
// height: ListView.view.itemHeight
|
|
|
|
// height: ListView.view.itemHeight
|
|
|
|
|