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

Value types do not support enums properly.

    XMLWordPrintable

Details

    • ae6f59d8dffc1a0569640e374dde01ed84f9c542

    Description

      For example, QmlFontValueType has enums for properties like capitalization.

      In QML, it is not possible to use the enum value.

      Text

      { font.capitalization: "SmallCaps" }

      works.

      Text

      { font.capitalization: Font.SmallCaps }

      does not work.

      The QEasingCurve value type has this issue as well.

      Attachments

        Issue Links

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

          Activity

            People

              aakenned Aaron Kennedy
              bodson Yann Bodson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes