Thank you very much for your answer. Can you explain how can I call
Qt Code:
  1. QMouseEvent::ignore()
To copy to clipboard, switch view to plain text mode 
by giving a piece of code.
I tried the following but the mouseMoveEvent never reaches to parent widget so I can not move the widget.

Qt Code:
  1. void MyDockTitle::mouseMoveEvent ( QMouseEvent * event )
  2. {
  3. qDebug()<< "mouseMoveEvent";
  4. event->ignore();
  5. }
To copy to clipboard, switch view to plain text mode 

Thanks in advance...