Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Find Item behind current Item
Larvae last edited by
I would like to know how I can find which QQuickItem is behind another QQuickItem (visually on the screen).
QQuickItem offers QQuickItem::childItems() , and Item (QML) has children() (property). In QML it returns the visual children. Is it identical to C++ or does C++ refer to QObject-Like children? And is that list sorted?
I have seen a function paintOrderChildItems() for this somewhere, but it appears to be in a private header, and I would like to avoid private headers if possible.
My goal is to have an Item send events to the Item below it and/or pass events through (like the MouseArea's propragate property, but not limited to mouse events)