Re: [PyQt] QPyNullVariant

2012-07-26 Thread Wilbert Berendsen
Op Mon, 16 Jul 2012 12:11:11 +0100 Phil Thompson p...@riverbankcomputing.com schreef: On Fri, 13 Jul 2012 15:49:48 +0200, Rodolfo Zitellini xhero...@gmail.com wrote: The offending code is in setup.py, when it reads the language: language = QSettings().value(language, ) print

Re: [PyQt] QPyNullVariant

2012-07-26 Thread Phil Thompson
On Thu, 26 Jul 2012 14:21:57 +0200, Wilbert Berendsen wbs...@xs4all.nl wrote: Op Mon, 16 Jul 2012 12:11:11 +0100 Phil Thompson p...@riverbankcomputing.com schreef: On Fri, 13 Jul 2012 15:49:48 +0200, Rodolfo Zitellini xhero...@gmail.com wrote: The offending code is in setup.py, when it

[PyQt] Model/view: values of type Decimal not shown

2012-07-26 Thread Sibylle Koczian
Hello, I don't know how to get numeric data from my model to my GUI, if they aren't floats but decimal.Decimal. In the following example the last column of the view and the last QLineEdit of the form both stay empty. The model data are printed to the console and it can be seen that the model