Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How QObject got notified when children add in

$
0
0
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.

Viewing all articles
Browse latest Browse all 4972

Trending Articles