Answer the question
In order to leave comments, you need to log in
How to add a widget to a parent?
There is a task to add a widget to the parent. I call this->parent(), but I can't use addWidget anymore. The debugger says QWidget(0x55fde723f050, name = "verticalLayoutWidget") is returned. Finds really right. But how do you add it?
Answer the question
In order to leave comments, you need to log in
Go even higher and look for the layout that lies in the parent.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question