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

force_model_update should notify QML about length changes #149

Closed
bramtayl opened this issue Jul 26, 2022 · 2 comments
Closed

force_model_update should notify QML about length changes #149

bramtayl opened this issue Jul 26, 2022 · 2 comments

Comments

@bramtayl
Copy link
Contributor

bramtayl commented Jul 26, 2022

There are probably a lot of AbstractVector methods that it would be nice if ListModel supported, including

  • splice!
  • deleteat!
@bramtayl bramtayl changed the title ListModel method requests force_model_update should notify QML about length changes Aug 16, 2022
@bramtayl
Copy link
Contributor Author

Alternatively, force_model_update could notify QML about length changes

@barche
Copy link
Collaborator

barche commented Oct 16, 2023

With the new JuliaItemModel all of this should be supported, see https://github.com/JuliaGraphics/QML.jl/blob/main/test/tableview.jl for an exhaustive example.

@barche barche closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants