[Qt-interest] How to make a list of checkboxes

yogesh upreti yogesh.upreti at gmail.com
Mon May 31 08:37:10 CEST 2010


Hallo Group,
I have seen this question being ask a lot of times in the group, but all the
discussion I saw in mail archeive talks about QCheckListItem which is ( I
think) not available in Qt 4.6, as I couldn't find any reference in
documentation.

So can someone please tell me how to make checkbox in QListView or
QListWidget? and also how to access checking and unchecking of Item.

I tried it using QListWidgetItem with
item->setFlags(Qt::ItemIsUserCheckable), but doing this is changing my item
to somehow disabled item and not chowing any checkboxes.

Thanks in Advance
Yogesh Upreti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100531/31b68bd3/attachment.html 


More information about the Qt-interest-old mailing list