Open RyanCookeYpb opened 6 years ago
The qpm package is out of date, I'm sorry about about that. Try installing the lib directly by cloning the repo : https://github.com/oKcerG/SortFilterProxyModel#without-qpm-
RoleSorter
is capable of comparing variant between each others, without converting them to strings. Out of the box it works on numeric types, date, time, datetime and stringlist.
Hi The widget looks awesome and is a life saver once it works. The only thing is when i use the copy and pasted code with just changing out the model for my list model it won't work. It gives me this error: Cannot assign to non-existent property "sorters"
I've included the vendor/vendors.pri already and included the qml import but it still won't work properly. It's like its not registered by qml as the sorting and filters properties both have red lines under them.
And off topic but in the near future are you planning on implementing a Date or Other types of sorters? At the moment I only see StringSorter.
Thank you and your help will be much appreciated.