PDA

View Full Version : QAbstractTableModel and tooltip



mpi
29th March 2010, 19:15
Hi,

I am subclassing a QAbstractTableModel which is being displayed in a QTableView. How do I display tooltips for the individual table cells displayed in the QTableView?

Best regards,

Mads

Lykurg
29th March 2010, 19:58
See QAbstractItemModel::data() with Qt::ToolTipRole.

Lykurg