-
Notifications
You must be signed in to change notification settings - Fork 106
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
Models #215
base: develop
Are you sure you want to change the base?
Models #215
Conversation
Ping? |
Oh, sorry, I didn't realize this was ready for review. I will try to get to it this week, this weekend at the latest. |
ec4d7fd
to
2bbc873
Compare
It's not required on your part, but if you have time, I'd like to see some unit tests that both test and demonstrate what you've done. By the way, good work! |
It looks like the native code is failing a build on Windows. |
|
Merged. |
looks like this builds now |
How does this change the API of working with models? |
This exposes the usual slew of Qt model classes, which allows them to be used from C#. I would recommend reading Qt docs: https://doc.qt.io/qt-5/model-view-programming.html |
I've been using those for a decade so I'm pretty familiar, but there is no documentation here - add examples how it would look? |
585f8d9
to
841ad96
Compare
doc comments added |
841ad96
to
a7daec0
Compare
thank you |
This PR implements the minimum recommended APIs necessary to implement read-only models in C# that can interop with QML, handling 90% of usecases for models.
Depends on qmlnet/qmlnet-native#1.