Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
Description
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