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

Additional type support for qsTr() in ListElement

XMLWordPrintable

      It would also be very useful to add script support for the following use case:

      ListElement

      { name: qsTr("Go to root"); cost: 2.45; script: <script> }

      ListElement

      { name: qsTr("Delete"); cost: 2.45; script: <script> }

      ListElement

      { name: qsTr("Search from here"); cost: 2.45; script: <script> }

      I also tried to wrap the ListElement contents in a separate QtObject and assign the new object to this. That didn't work either since ListElement cannot contain nested elements.

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

            qtqmlteam Qt Qml Team User
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes