I didnt work with Q_GADGET yet but as I understood from description this would allow to use such function like setProperty(const char *name, const QVariant &value) and return the QVariant value with property(const char *name) const for plotted items.

I think that would be great