Hi,

inside a class I have:
Qt Code:
  1. QGroupBox *gb = new QGroupBox(search_easy);
  2. QHBoxLayout* hboxLayout = new QHBoxLayout(gb);
To copy to clipboard, switch view to plain text mode 
And now I want to chance the direction of the QGroupBox, without using hboxLayout!

There is an gb->layout(), but that only return a QLayout, not my hboxLayout, which I need. Is it possible to recive a pointer to the QHBoxLayout hboxLayout, if one does not know its name (in my example 'hboxLayout')?

Thanks

Lykurg