[PyQt] Problem with QValidator
bjoernhaeuser at googlemail.com
Sun Jun 7 15:23:03 BST 2009
I have a Problem with my own QValidator. Just tried to write one which
checks the length of a input field.
Traceback (most recent call last):
File "window.py", line 97, in <module>
window = Window(config)
File "window.py", line 26, in __init__
RuntimeError: underlying C/C++ object has been deleted
This is the error i get when trying to use it.
vsl = validStringLength(2, 8, self)
This the basic code for using the validator.
http://pastie.org/503567 - this is the rest of this file.
http://pastie.org/503568 - this is the validator file.
Any help appreciated (and any suggestions, especially regarding code
Thanks in advance,
More information about the PyQt