On Wednesday 10 October 2007, Brian Kelley wrote: > I have tried to subclass QsciScintilla to make a custom paste method, > while paste is a void virtual slot, this code seems to have no affect: > > class PyScintilla(Qsci.QsciScintilla): > def __init__(self, parent): > Qsci.QsciScintilla.__init__(self, parent) > > def paste(self): > # adjust the clipboard > text = QApplication.clipboard() > print text > > This paste is not called by the subclass.
paste() isn't called by QScintilla. There are probably lots of slots that don't need to be virtual. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
