-
Notifications
You must be signed in to change notification settings - Fork 40
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
generalise delegate property logic #61
Comments
whoozle
added a commit
that referenced
this issue
Jul 5, 2022
`model` is special - it holds delegate specific model data piece, and at the same time it's used in views to hold ListModel instance. At the time of the lookup, we can't say it's delegate or a property. For instance: ``` delegate: Item { property var row: model; } ``` is been (correctly - by definition of lookup_parent) resolved as parent.model (where parent = ListView) and model ends up being ListView.model instance, instead of model row. Although it could be possible to figure out after #61. See also PR #207, issue #501 and `model_row.qml` for details.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Presumably by adding some special property type, e.g.
Remove all name-hacks
The text was updated successfully, but these errors were encountered: