Qt 6.11 is out! See what's new in the release
blog
How to check if a delegate is endmost in a ListView?
QML and Qt Quick
4
Posts
2
Posters
1.3k
Views
1
Watching
-
Much like I can use index === 0 within a Delegate to check whether it's first, can I find out if a Delegate is last in a ListView?
-
Hi,
index === listview.model.count-1, where listview being id of ListView.
-
[quote author="p3c0" date="1424076108"]Hi,
index === listview.model.count-1, where listview being id of ListView.[/quote]
You're totally right, didn't think of this. Thank you very much!
-
You're Welcome :)
You can mark the post as solved by editing the post title and prepending [solved].