Re: [PyQt] Re: Internationalization problem

2007-10-20 Thread Andreas Pakulat
On 20.10.07 03:13:08, Thorsten Kampe wrote: * Andreas Pakulat (Sat, 20 Oct 2007 00:40:04 +0200) On 19.10.07 21:47:58, Thorsten Kampe wrote: reading through Mark Summerfield's book I've tried to localise my appliation. This works fine for my own translation but not for the one from

Re: [PyQt] QSqlQueryModel write subclass

2007-10-20 Thread Linos
David thanks for your reply i get this to work yesterday, the problem was that i was not implementing rowcount() so the new line was painted in the view but it did not have real index so data() and setdata() could not use it, i am today working in a Qsqlquerymodel subclass with a buffer of rows

Re: [PyQt] segmentation fault

2007-10-20 Thread Phil Thompson
On Saturday 20 October 2007, David Boddie wrote: On Friday 19 October 2007 08:12:54 +0200, lucaberto wrote: ? ? def file_information(self): ? ? ? ? val = self.treeWidget.currentItem() ? ? ? ? indice = self.treeWidget.indexFromItem(val, 0) in this instruction : indice =

Re: [PyQt] Fw: problem with eric

2007-10-20 Thread Pradnyesh Sawant
On 14:08, 20 Oct, Detlev Offenbach wrote: Hi, unfortunately I am unable to reproduce your problem over here. I created a Python script with just the line you were mentioning in your email, but I didn't get any error. Could you provide more details (like version numbers). Thanks for that

Re: [PyQt] Fw: problem with eric

2007-10-20 Thread Detlev Offenbach
On Samstag, 20. Oktober 2007, Pradnyesh Sawant wrote: On 14:08, 20 Oct, Detlev Offenbach wrote: Hi, unfortunately I am unable to reproduce your problem over here. I created a Python script with just the line you were mentioning in your email, but I didn't get any error. Could you

[PyQt] Re: Re: Internationalization problem

2007-10-20 Thread Thorsten Kampe
* Andreas Pakulat (Sat, 20 Oct 2007 10:38:08 +0200) On 20.10.07 03:13:08, Thorsten Kampe wrote: * Andreas Pakulat (Sat, 20 Oct 2007 00:40:04 +0200) On 19.10.07 21:47:58, Thorsten Kampe wrote: reading through Mark Summerfield's book I've tried to localise my appliation. This works

[PyQt] Qpixmap.save() error

2007-10-20 Thread somayeh khademi
Hello, I want save my image from file dialogBox I write the following code but I have following error: my erroe : QImageIO::write: No such image format handler: JPG my code : fileName = qt.QFileDialog.getSaveFileName( /home,

Re: [PyQt] Re: Re: Internationalization problem

2007-10-20 Thread Andreas Pakulat
On 20.10.07 15:21:32, Thorsten Kampe wrote: Okay, so one more quite general question: does it make sense to load the localised Qt translation in my own application? Yes ist does. Also things like Message boxes will be translated Where would I see those? In file open dialogs for example? - or

[PyQt] (mainly windows) problems with pyqt

2007-10-20 Thread Markos Gogoulos
Hi all, a program I've written on pyqt4 behaves on a strange way on some windows systems, and I would like to ask your opinion, based on similar experience you might have faced. The application fetches some images and displays them on mainwindow. While this works as expected on linux, mac and