mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-16 14:15:57 -06:00
[GH-ISSUE #84] Add support for QQmlPropertyValueSource #53
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cbelyaev on GitHub (Dec 12, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/84
Hi
How can I help with implementing this?
http://doc.qt.io/qt-5/qtqml-cppintegration-definetypes.html#property-value-sources
@pauldotknopf commented on GitHub (Dec 12, 2018):
That would be an awesome add! I think its implementation should be straightforward as well.
Then, we'd add the
QQmlPropertyValueSourcebase to the existingNetValue(here) type, which will implement theQQmlPropertyValueSource::setTarget(QQmlProperty)method and send it to .NET.We'd also have to extend the
NetTypeInfo(here) to have abool IsPropertyValueSourcethat will be used inNetValueto log if someone is trying to use .NET Object as a value source and it doesn't implement the requiredIQmlPropertyValueSource.NET interface.@pauldotknopf commented on GitHub (Dec 12, 2018):
I'm marking this issue as "todo", as I will likely implement it at some point in the future.
However, I'm open to pull requests. I think this would be perfect for new comers. It's not too big of a change and it exposes you to a comfortable amount of the internals.