Quote Originally Posted by wysota View Post
You can grab the mouse (QWidget::grabMouse()) and ignore all mouse events you receive. Don't forget to release the mouse afterwards or your system becomes unusable.
I am creating one parent widget & three child QX11EmbedContainer widget.
In first child widget I am embedding GTK application in QX11EmbedContainer. When I am grabbing mouse, It grabs the mouse only for second & third widgets. but not in First widget.

This is the reason I want to disable mouse port when I showing the widget & when I close the widget enable the port.

Is it possible in Qt.
I am knowing to do this in windows using interrupt handling?
but How a way it can be implemented in Linux FC6 using pure C/C++ programming if it is not possible in Qt.