QQuickItem::mousePressEvent() not called
Karim last edited by
I'm experiencing an issue with
Basically, I have an app with custom
MyMdiSubWindow contains a
QQuickWidgetas its central widget.
MyObjectScenethat inherits from
QQuickItem. The purpose of this class is to store child items, selected child objects etc.
It works fine.
However, sometime, when
event->ignore(), I would like
MyObjectSceneto intercept the event afterward in its
But it never happens.
However, if I override
MySubWindow::mousePressEvent(), I can catch the event.
It means that,
MySubWindow::mousePressEvent()is called when
ElementItem::mousePressEventignores the event.
What I need to do, is to have
MyObjectScene::mousePressEvent()called instead of
Is there something wrong in this scenario ?
Thanks for your feedback.