Prevent QMainWindow from dragging by mouse
I have a mosaic of QMainWindow-s inside of QWorkspace. In Qt3 I was able to drag window only by clicking on its title. In Qt4 I can make it by dragging any point inside the window, which is not good for me, because I want this event to be handled in another way.
How can I emitate Qt3 handling of dragging?
Try using the evenFilter to inspect the events and take actions what do you want. or Try to use the event(.....) method to catch the events and give appropriate behaviour.