[PyQt] QSettings with QColor in PyQt

2011-04-12 Thread goocreations
I want to store and retrieve a QColor from QSettings. storing is no problem: self.settings.setValue("Color", myColor) But I can't figure out how to retrieve it again. In C++ you would just call .value(), but this is not possible in Python. Any ideas? -- View this message in context: http://ol

Re: [PyQt] QSettings with QColor in PyQt

2011-04-12 Thread Hans-Peter Jansen
On Tuesday 12 April 2011, 11:23:33 goocreations wrote: > I want to store and retrieve a QColor from QSettings. storing is no > problem: > > self.settings.setValue("Color", myColor) > > But I can't figure out how to retrieve it again. In C++ you would > just call .value(), but this is not possible i

Re: [PyQt] QSettings with QColor in PyQt

2011-04-12 Thread Goo Creations
cool, thank you. On Tue, Apr 12, 2011 at 1:24 PM, Hans-Peter Jansen wrote: > On Tuesday 12 April 2011, 11:23:33 goocreations wrote: > > I want to store and retrieve a QColor from QSettings. storing is no > > problem: > > > > self.settings.setValue("Color", myColor) > > > > But I can't figure out

[PyQt] QVector*D related compile failure in current PyQt snapshots

2011-04-12 Thread Hans-Peter Jansen
Hi Phil, there's a missing version conditional in qpyopengl_attribute_array.cpp resulting in compilation failures for certain Qt versions with current snapshots: g++ -c -pipe -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous

[PyQt] PyQt4 X64?

2011-04-12 Thread zhao_yunsong
is there 64bit PyQt4? 2011-04-13 zhao_yunsong ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt