Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119468

ListPropertyAssignBehavior needs a sample code

    XMLWordPrintable

Details

    Description

      link: https://doc.qt.io/qt-6/qtqml-documents-definetypes.html#listpropertyassignbehavior

      i think it needs some code snippets of qml to show how exactly "Append" "Replace" and "ReplaceIfNotDefault" work.

      currently it is difficult to imagine how it works from the perspective of readers.

      QML_LIST_PROPERTY_ASSIGN_BEHAVIOR_APPENDQML_LIST_PROPERTY_ASSIGN_BEHAVIOR_REPLACE, and QML_LIST_PROPERTY_ASSIGN_BEHAVIOR_REPLACE_IF_NOT_DEFAULT also don't have descriptions on it.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes