[PyKDE] QTextBrowser & QMimeSourceFactory

Phil Thompson phil at river-bank.demon.co.uk
Mon Apr 3 14:19:25 BST 2000


Pete Ware wrote:
> 
> I'm trying to use QTextBrowser but I'm not able to ever change what is
> currently being displayed.  My guess is that PyQt is messing up
> reference counting.  The following script demonstrates the problem.
> If you run this, you'll get a blank window.  If you comment out one of
> the suggested lines, things work.

I'll have a play.  What if you do...

name1 = QString('help-start.html')

mime_default.setText(name1, '<b>...

text.setSource(name1)

...etc?

Phil




More information about the PyQt mailing list