Named separately: sub-interface A, sub-interface B, control b of B to be modified
purpose:在子界面A中修改B的控件
- Object of B declared in Ah
- Instantiate the B object in A.cpp
- Implement the public method funB() in B.cpp, pass the content to be modified as a parameter, and use B's own ui to modify the content of the control in the method.
- By calling the funB() method of B in A.cpp