Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defaultValue =QColor(0, 0, 255)
- value = QColor(100,100,100)
- QSettings(pluginName, pluginName).setValue(name, [value.red(),value.green(),value.red()])
- QSettings(pluginName, pluginName).value(name, defaultValue, type=list)
- Traceback (most recent call last):
- File "<input>", line 1, in <module>
- TypeError: unable to convert a QVariant of type 11 to a QMetaType of type 300
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement