Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] Is it possible to define an action for the removal of an item in a ListView?

$
0
0
Yap, that is something I was thinking about, but there is no onRemove for Component or Item (The types my delegate for the list consists of and where the reference to the timer is held). Where can I catch onRemove? edit: Ok, figured it out. Had to use                     ListView.onRemove: {                         console.log("Remove")                     } On the first Item in the delegate (not one of the children) and it worked. Still strange that the QtCreator code completion doesnt “know” about the onRemove signal from ListView.

Viewing all articles
Browse latest Browse all 4972

Trending Articles