コード例 #1
0
ファイル: qboxlayout.cpp プロジェクト: FilipBE/qtextended
/*!
    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);
}
コード例 #2
0
ファイル: WBoxLayout.C プロジェクト: bvanhauwaert/wt
void WBoxLayout::addSpacing(const WLength& size)
{
  insertSpacing(count(), size);
}