Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9090

Missing Property Editor Component for Lists of Value types

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Property View
    • None

      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).  

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thohartm Thomas Hartmann
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes