View Full Version : qabstracttablemodel/qtableview: vector data columns

15th September 2010, 13:51
hi, I had a working qt model/view architecture, all column data only contained int's or double, but now a column can contain also a 3D vector of int's of doubles. I want to split this vector in its components and show them in separate columns. The header part is ok though but I have no clue how to split the vector in my data() function. Should I introduce an userrole? and if so where?