Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
Qt Creator 1.8.4. 2010-06-01 snapshot
Description
Several of the documentation related to constants used for property values in QML, such as Text.wrapMode (http://doc.qt.nokia.com/4.7-snapshot/qml-text.html#wrapMode-prop) do not provide enough information to produce a working code.
In case following the documentation, the code below should work.
Text {
wrapMode: WordWrap
}
But instead the "Unable to assign [undefined] to int wrapMode" message is given.
It would be useful to state the type of the each property, here "int", and link the constants to where ever they are available. Would it be Qt global object in this case?