I'm not sure if this will help me much.

Maybe some more details: the ListView contains a lot of items.
Every item has an icon with an MouseArea the same size.
If the user clicks or touches the icon I will set the index of the ListView to 
the index of the item.

When touching the ListView how can I differentiate between if the event is for 
the MouseArea or the ListView?
Simply disabling the ListView will not work, in this case I'm not able to 
scroll thought the list.

What I need is more a priority of the events: MouseArea then ListView.

Patrick
From: [email protected] 
[mailto:[email protected]] On Behalf Of Artem 
Marchenko
Sent: Monday, August 29, 2011 2:06 PM
To: Flaig, Patrick
Cc: [email protected]
Subject: Re: [Qt-qml] QtQuick 1.0: MouseArea - preventStealing

You can code same thing manually

In some global-enough place store condition on whether mouse events should be 
processed by only your mouse area for now. Then disable potential thiefs based 
on that. E.g. for PathView you can set interactive to false.

BR,
Artem.

On Aug 29, 2011, at 1:08 PM, Flaig, Patrick wrote:


Hello all,

is there a way to get the same effect as with MouseArea preventStealing: true 
which will come with QtQuick 1.1
I'm working on a touchscreen demo with an ListView and MouseAreas within the 
single list view items.

It seems that the ListView and the MouseAreas are in conflict who is 
responsible for the mouse events.

Thanks.

Patrick


________________________________

The information contained in this message is privileged and intended only for 
the recipients named. If the reader is not a representative of the intended 
recipient, any review, dissemination or copying of this message or the 
information it contains is prohibited. If you have received this message in 
error, please immediately notify the sender, and delete the original message 
and attachments.
_______________________________________________
Qt-qml mailing list
[email protected]<mailto:[email protected]>
http://lists.qt.nokia.com/mailman/listinfo/qt-qml


________________________________

The information contained in this message is privileged and intended only for 
the recipients named. If the reader is not a representative of the intended 
recipient, any review, dissemination or copying of this message or the 
information it contains is prohibited. If you have received this message in 
error, please immediately notify the sender, and delete the original message 
and attachments.
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to