Hi all.

Can anybody help with next problem. I trying to overload "copy()" method of QTextEdit, but it doesn't work.
Qt Code:
  1. class MyQTextEdit(QtGui.QTextEdit):
  2. def __init__(self, *args):
  3. QtGui.QTextEdit.__init__(self, *args)
  4.  
  5. def copy(self):
  6. QtGui.QTextEdit.copy(self)
  7. print "copy"
To copy to clipboard, switch view to plain text mode 

But after execution when I copy text from my QTextEdit console still empty. Why?