QVariant QStandardItem::data ( int role = Qt::UserRole + 1 ) const [virtual]
Returns the item's data for the given role, or an invalid QVariant if there is no data for the role.
Note: The default implementation treats Qt::EditRole and Qt::DisplayRole as referring to the same data.
Does it mean QStandardItem must be inherited to a new class that separates edit and display roles?
How can I do that if it is the case?
Thank you!




Reply With Quote

Bookmarks