Embarassing to ask, but how would I access the top left corner header item in a QTableWidget that has both a horizontal and a vertical header? This is the header item they have in common. I can use
QTableWidget::setHorizontalHeaderLabels ( const QStringList & labels )
To copy to clipboard, switch view to plain text mode
and
QTableWidget::setVerticalHeaderLabels ( const QStringList & labels )
To copy to clipboard, switch view to plain text mode
but they don't seem to provide access to the item at the corner. Nor do
QTableWidgetItem * QTableWidget::horizontalHeaderItem ( int column ) const
To copy to clipboard, switch view to plain text mode
and
QTableWidgetItem * QTableWidget::verticalHeaderItem ( int row) const
To copy to clipboard, switch view to plain text mode
Perhaps accessing a header itself via
QHeaderView * QTableView::horizontalHeader () const
To copy to clipboard, switch view to plain text mode
or
QHeaderView * QTableView::verticalHeader () const
To copy to clipboard, switch view to plain text mode
but then what to do with it?
thanks!
Bookmarks