C++ (Qt)class Top1: public QObject{}class parentChild: public QObject{} class Child: public QObject{}Top1 objTop1;parentChild objparentChild1,objparentChild2,parentobjChild3;Child objChild3_1,objChild3_2;
objTop1|_____ |_objparentChild1 |_objparentChild2 | |__objChild2_1 | | |_objparentChild3 |___objChild3_1 |___objChild3_2