Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
QDS 4.4
-
None
Description
I think it would be a good idea to allow users to add annotaions in the Properties View.
I expect "Edit annotation" or "Edit note"(The word "annotation" might not be a familiar term for non-coders. So we may need to use the word which is generally understandable, such as "Note") or something to be added to the dropdown which currently contains "Reset" "Set Binding" "Export Property as Alias" and "Insert Keyframe."
When an annotation is added, it gets generated as a comment in QML code.
In the example beflow, I want to add a comment that this "speed"'s unit is kph. If it can be added in Properties view and gets generated in the Code as a comment, we can strengthen the message we have, that QDS being a means of communication between designers and coders.
Also, the comment added for the property in Code editor should also be reflected to the Properties View, as in the designer can check the description(comment) for a certain property, added by the developers in the code, in Properties View, both in "Edit annotation" and also I think it would be nice if hovering a mouse cursor over the property name shows a tooltip with the annotation.