Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Currently it is only possible to have editors for lists of id based references in the Property Editor via the EditableListView component. It is not possible to edit lists of value types like QUrl and int. There are properties in Qt Quick 3D that are unable to be tooled due to this missing functionality:
https://doc-snapshots.qt.io/qt6-6.5/qml-qtquick3d-resourceloader.html#meshSources-prop
https://doc-snapshots.qt.io/qt6-6.5/qml-qtquick3d-helpers-lodmanager.html#distances-prop
ResourceLoader::meshSources is a list of url's, and in this case the editor control would be a List of UrlChoosers filtered to *.mesh files. I tried to create a EditableUrlList control here unsuccessfully: https://codereview.qt-project.org/c/qt/qtquick3d/+/453450/5/src/quick3d/designer/ResourceLoaderSection.qml#43
LodManager::distances is a list of floats, and would either be a list of SpinBoxes or a Single slider with multiple slider controls (a control that doesn't exist).