aboutsummaryrefslogtreecommitdiffstats
path: root/examples/UserView/UserViewQml/Main.qml
Commit message (Collapse)AuthorAgeFilesLines
* Implement QML property semanticsMiguel Costa2025-10-151-3/+2
| | | | | | | | | | | | | | QML will always call getter functions for object properties. This will result in the creation of duplicate "live" C++ wrappers for the same C#, one wrapper per reference to the property. To work around this, the result of reference-typed properties (i.e. anything not considered a built-in type) will be cached in the wrapper. Subsequent calls to the property getter will return the cached instance. The cache is updated in calls to the setter function (if any), and is cleared on notification of property change. Change-Id: I24dc08676c7c87093f0d8e77b775ec6dab9a8bfd Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update UserView exampleMiguel Costa2025-10-131-43/+55
| | | | | Change-Id: Id974ea9979d9dda99b78a5e70e08d6985088ce07 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Add basic types to IQVariantMiguel Costa2025-09-291-1/+2
| | | | | Change-Id: I32b02ac2d4aa5aa09d8da740560d83b7b31001e4 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Add UserView exampleMiguel Costa2025-07-021-0/+169
Change-Id: Ie77d0156c9e54be57547c160c3a2b2934ce050a8 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>