Is it possible to have a statustip message when pointing over a table header?
I am using a custom QTableView with a custom model. After setting viewport()->setMouseTracking(true) I get a status tip for every cell of the table but not for the headers.
I have something like:
QVariant MyModel::headerData ( int section, Qt::Orientation orientation, int role) const {
if (role == Qt::StatusTipRole) {
qDebug() << "!!! at header stuff !!!";
return tr("My status tip test")
....
}
....
}
I can never get that log message :-(
any ideas????
Bookmarks