[Qt-interest] How to disable vertical header items in QTableWidget ?

Stephen Collyer scollyer at netspinner.co.uk
Fri May 14 13:05:01 CEST 2010


I have a QTableWidget with its default numerically labelled vertical header
items.
I wish to ensure that these don't participate in the selection behaviour
that I have
set for the widget  (which is QAbstractItemView::SelectRows).

I've tried to set the QTableWidgetItem flags for the vertical header in the
ctor, but
I'm getting core dumps (in a Linux build) when I do so.

Can someone suggest when/how I can safely access these items ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100514/fc163edd/attachment.html 


More information about the Qt-interest-old mailing list