I am working on making my own designer widget that looks and functions like qt. But now I needed to know how the property is created. I knew we can get the properties of an widget using QMetaObject
and QMetaProperty
but my question is will I be able to get the class name of each property. Like object name property comes from QObject
and geomentry property comes from QWidget
. Is it so that i should hard code myself to model or is there a way to get the classInfo from property. I have attached the image which im trying to achieve any response or related post is appreciated.
thanks,