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

Enums in QML are seldom demonstrably documented, missing the Element prefix

XMLWordPrintable

      Enums in QML are often documented just by their enum name. This causes people to misunderstand their intended use, which is prefixed by ElementName.

      This results in incorrect use;

      flickDirection: HorizontalFlick // causes  "Unable to assign [undefined] to int" when QML is parsed
      

      While the correct usage is;

      flickDirection: Flickable.HorizontalFlick // Correct use
      

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

            wallison Warwick Allison (closed Nokia identity) (Inactive)
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes