CustomWidgetObjectNames = design-time objects.
Q_PROPERTY(QList<CustomWidgetObjectNames *> points READ getpoints )
QList<CustomWidgetObjectNames *> getpoints() const {
return sampleobjectlist;
}
private :
QList<sampleobjectlist *>
CustomWidgetObjectNames = design-time objects.
Q_PROPERTY(QList<CustomWidgetObjectNames *> points READ getpoints )
QList<CustomWidgetObjectNames *> getpoints() const {
return sampleobjectlist;
}
private :
QList<sampleobjectlist *>
It feels like a bit home-worky, but you would need something like the code below. I have never tested it myself, and I have not even tried to compile it. However, this should be a good starting point to begin with.
dynamicpropertyplugin.h
dynamicpropertyextension.h
dynamicpropertyplugin.cpp
dynamicpropertyextension.h
dynamicpropertyextension.cpp
Since it is a designer plugin, you will need to assign the following configuration to qmake in the projet file: