Thankyou for you're answer.
but I not to say selection-rect drawing by mouse, i say to rect drawn by dot-line.
I solved it using this code.

Qt Code:
  1. setFocusPolicy(Qt::NoFocus);
To copy to clipboard, switch view to plain text mode