[Interest] Map position of listview item
mark.tucker at airborne.aero
Thu Nov 21 15:55:31 CET 2013
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
From: interest-bounces+mark.tucker=airborne.aero at qt-project.org [mailto:interest-bounces+mark.tucker=airborne.aero at qt-project.org] On Behalf Of Simone
Sent: 21 November 2013 09:15
To: interest at qt-project.org
Subject: [Interest] Map position of listview item
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest