http://code.woboq.org/qt5/
Since you want to add a column, you columnCount() would probably first get the value from the base class and then add 1
In data() you would then check if index.column() is your column and if not, delegate to base class as-is.Qt Code:
{ }To copy to clipboard, switch view to plain text mode
Cheers,
_





Reply With Quote
Bookmarks