aboutsummaryrefslogtreecommitdiffstats
path: root/include/qdotnetstatic.h
Commit message (Collapse)AuthorAgeFilesLines
* Use more generic QML engine typeMiguel Costa2025-11-281-2/+2
| | | | | | | | Now using QQmlEngine instead of the derived type QQmlApplicationEngine. No behavior change. This is only relevant when using Qt Quick Test. Change-Id: I93759541b975400de6946c72a150f94cc226ebd8 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Remove unused codeMiguel Costa2025-10-241-9/+4
| | | | | | | | | | The following types are no longer used: * IQModelIndex * IQVariant * QDotNetAbstractListModel Change-Id: Ibf871362382dab4cc9480701c996bb0445f0c1d1 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Use SpinWait to sync with Adapter initMiguel Costa2025-10-231-2/+0
| | | | | | | | | * Moved sync code to Adapter.Static (was in IQQmlApplicationEngine) * Replaced Thread.Sleep loop with SpinWait * Timeout after 3 secs without sync Change-Id: Id9f59def1251b5d15e8bdef3dd4d1474031a4cd8 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Make QML engine accessible in C#Miguel Costa2025-09-241-0/+4
| | | | | | | | This will allow QML files and generated element types to be loaded from C# code, e.g. from the Program.Main() entry-point. Change-Id: Ia7ceecccf5b36ed43dab08b4a66694fbe32b49de Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* RefactorMiguel Costa2025-06-251-0/+53
Includes: * Implement QDotNetNativeInterface: specialization of QDotNetInterface that wraps a pointer to native data. * Implement IQVariant: QDotNetNativeInterface that wraps a QVariant. * Implement IQModelIndex interface: QDotNetNativeInterface that wraps a QModelIndex. * Implement QDotNetAbstractListModel base class: allows extending QAbstractListModel in C#. * Add class QDotNetDelegate * Remove old examples Change-Id: I2eb21df29e1cf9379e14a64d5174eb934b5bf18a Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>