[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QTextBrowser: no mimesource for
From:       "Roberto Alsina" <ralsina () kde ! org>
Date:       2004-03-30 12:29:46
Message-ID: 2842.200.69.193.205.1080649786.squirrel () linux ! netline ! com ! ar
[Download RAW message or body]


> Hello
>
> I want show html file (from internet and local filesystem) in my PyQT
> application.
> QTextBrowser-Widget  should do it.
>
>  When i load (setSource) a html i get always:
> "QTextBrowser: no mimesource for x.html"
> and a blank Textbrowser.
>
> I test a few things (set my own mimefactory.....) but i get always the
> same result. I search within internet and found 6 similar postings on
> different mailinglist/newsgroup, but no answer or working codeexample.
> What's wrong ?
>
> Please help me.
> Please post a working code example if possible.

Don't know what your problem is, but I have written something that uses a
QTextBrowser and extends it somewhat:

"PyBrowser: a nicer QTextBrowser" :-)

http://www.pycs.net/lateral/stories/17.html

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina@kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Imminentizing the eschaton since 1971.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic