[Interest] MouseArea on top of Flickable

Mark markg85 at gmail.com
Sun Jul 22 03:45:59 CEST 2012


Hi,

I have a Flickable with a MouseArea on top of it. I only want to use
the MouseArea fro the pressed events, the flackable should just be
working with dragging up/down. This however isn't as easy as it
sounds..

It looks somewhat like this:

Flickable
{
    ....

    MouseArea
    {
        anchors.fill parent
        onPressed:
        {
            ....
        }
    }
}

I think you get the idea.

But how can i get this working? I'm using Qt 4.8, i know this has been
fixed in Qt 5 / QML 2, but i kinda need a workaround for 4.8 if
possible :)

Cheers,
Mark



More information about the Interest mailing list