Lykurg
19th April 2006, 19:07
Hi,
inside a class I have:
QGroupBox *gb = new QGroupBox(search_easy);
QHBoxLayout* hboxLayout = new QHBoxLayout(gb);
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
inside a class I have:
QGroupBox *gb = new QGroupBox(search_easy);
QHBoxLayout* hboxLayout = new QHBoxLayout(gb);
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