[PyKDE] Cannot derive QValidator

2005-12-06 Thread Giovanni Bajo
Hey, there seems to be a problem inheriting QValidator: === from qt import * app = QApplication([]) class V(QValidator): def validate(self, index, pos): return QValidator.Valid v = V(None) cb = QComboBox(None) cb.setEditable(True) cb.setValidator(v) cb.show()

Re: [PyKDE] Cannot derive QValidator

2005-12-06 Thread Phil Thompson
On Tuesday 06 December 2005 11:12 am, Giovanni Bajo wrote: Hey, there seems to be a problem inheriting QValidator: === from qt import * app = QApplication([]) class V(QValidator): def validate(self, index, pos): return QValidator.Valid v = V(None) cb =

Re: [PyKDE] Cannot derive QValidator

2005-12-06 Thread Giovanni Bajo
Phil Thompson [EMAIL PROTECTED] wrote: The Python signature is different to the C++ signature - check the documentation. Argh, sorry! ;) -- Giovanni Bajo ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de