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()
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 =
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