Unsolved row or column count in QAbstractTableModel...
-
In the QAbstractTableModel, if there is a HeaderView of a Model or Model spanned with several different rows or columns, is there a way to know the number of original rows and the number of columns?
-
As pure virtual yes see http://doc.qt.io/qt-5/qabstractitemmodel.html#rowCount
-
int QAbstractItemModel :: rowCount (const QModelIndex & parent = QModelIndex ()) const
Does not the above function return the row count of the data? I want to know the row or column count of headView.
-
Why should the headers have a different row/column count than the data?