Il 01/10/2018 20:11, Murphy, Sean ha scritto:
So I'm not sure what I need to trigger off from to detect when I need to 
reposition the menu. I feel like I'm missing something really obvious, but not 
seeing it on a Monday apparently.

I don't think you're missing anything -- if a widget doesn't move, but its parent does, only the parent gets a move event, not the widget.

As a result, for your use case, I believe you need to track move events on the whole parent/child chain starting at the window up to your widget. I guess you can install event filters for this.

HTH,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to