Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Not Registered For Qml #51

Open
RyanCookeYpb opened this issue May 8, 2018 · 1 comment
Open

List Not Registered For Qml #51

RyanCookeYpb opened this issue May 8, 2018 · 1 comment

Comments

@RyanCookeYpb
Copy link

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.

@oKcerG
Copy link
Owner

oKcerG commented May 11, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants