Improve sorting

This commit is contained in:
eelke 2022-04-02 08:33:48 +02:00
parent 06504ecc1f
commit 2c5a42f45d
4 changed files with 76 additions and 30 deletions

View file

@ -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
};