QHboxLayout is a subclass of QLayout, so you can use any method that QLayout has, for example QLayout::addWidget
QHboxLayout is a subclass of QLayout, so you can use any method that QLayout has, for example QLayout::addWidget
Thanks a lot for your help.
It works now. I just added because the isVisible() used to return false
Bookmarks