How to get the default value of a property
I'm reading all properties of different widgets with the QMetaObject and QMetaProperty classes.
Now I'm trying to find out wich property has been changed.
But with the QMetaProperty::read() I only can get the current value of a property.
Does any one know, how I can get the default value of a property or which property has changed?
VRonin last edited by VRonin
Thank you for your fast answer.
Sorry, that doesn't work in my case, because I can't connect every property to a changed slot.
What I want to do is, to get for any arbitrary property the default value.
VRonin last edited by
There is no concept of "default value".
The whole Qt Meta-Object system (and, most importantly, QtQuick) rely on the
NOTIFYsignal in the property to detect when a property changed