Hi,
maybe you can just return QVariant() for CheckStateRole/DecorationRole in the data() function of your model if you dont want to show the checkboxes. ... just a guess. Dont know if it works.
Hi,
maybe you can just return QVariant() for CheckStateRole/DecorationRole in the data() function of your model if you dont want to show the checkboxes. ... just a guess. Dont know if it works.
onamatic (8th January 2009)
Hi janus,Originally Posted by janus
Many thanks for the suggestion; unfortunately those flags only affect whether a checkbox is checked and what to render as an icon respectively. Neither affect whether a checkbox is drawn or not.
Bookmarks