Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_gui_widgets_qsplitter.cpp

//! [0]
QWidget *widget = splitter->widget(index);
QSizePolicy policy = widget->sizePolicy();
policy.setHorizontalStretch(stretch);
policy.setVerticalStretch(stretch);
widget->setSizePolicy(policy);
//! [0]

Generated by  Doxygen 1.6.0   Back to index