Details
-
User Story
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
QDS Berlin - 2022 Week 07/08, QDS Berlin - 2022 Week 09/10, QDS Berlin - 2022 Week 11/12, QDS Berlin - 2022 Week 15/16, QDS Berlin - 2022 Week 17/18, QDS Berlin - 2022 Week 19/20, QDS Berlin - 2022 Week 23/24, QDS Berlin - 2022 Week 25/26, QDS Berlin - 2022 Week 27/28, QDS Berlin - 2022 Week 29/30
Description
Currently empty application template created with wizard doesn't contain any placeholder for adding functions in the .qml file. This easily leads to confusion when users are trying to add functions to .ui.qml file which should be purely declarative.
One option would be to add new wizard that creates also some example function to App.qml or some other appropriate .qml file.
Also a disclaimer comment should be added to the beginning of (Screen01).ui.qml file explaining that functions are not allowed in .ui.qml file.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QDS-5962 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
396242,8 | QmlDesigner: Add comment to .ui.qml files | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
397377,2 | QmlDesigner: Add comment to all .ui.qml files in wizards | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
397656,26 | QmlDesigner: Add default Connections to wizard template | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
397863,21 | QmlDesigner: Add a wizard for a ui.qml .qml file pair | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |