Qt::WA_TransparentForMouseEvents is exactly what I was looking for ! Thank you.

Thank you all for your responses.

In attachment, screen captures of what I wanted.


Le 13/06/2018 à 11:59, Alejandro Exojo via Interest a écrit :
On Wednesday 13 June 2018 10:53:05 Frederik Christiani via Interest wrote:
If I understand your problem correctly, you should be able to use a
QGraphicsEffect like this:
This is indeed the nicest solution if you can use it in your application. But
note that the widget is still subject to clipping from its parents. It could
be possible that you need to add a widget on top, handle manually the resizing
and positioning, and use the Qt::WA_TransparentForMouseEvents flag. Not nice,
but it should work.


--
*Nicolas Krieger*
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to