Passing class object inside Q_PROPERTY and bind it with the QML file
-
Hello,
Is it possible to pass a class instance to Q_PROPERTY and bind it with the QML file. Also if that happens, how can we get the members defined inside the class in the QML file.
Ansif
-
Yes, I think it is possible, If your class is a QObject-dervied class.
-
[quote author="Vincent007" date="1394117877"]Yes, I think it is possible, If your class is a QObject-dervied class.[/quote]
Can you give me an example ?