S
S
Saharman2018-06-07 18:22:10
Qt
Saharman, 2018-06-07 18:22:10

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

1 answer(s)
A
Armenian Radio, 2018-06-07
@Saharman

Go even higher and look for the layout that lies in the parent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question