Priority: Not Evaluated
Affects Version/s: None
Fix Version/s: None
Component/s: QML: Tooling
Generator that outputs a modules UI layout files (specifics & section files) for the property editor. The generator reads a modules .qmltypes file and outputs the boilerplate UI layout. This output should then be manually inspected and tweaked.
This is was normally done manually for every variable in a module. Adjusting the general property editor UI layout will take a long time when done manually.
Design studio's property editor has two files, specifics and section.
Example of CustomMaterialSpecifics.qml
Example of custom material variable in CustomMaterialSection.qml
The generator will create these files and will output the examples given above. It will fill the 'scope' and 'model' automatically if the data is available in the modules .qmltypes file.
The tooltip will also be automatically extracted from the module's source files.
Most of the needed code can be automatically generated from the .qmltypes and source files. All of the information is not available for the generator like default value, min and max values. This is why the output should be manually inspected and the missing information filled.
Having access to this generator will make implementing a module to design studio faster and easier.