Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3046

Fixes to Datainput metadata API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt 3D Studio 2.3 BETA1
    • None
    • 4c622dd9ead44f33ad7996fbf86f995f8401bd6a , 35c82eba2df4e8c6fa8e9a9420a11923e7c99ddb

      Runtime API fixes:

      • C++: Q3DSPresentation::dataInputs() and dataInputs(QVariant &metadatakey), both returning QVector<DataInput*>. QVariant Q3DSDataInput::metadata(QVariant &key) and Q3DSDataInput::setMetadata(QVariant &key, QVariant &value). QVariantList Q3DSDataInput::metadataKeys().
      • QML: getDataInputs() that is a wrapper to datainputs(), returns QVariantList. Wrappers that match C++ setMetadata() and metadata(key) (all return / inputs are QVariants). QML wrapper getMetadataKeys() for C++ metadataKeys(), returns QVariantList. 
      • Runtime internal : change metadata entry to use QHashMap i.e. allow multiple key-value pairs per datainput.

      Editor:

      • change DI dialog to allow entering multiple metadata key-value pairs

      Common:

      • writing and parsing of UIA files to support full metadata maps instead of single tags

      NOTE: On QML side, metadata property changes are only emitted for changes made through this datainput object. If metadata is changed elsewhere, property change will not be emitted (but current value will be available by calling getter explicitly). This behavior matches all other datainput properties which are also managed centrally by Q3DSEngine (value, min/max...).

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

            jakangas Janne Kangas
            jakangas Janne Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes