[Interest] R: Map position of listview item

Simone cjb.sw.nospam at gmail.com
Thu Nov 21 16:31:55 CET 2013

Hi Mark,

I followed the documentation and now all is working as expected!

Thanks so much!



Da: Mark Tucker [mailto:mark.tucker at airborne.aero] 
Inviato: giovedì 21 novembre 2013 15:56
A: Simone; interest at qt-project.org
Oggetto: RE: [Interest] Map position of listview item




In this case it sounds like you want to be using either mapToItem() or


Documentation for both here:






From: interest-bounces+mark.tucker=airborne.aero at qt-project.org
<mailto: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 <mailto:interest at qt-project.org> 
Subject: [Interest] Map position of listview item
Importance: High



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...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131121/711f7d52/attachment.html>

More information about the Interest mailing list