Beispiel #1
0
/*!
    Adds a non-stretchable space (a QSpacerItem) with size \a size
    to the end of this box layout. QBoxLayout provides default margin
    and spacing. This function adds additional space.

    \sa insertSpacing(), addItem(), QSpacerItem
*/
void QBoxLayout::addSpacing(int size)
{
    insertSpacing(-1, size);
}
Beispiel #2
0
void WBoxLayout::addSpacing(const WLength& size)
{
  insertSpacing(count(), size);
}