How QObject got notified when children add in
QML and Qt Quick
2
Posts
2
Posters
577
Views
1
Watching
-
Consider this qml file:
@CustomObject// inherts from QtObject
{
id: parent
QtObject
{
id: child_1
}
}@When instancing this qml script, how can "parent" got notified when "child_1" become its child? I want to make some connections in C++ code, to do a little extra things.
CustomObject is well defined in C++ and exported to QML environment.