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:
  1. void parent::moveEvent(QMouseMoveEvent *event)
  2. {
  3. child->move(event->pos().x()-oldpos.x,event->pos().y()-oldpos.y);
  4. }
To copy to clipboard, switch view to plain text mode 

How to move both the widget simultaneously.
thnx