Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] MouseArea and filterchildren



  • HI,

    Is it possible to put a mousearea in a mousearea and use the filterchildren without using dragging.
    For example I want a large mousearea which intercept simple click and inside a smaller mousearea for handling double click.

    Thanks.



  • Hi,

    Unfortunately there isn't built-in support for this at the moment. http://bugreports.qt.nokia.com/browse/QTBUG-13007 is the task for handling this -- I think there is a similar use case in the comments that might give a workaround for your case (if it is not the same, it would be very helpful if you could leave your use-case as a comment on the task so we can refer to it when implementing the functionality).

    Regards,
    Michael



  • Thanks I will check there.


Log in to reply