No. still not getting .Without clicking in the dialog, I am not getting key press event in that class. Any other suggestions.Thanks in advance..
Quote Originally Posted by anda_skoa View Post
A common pattern used for non-modal dialogs, especialy those which are kept around and re-shown later is this

Qt Code:
  1. dialog->show(); // show it if hidden
  2. dialog->raise(); // move it on top of sibling windows
  3. dialog->activateWindow(); // make it the active sub window
To copy to clipboard, switch view to plain text mode 

Cheers,
_