Hello
I am building an application using PyQt and SQLite3.
I need the equivalent of a boolean datatype which is not available in sqlite so I am using an integer field. I have a QCheckbox on my dialogue which is used to display/set the value of this field using a QDataWidgetMapper.
My question is do I need to overide data, setdata in my model so that the value of this field is displayed/stored correctly in the dialogue. At the moment I am getting what looks like html. I am assuming that is because the default delegate can't interpret the integer field correctly for the checkbox.
Thanks in advance.
Bookmarks