Created
January 1, 2016 09:28
-
-
Save benlau/9012496f4d0478a76aba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ListVIew { | |
id : listView; | |
signal removeClicked(int index); | |
signal clicked(int index); | |
delegate: YourItem { | |
onRemoveClicked: listView.removeClicked(model.index); | |
onClicked: listView.clicked(model.index); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment