[PyKDE] QTextEdit.setAutoFormatting() has an invalid type
Phil Thompson
phil at riverbankcomputing.co.uk
Mon Jul 3 19:41:09 BST 2006
On Monday 03 July 2006 3:25 pm, Hans-Peter Jansen wrote:
> Hi Phil,
>
> I just stumbled on this one:
>
> ~> pyuic -x -o form1.py form1.ui
> ~> python form1.py
> Traceback (most recent call last):
> File "form1.py", line 54, in ?
> w = Form1()
> File "form1.py", line 33, in __init__
> self.textBrowser.setAutoFormatting(QTextBrowser.AutoAll)
> TypeError: argument 1 of QTextEdit.setAutoFormatting() has an invalid
> type
>
> Hand editing QTextBrowser.AutoAll to QTextEdit.AutoAll didn't make a
> difference.
>
> Any idea?
Should be fixed in tonight's PyQt3 snapshot.
Thanks,
Phil
More information about the PyQt
mailing list