I use it as the
Created many widgetA mainwindow, widgetB, in child form frmA addwidget widgetA and widgetB, after use, child form frmA destructor,
Then, I'll find widgetA and widgetB were destructor, feel a bit not reasonable
CodePudding user response:
In the create is not important, important is who is its parent window, because when the parent window destructor will traverse to the child window is destroyedCodePudding user response:
After joining layout, its parent window becomes the parent window layout, so they are destructor, reasonable,CodePudding user response: