[PyKDE] pyuic getting QFrame.HLine wrong?
Giles Constant
gilesc at hyperlink-interactive.co.uk
Wed Dec 19 16:30:48 GMT 2001
Hi there,
pyuic is generating the following code :
----------------
class foo:
def __init__(self):
# snip
self.Line3 = QFrame(self, "Line3")
self.Line3.setProperty("frameShape", QFrame.HLine)
----------------
Surely, the last line should be this? :
self.Line3.setProperty("frameShape", QVariant(QFrame.HLine))
What's going on?
--
Giles Constant, Systems Programmer
Hyperlink Interactive
http://www.hyperlink-interactive.co.uk
More information about the PyQt
mailing list