[PyQt] QSettings with QColor in PyQt

goocreations goocreations at gmail.com
Tue Apr 12 10:23:33 BST 2011


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<QColor>(), but this is not possible in Python.

Any ideas?
-- 
View this message in context: http://old.nabble.com/QSettings-with-QColor-in-PyQt-tp31377040p31377040.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list