I would try QWidget::grabMouse.
Using QWidget::grabMouse, It doesnt works because then no other widget except the PopUp receive mouseEvent. If you have another dialogs o widgets showed, they not receive mouseEvents.
Finally I have implemented it installing even widget to all widget ins the PopUp.
Thanks to all for your help,
Bookmarks