Hello.

I have a frustrating problem which I can't solve, could you please help me.

I have my main window class, subclassed from QMainWindow and central widget with lots of children. I'm trying to realize drag'n'drop functionality. In the main class I overrided QMainWindow::dragMoveEvent, QMainWindow::dragEnterEvent, QMainWindow::dropEvent functions. Also I called the method QMainWindow::setAcceptDrops( true ) in main window's constructor and QWidget::setAcceptDrops( false ) for central widget and each child of it. But I can get d'n'd functionality on the whole window - only on the window title and bounds. When I removed central widget - i got the right behavior. What have I done wrong?

Thank you for any suggestions.