Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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?
@Pada_
As pure virtual yes see http://doc.qt.io/qt-5/qabstractitemmodel.html#rowCount
@koahnig
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?