Hi
I want add:
Qt Code:
  1. if( !anchorAt( e->pos() ).isEmpty() )
  2. QMessageBox::information(0,"",anchorAt( e->pos() ));
To copy to clipboard, switch view to plain text mode 
to orginal(default, not edited) method "mouseDoubleClickEvent" in qtextedit.

If i make my own method
Qt Code:
  1. void MyTextEdit::mouseDoubleClickEvent(QMouseEvent *e)
  2. {
  3. if( !anchorAt( e->pos() ).isEmpty() )
  4. QMessageBox::information(0,"",anchorAt( e->pos() ));
  5. }
To copy to clipboard, switch view to plain text mode 
then default(if you double click on char then selected all word) will be not work

So if i want add(not edit) then i will be have to make somting like this
Qt Code:
  1. void MyTextEdit::mouseDoubleClickEvent(QMouseEvent *e)
  2. {
  3. //i have to finde default code mouseDoubleClickEventand and past here
  4.  
  5. if( !anchorAt( e->pos() ).isEmpty() )
  6. QMessageBox::information(0,"",anchorAt( e->pos() ));
  7. }
To copy to clipboard, switch view to plain text mode 

Somebody know faster way to do this , without copy code from default method ??