Whats the difference between...? (QModelIndex stuff)
-
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