Improve sorting
This commit is contained in:
parent
06504ecc1f
commit
2c5a42f45d
4 changed files with 76 additions and 30 deletions
|
|
@ -23,6 +23,7 @@ enum CustomDataRole {
|
|||
CustomDataTypeRole = Qt::UserRole, ///< Requist the basic type of the value
|
||||
CustomReferencedTypeRole, ///<
|
||||
CustomDataMeaningRole,
|
||||
CustomSortRole, // return data in a form that will sort correctly
|
||||
// Add other enum before this one as we might want to have multiple hidden values
|
||||
FirstHiddenValue, ///< Used to request value from a model which is not handed to the view
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue