Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
handling mouse events in QQuickView
Rem-Kolomna last edited by Rem-Kolomna
I render my 3d model under qml controls using QQuickView::beforeRendering event
I want to do my mouse events handling if user clicks outside any of qml controls/ How can I found out in, for example, QQuickView::mousePressEvent that mouse is pressed under qml control?
A Former User last edited by
you could simply place a big MouseArea under all your other controls.
Rem-Kolomna last edited by
Thank you for your answer!
I found even more simple solution - check QQuickItem::childAt for null. If it isn't null then I call inherited QQuickView::mousePressEvent method, otherwise I do my own work