def cut(self):
        """
        Cuts the text from the serial to the clipboard.
        """
        text = self.selectedText()
        for editor in self.editors():
            editor.cut()
        
        QtGui.QApplication.clipboard().setText(text)
def cut ( self ) : text = self . selectedText ( ) for editor in self . editors ( ) : editor . cut ( ) QtGui . QApplication . clipboard ( ) . setText ( text )
Cuts the text from the serial to the clipboard.