The documentation for QMoveEvent reads:
The QMoveEvent class contains event parameters for move events.
Move events are sent to widgets that have been moved to a new position relative to their parent.
The event handler QWidget::moveEvent() receives move events.
My toy code suggests that a top-level widget never gets this event since there is no parent, and therefore, no relative position w.r.t. parent. Is this interpretation mistaken? Thanks.
I revisited my code and found a simple error. I do in fact get the move events. Thanks.




Reply With Quote
Bookmarks