[Qt-interest] checkbox in table view
Andre Somers
andre at familiesomers.nl
Mon Sep 27 08:53:54 CEST 2010
Op 27-9-2010 8:45, linux newbie schreef:
> Hi,
>
> I didn't override setData method in my delegate. Hence, when paint
> event is called Qt::Unchecked is keep on calling. Now I fixed my
> delegate class and things are working as expected.
I hope you mean the setData method in your model, not your delegate? The
model code you showed earlier returned a fixed value for the check box.
If you want it to change, then this obviously needs to be fixed.
André
More information about the Qt-interest-old
mailing list