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

Additional type support for qsTr() in ListElement

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              glwatson Glenn Watson
              brasser Michael Brasser (closed Nokia identity) (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes