i read the article and it works because it takes the reference coordinate of its parents(
else
move(mapToParent(event->pos() - offset));
)
but i have a qscrollarea as my labels parent so i am going for global referencing.
cant we use move function for positioning the child widgets using global reference system.
Bookmarks