ábado, 1 de Junho de 2013 18:08
Assunto: Re: [Development] Nested Mousearea don't pass events
On 20/05/2013 13:36, Matteo Brichese wrote:
> Hi everyone, I'm having some issue on passing the right event from a
> mousearea to another.
>
> This is a sample of my code:
>
>
On 20/05/2013 13:36, Matteo Brichese wrote:
> Hi everyone, I'm having some issue on passing the right event from a
> mousearea to another.
>
> This is a sample of my code:
>
> import QtQuick 2.0
>
> Rectangle {
> width: 1024
> height: 768
>
> MouseArea {
> anchors.fill: pa
..@qt-project.org] per conto di Giuseppe
D'Angelo [giuseppe.dang...@kdab.com]
Inviato: lunedì 20 maggio 2013 16.10
A: development@qt-project.org; inter...@qt-project.org
Oggetto: Re: [Development] Nested Mousearea don't pass events
Hi,
Il 20/05/2013 14:36, Matteo Brichese ha scritto:
> This
Hi,
Il 20/05/2013 14:36, Matteo Brichese ha scritto:
> This is a sample of my code:
>
> import QtQuick 2.0
>
> Rectangle {
> width: 1024
> height: 768
>
> MouseArea {
> anchors.fill: parent;
> onClicked: console.log("Click")
> }
>
> MouseArea {
>
ect.org[development-bounces+mbrichese=
> came...@qt-project.org] per conto di Matteo Brichese [mbrich...@came.it]
> Inviato: lunedì 20 maggio 2013 15.14
> Cc: development@qt-project.org
> Oggetto: Re: [Development] Nested Mousearea don't pass events
>
> I know that the last mo
development-bounces+mbrichese=came...@qt-project.org
[development-bounces+mbrichese=came...@qt-project.org] per conto di Matteo
Brichese [mbrich...@came.it]
Inviato: lunedì 20 maggio 2013 15.14
Cc: development@qt-project.org
Oggetto: Re: [Development] Nested Mousearea don't pass events
I kno
n e-mail to priv...@came.com<mailto:priv...@came.com>.
Da: Antonio Aloisio [antonio.aloi...@gmail.com]
Inviato: lunedì 20 maggio 2013 15.08
A: Matteo Brichese
Cc: development@qt-project.org
Oggetto: Re: [Development] Nested Mousearea don't pass events
Hi M
Hi Matteo,
IIRC the declarative engine creates objects in the order specified by the
QML file if you do not define any "z" attribute for the objects.
Hence, in your case, the second MouseArea covers the first one and eats
every click event.
If you want to propagate MouseEvents, I guess you have to
Hi everyone, I'm having some issue on passing the right event from a mousearea
to another.
This is a sample of my code:
import QtQuick 2.0
Rectangle {
width: 1024
height: 768
MouseArea {
anchors.fill: parent;
onClicked: console.log("Click")
}
MouseArea {