[Qt-interest] Colum Names form QTreeView

Rob Simmermon rob.simmermon at simmtechsolutions.com
Mon May 10 18:47:20 CEST 2010


This shouldn't be this hard, but for the life of me can't figure out  
how to get the column heading titles from a QTreeView that is set with  
a model.

I've tried:

tvTreeView->model()->record().fieldName(columnCounter)

Only to get:

src/TreeWidgetUtilities.cpp:422: error: 'class QAbstractItemModel' has  
no member named 'record'



Rob Simmermon
411 N. Blanche Ave.
Madison, SD  57042
E - rob.simmermon at simmtechsolutions.com
T - (605) 868-9404
F - (866) 260-2036





More information about the Qt-interest-old mailing list