GadgetDataModel Example how Qt gadget metadata can be used to edit custom struct Metadata is used to expose custom structure data in a Qt data model. This helps answear question here