Whats the difference between...? (QModelIndex stuff)
General and Desktop
3
Posts
2
Posters
1.3k
Views
1
Watching
-
Short question: when reading the "SpinBox Delegate" example I noticed the line "int value = index.model()->data(index, Qt::EditRole).toInt();" and remembered this question I had some os these days:
What is the difference between(?):
- index.model()->data(index)
- index.data()
Thanks in advance.
[]
Carlos