hi All,
I want to move my child widget on move of parent widget.I have tried move() child in moveEvent of parent. But movement of child is Delayed by parent's movement.
Qt Code:
void parent::moveEvent(QMouseMoveEvent *event) { child->move(event->pos().x()-oldpos.x,event->pos().y()-oldpos.y); }To copy to clipboard, switch view to plain text mode
How to move both the widget simultaneously.
thnx
Bookmarks