QAbstractItemView: add a note about ToolTipRole in dataChanged()
Qt::ToolTipRole is not honored by dataChanged() which may be a little bit surprising. Therefore add a small note about this behavior. Fixes: QTBUG-78726 Change-Id: Ic4361f55e55ab59d5bae2fdb98907a62055604c5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
46d21a3b34
commit
c27123d743
@ -3318,6 +3318,8 @@ void QAbstractItemView::update(const QModelIndex &index)
|
||||
|
||||
The \a roles which have been changed can either be an empty container (meaning everything
|
||||
has changed), or a non-empty container with the subset of roles which have changed.
|
||||
|
||||
\note: Qt::ToolTipRole is not honored by dataChanged() in the views provided by Qt.
|
||||
*/
|
||||
void QAbstractItemView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user