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

void QBoxLayout::addStretch ( int  stretch = 0  )  [inherited]

Adds a stretchable space (a QSpacerItem) with zero minimum size and stretch factor stretch to the end of this box layout.

See also:
insertStretch(), addItem(), QSpacerItem

Definition at line 1031 of file qboxlayout.cpp.

References QBoxLayout::insertStretch().

Referenced by Q3Wizard::layOutButtonRow(), QStatusBar::reformat(), and Q3TabDialog::setUpLayout().

{
    insertStretch(-1, stretch);
}


Generated by  Doxygen 1.6.0   Back to index