[PyKDE] khtmlpart and pyuic3

Marcos Dione mdione at grulic.org.ar
Sun Dec 17 18:47:42 GMT 2006


    hi all. I have a .ui file that uses a KHTMLPart. the .ui file is
originally generated by qtdesigner; I put a KTextBrowser, but then I use
sed to both replace the QMainWindow for a KMainWindow and the
KTextBrowser with a KHTMLPart. the problem is that pyuic3, which is used
by the kdedesigner module to automatically compile it in a .py file,
doesn't add the proper "import khtml".

    I know the way I'm doing things is a little strange, but it works...
until now. anyways, how does pyuic know wich imports it should, and how
can I force it to add the needed import?

-- 
(Not so) Random fortune:
A veces hay que mentir / a veces hay que decir la verdad / y otras veces hay que callar, y seguir
[...]
A veces hay que matar / a veces hay que saber perdonar / y otras veces hay que olvidar, y reír...
	    -- Árbol, "Ya lo sabemos"




More information about the PyQt mailing list