PDA

View Full Version : How to add different columns and column values in Column view?



Gokulnathvc
3rd May 2011, 14:27
How to add different columns and column values in Column view?

wysota
4th May 2011, 01:52
Would you care to explain what you mean?

Gokulnathvc
5th May 2011, 12:13
Adding column names and the values to be entered in it.

wysota
5th May 2011, 15:03
I still don't understand what you mean. What do you consider a column name and column value in column view? If you want to add a header to the view displaying a particular column then subclass QColumnView and reimplement createColumn() to create a custom view (possibly a QListView subclass) that will contain a header. I have no idea what you mean by "column value" though.