Hi Mark, I followed the documentation and now all is working as expected!
Thanks so much! Simone Da: Mark Tucker [mailto:mark.tuc...@airborne.aero] Inviato: giovedì 21 novembre 2013 15:56 A: Simone; interest@qt-project.org Oggetto: RE: [Interest] Map position of listview item Hello, In this case it sounds like you want to be using either mapToItem() or mapFromItem(). Documentation for both here: http://doc-snapshot.qt-project.org/4.8/qml-item.html#mapFromItem-method Thanks Mark From: interest-bounces+mark.tucker=airborne.a...@qt-project.org <mailto:interest-bounces+mark.tucker=airborne.a...@qt-project.org> [mailto:interest-bounces+mark.tucker=airborne.a...@qt-project.org] On Behalf Of Simone Sent: 21 November 2013 09:15 To: interest@qt-project.org <mailto:interest@qt-project.org> Subject: [Interest] Map position of listview item Importance: High Hello, In my current project I have a listview (QML QtQuick1.1) and I want to know the exactly Y position of an item inside the list. But I need the position relative to the container of the listview, not relative to the content. I need this because for speedup the scroll, I removed a lot of things that are not necessary to view until an item is selected. This expand bar must be shown when the item is clicked, and of course I want to show at the correct position. May someone can help me? Thanks Simone
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest