[Qt-interest] checkbox in table view

linux newbie linux.newbie79 at gmail.com
Mon Sep 27 08:45:55 CEST 2010


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.

Thanks

On Mon, Sep 27, 2010 at 3:56 PM, linux newbie <linux.newbie79 at gmail.com> wrote:
> Hi,
>
> I also OR'ed flags with Qt::ItemIsEditable. Still I couldnt able to
> check/uncheck checkbox.
>
> Thanks
>
> On Mon, Sep 27, 2010 at 3:51 PM, Andre Somers <andre at familiesomers.nl> wrote:
>>  Op 27-9-2010 7:32, linux newbie schreef:
>>> Hi,
>>>
>>> Thanks for your reply.
>>>
>>> I tried the following code, but my check box was not editable. Let me
>>> know, the mistake I made.
>> There is also a flag that determines if an item is editable...
>>
>> André
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>




More information about the Qt-interest-old mailing list