Hi!

Currently you can only store either a pointer or a 64bit integer
inside a QModelIndex.

Depending on the data the model is wrapping it can sometimes be quite
hard to store all required information in one of those elements.

What do you think, would it be reasonable to add something like
internalVariant to QModelIndex?

QVariant QModelIndex::internalVariant() const
QModelIndex QAbstractItemModel::createIndex(int row, int column, const
QVariant &) const

Nils
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to