does index.data(Qt:isplayRole).toString() return something?
what you will see in console if you execute this code?
Qt Code:
... qDebug() << index.data(Qt::DisplayRole).toString(); qDebug() << index.data(Qt::EditRole).toString(); ...To copy to clipboard, switch view to plain text mode
Bookmarks