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

void QWidget::setSizePolicy ( QSizePolicy::Policy  horizontal,
QSizePolicy::Policy  vertical 
) [inline, inherited]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Sets the size policy of the widget to horizontal and vertical, with standard stretch and no height-for-width.

See also:

Definition at line 902 of file qwidget.h.

{ setSizePolicy(QSizePolicy(hor, ver)); }

Generated by  Doxygen 1.6.0   Back to index