states: State { name: "maximized" when: delegate.ListView.isCurrentItem // bind to isCurrentItem to set the state PropertyChanges { target: delegate height: 200 } } MouseArea { anchors.fill: parent //onClicked: delegate.ListView.view.currentIndex = model.index // if only selection is wanted onClicked: { //console.debug("click"); device.bindservices(modelData.deviceName, modelData.deviceAddress);