Re: [PyQt] problems with QTextBrowser

2008-04-15 Thread Aaron Digulla
Dusan Zatkovsky schrieb: > Hi there. > > I have problem with QTextBrowser. I am writing db app, which (basically) asks > user for some rich text ( using dialog with QTextEdit ), then it receives > that text as html ( doc = self.ui.textEdit.document(), text = > doc.toHtml() ). That html is conv

Re: [PyQt] where to ./setup --install your ui.rc file

2008-04-15 Thread Adeodato Simó
* Christoph Burgmer [Tue, 15 Apr 2008 12:02:16 +0200]: > I'm looking for some quick advice how to best handle this issue. Where to > copy > the file? Hardcode the path in the program's source? AFAIK the location to install your appnameui.rc file is: % echo `kde-config --expandvars --install

[PyQt] problems with QTextBrowser

2008-04-15 Thread Dusan Zatkovsky
Hi there. I have problem with QTextBrowser. I am writing db app, which (basically) asks user for some rich text ( using dialog with QTextEdit ), then it receives that text as html ( doc = self.ui.textEdit.document(), text = doc.toHtml() ). That html is converted to base64 and stored to databas

[PyQt] where to ./setup --install your ui.rc file

2008-04-15 Thread Christoph Burgmer
Yesterday I created a Debian package of my app "id3encodingconverter". Debian puts kde's ui.rc files under /usr/share/app/'app-name'/. So I made my python distutils setup.py copy the file'id3encodingconverterui.rc' to 'share/apps/id3encodingconverter/'. Well, I guess when not using Debian this